Inconsistent filesystems from parted and fdisk
This is my first post. Thank you all in advance for your help and your patience.
I've set up an old machine as a dual boot Win7/Ubuntu 12.04 machine. I've partitioned the single hard drive for Windows and Ubuntu to have their own partitions, with a shared NTFS partition (of 15 GB) intended for Downloads, Documents, etc. Unfortunately Windows doesn't recognize the filesystem on the shared partition. I used parted (see below) to verify that I had actually set up the filesystem (using mkntfs). I later used fdisk (see below) to view the id of the partitions. Then I noticed that parted indicates that the 15 GB partition is NTFS, while fdisk indicates that it's a Linux partition. Notice, too, that the filesystem for the second partition is inconsistent. I've read (http://www.linuxquestions.org/questi...6/#post5328291) that the information given by fdisk isn't always correct. My questions are: Which of these (parted or fdisk) is more likely correct, and how do I know? And could whatever it is that's causing this problem be the reason Windows isn't recognizing the filesystem? Thanks for your help! Code:
$ sudo parted /dev/sda print Code:
$ sudo fdisk -l /dev/sda |
Hi
That's weird, but I saw something similar last week on my PC (not involving Windows) when using GPT parts. I would just go into Windows and format the shared partition from there. p.s.: Quote:
|
fdisk is just looking at the "Id" field in the partition table. The "83" there indicates Linux, but MBR partition type is almost completely ignored** in Linux. parted, on the other hand, is looking at the contents of the partition and finding an NTFS filesystem there.
** There are a handful of "container" types, such as "5 Extended", and "85 Linux extended" that are significant to the kernel. |
All times are GMT -5. The time now is 03:02 PM. |