I fully formatted a hard drive in NTFS on Linux from a completely empty (zeroed) drive and it is not recognized by Windows 10. It is not listed in the Windows File Explorer nor with the fsutil fsinfo drives
command. However it is listed in the disk management utility and in the device manager :
When I try to click on delete the volume it even says "The selected partition wasn't created by Windows". Windows see that it is a GPT partition table but doesn't seem to see that it is a NTFS file system. I have others GPT/NTFS SATA hard drive connected and it works.
Here are the steps I made for formatting the hard drive on Linux :
- I cleared the HDD with zeroes with Gnome Disk Utility
- I used Gparted to create a GPT partition table
- On Gparted I created a single "unformatted" partition on the HDD taking the whole space
- I used the mkfs.ntfs command to create the NTFS file system like that :
mkfs.ntfs -c 2097152 -f /dev/sdg1
(2097152 bytes = 2 MiB and it is the maximum cluster size indicated in the mkfs.ntfs man page)
I know I could just delete the partition and recreate it with Windows but I'd like to know why a NTFS partition formatted on Linux isn't recognized by Windows. Do I have made a mistake or miss an important step ?
This kind of questions seems to have been already asked but either they are very old or the answer just suggest to reformat it on Windows or it wasn't even answered at all or it wasn't exactly like my problem. So because I'd like to know how to format a working hard drive in NTFS on Linux I asked a new question.
mkfs.ntfs
command on Linux to set a NTFS filesystem on the partition 1 as mentioned above.