Results 1 to 4 of 4

Thread: Cannot format NTFS HDD that came from WIN10

  1. #1
    Join Date
    Sep 2021
    Beans
    2

    Smile Cannot format NTFS HDD that came from WIN10

    So, I recently migrated to Linux from Windows, and I have two storage devices, a ssd which holds the ubuntu installation, and a hdd which I would like to use for whatever. I used both of them in Win10, ssd was the install drive and hdd whatever drive. I didn't format the hdd during ubuntu installation because I needed some files in it. When using lsblk command the hdd is listed as 'sda' but no other info, just 'sda'. The disks app shows it as a 4gb disk (it's actually 1tb) and the assessment is "Disk is OK, one bad sector". The mkfs command outputs 1 warning: "could not read block 0: Input/output error", and also "Writing superblocks and filesystem accounting information: mkfs.ext4: Input/output error while writing out and closing file system". The mkfs command but for NTFS outputs "/dev/sda is entire device, not just one partition. \n Refusing to make a filesystem here!". I also went for the dd command which outputted "writing to /dev/sda: Input/output error \n 1+0 records in \n 0+0 records out". Help, please?
    Last edited by vulpes7k; September 28th, 2021 at 05:05 PM. Reason: Solved

  2. #2
    Join Date
    Jun 2014
    Beans
    7,382

    Re: Cannot format NTFS HDD that came from WIN10

    The mkfs command but for NTFS outputs "/dev/sda is entire device, not just one partition. \n Refusing to make a filesystem here!"
    I'm not familiar with 'Disks' but have you tries getting the output from fdisk, gdisk or gparted to see if that software shows the correct drive size? Gparted is on the Ubuntu install medium (USB or DVD) The error above indicates you need a partition on the device in order to create a filesystem. Not sure why that happens but it is simple enough to create a partition and then create a filesystem. Try that to see if it works.
    Last edited by yancek; September 29th, 2021 at 12:59 PM. Reason: correct info

  3. #3
    Join Date
    Sep 2021
    Beans
    2

    Wink Re: Cannot format NTFS HDD that came from WIN10

    That was precisely it, I was able to create a partition and then mount it, you helped me a lot! Thank you very much.

  4. #4
    Join Date
    Jul 2019
    Location
    Beauvais France
    Beans
    157
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Cannot format NTFS HDD that came from WIN10

    I believe the mistake was that you don't format a HD (sda)
    You first have to create at least a partition (sda1,sda2, etc)
    Happy user of Ubuntu-20.04 on a Beelink BT3pro mini PC

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •