Bernie Innocenti wrote:
> I attached a USB enclosure containing a 160MB PATA disk formatted with
> an Apple Partition Map and got this error:
>
> ----------8<-----------8<-----------8<-----------8<-----------8<----------
> GNU Parted 2.3
> Using /dev/sdc
> Welcome to GNU Parted! Type 'help' to view a list of commands.
> (parted) p
> Error: Can't have a partition outside the disk!
> ----------8<-----------8<-----------8<-----------8<-----------8<----------
>
> The partition table display correctly in Palimpsest and all partitions
> were automatically mounted by udisks. This is what fdisk says:
>
> ----------8<-----------8<-----------8<-----------8<-----------8<----------
> Disk /dev/sdc: 160.0 GB, 160041885184 bytes
> 255 heads, 63 sectors/track, 19457 cylinders, total 312581807 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: 0x00000000
> ----------8<-----------8<-----------8<-----------8<-----------8<----------
>
> I'm attaching the first 1kb of the disk in the hope that it contains the
> full partition map.

Hi Bernie,

Thank you for the report.
Two sectors (1KB) is almost enough.
If you could send a little more, I'll take a look.
If there are 4 partitions or fewer, 1.5KB is enough.
If you have more than 4 partitions, then you
might as well send sectors (17KB) worth.

_______________________________________________
bug-parted mailing list
bug-parted@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-parted

Reply via email to