[parted-devel] Partition /dev/sda7 is seen as EXT3 by parted but as NTFS by fdsik

Benoit Durif hitech.durif at wanadoo.fr
Thu Oct 2 20:33:34 UTC 2008


Hello,

Partition sda7 is a NTFS.
My PC is dual boot Win XP and Fedora9 and XP can mount it.
fdisk seems to agree with XP.
Parted flags it as EXT3. I think this is not correct.
I have tried with fedora9 package parted-1.8.8-5.fc9.i386

I also tried with a version I got from git and recompiled
[root at localhost parted]# ./parted --version
parted (GNU parted) 1.8.8.1.90-cc1f
Is it the latest one?

{{{
[root at localhost parted]# ./parted /dev/sda print unit s print unit chs print
Model: ATA Maxtor 6Y080L0 (scsi)
Disk /dev/sda: 82.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type      File system  Flags
 1      32.3kB  19.0GB  19.0GB  primary   ntfs         boot
 2      19.0GB  82.0GB  63.0GB  extended               lba
 5      19.0GB  34.7GB  15.8GB  logical   ext3
 6      34.7GB  50.5GB  15.7GB  logical   ext3
 7      50.5GB  66.2GB  15.7GB  logical   ext3
 8      66.2GB  82.0GB  15.7GB  logical   ntfs

Model: ATA Maxtor 6Y080L0 (scsi)
Disk /dev/sda: 160086528s
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start       End         Size        Type      File system  Flags
 1      63s         37094084s   37094022s   primary   ntfs         boot
 2      37094085s   160071659s  122977575s  extended               lba
 5      37094148s   67858559s   30764412s   logical   ext3
 6      67858623s   98606969s   30748347s   logical   ext3
 7      98607033s   129339314s  30732282s   logical   ext3
 8      129339378s  160071659s  30732282s   logical   ntfs

Model: ATA Maxtor 6Y080L0 (scsi)
Disk /dev/sda: 9964,235,62
Sector size (logical/physical): 512B/512B
BIOS cylinder,head,sector geometry: 9964,255,63.  Each cylinder is 8225kB.
Partition Table: msdos

Number  Start     End          Type      File system  Flags
 1      0,1,0     2308,254,62  primary   ntfs         boot
 2      2309,0,0  9963,254,62  extended               lba
 5      2309,1,0  4223,254,62  logical   ext3
 6      4224,1,0  6137,254,62  logical   ext3
 7      6138,1,0  8050,254,62  logical   ext3
 8      8051,1,0  9963,254,62  logical   ntfs

[root at localhost parted]#

 }}}

Fdisk shows
{{{
[root at localhost parted]# /sbin/fdisk -l /dev/sda

Disk /dev/sda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x3fa353be

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        2309    18547011    7  HPFS/NTFS
/dev/sda2            2310        9964    61488787+   f  W95 Ext'd (LBA)
/dev/sda5            2310        4224    15382206   83  Linux
/dev/sda6            4225        6138    15374173+  83  Linux
/dev/sda7            6139        8051    15366141    7  HPFS/NTFS
/dev/sda8            8052        9964    15366141    7  HPFS/NTFS
[root at localhost parted]#
}}}





More information about the parted-devel mailing list