Jim Meyering schrieb am 10.01.2011 10:05 Uhr: > Ignaz Forster wrote: >> I fear I need some help with Parted. >> The two partitions of a disk are not detected, instead a message about >> a third partition is printed: >> >> >>> # parted /dev/sdc unit s print >>> No Implementation: Partition 3 isn't aligned to cylinder boundaries. >>> This is still unsupported. >> >> >> If I remember correctly the disk was partitioned using cfdisk, using >> byte values (instead of sectors) to specify the partition sizes. fdisk >> reports the following layout: >> >> >>> # fdisk -l -u /dev/sdc >>> >>> Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes >>> 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors >>> Units = sectors of 1 * 512 = 512 bytes >>> Sector size (logical/physical): 512 bytes / 512 bytes >>> I/O size (minimum/optimal): 512 bytes / 512 bytes >>> Disk identifier: 0x14762e21 >>> >>> Device Boot Start End Blocks Id System >>> /dev/sdc1 63 976559219 488279578+ 83 Linux >>> /dev/sdc2 976559220 1953520064 488480422+ 83 Linux >> >> >> The first partition contains a XFS, the second one a JFS filesystem. >> >> If my calculation is right at least the first partition should be >> aligned to cylinder boundaries, but temporarily deleting the second >> partition did not help either. >> Any hint why Parted doesn't see those partitions? > > Thanks for the report, but what version of parted are you using?
Sorry, I forgot to write that: I've tried both 2.2 and 2.3 with the same result. > If you're using a relatively recent version of parted, > then the fact that you're seeing that diagnostic means > that device has a PC98 partition table (or at least that > parted detects it as such -- which may be a bug in parted). > [...] > > If you are using one of those, please make a copy of > the first few sectors of your disk and send them to this list. > I.e., you could run this and then attach the file F: > > dd if=/dev/sdc count=34 > F > This is interesting. The dump contains the string "Apple_partition_map" - see the attached file. The disk was advertised with it's Mac compatibility and originally contained a HFS file system which was deleted (as far as I remember also using cfdisk) to create the new partitions / filesystems. Greetings, -- Ignaz Forster <ignaz.fors...@gmx.de>
F
Description: Binary data
signature.asc
Description: OpenPGP digital signature
_______________________________________________ bug-parted mailing list bug-parted@gnu.org http://lists.gnu.org/mailman/listinfo/bug-parted