Can't easily find what's wrong into the parted-2.3/libparted code. But
GNU Parted 1.8.8 from a Lenny machine work on this disk:
parted /dev/sdb print
Error: Can't have the end before the start!
Model: disk2go PURE II (scsi)
Disk /dev/sdb: 5243kB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.8kB 5243kB 5210kB primary fat16
The problem maybe cam from the message "Can't have the end before the
start!". Also this version of parted say this is a FAT16 partition, but
fdisk say this is a FAT12:
fdisk -l /dev/sdb
Disk /dev/sdb: 5 MB, 5242880 bytes
256 heads, 32 sectors/track, 1 cylinders
Units = cylinders of 8192 * 512 = 4194304 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 1 2 5088 1 FAT12
Partition 1 has different physical/logical endings:
phys=(40, 255, 32) logical=(1, 63, 32)
It also say that something is wrong with the geometry of this partition.
I then do a new partition on the /dev/sdb:
Disk /dev/sdb: 5 MB, 5242880 bytes
256 heads, 32 sectors/track, 1 cylinders
Units = cylinders of 8192 * 512 = 4194304 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 1 1 4080 1 FAT12
The parted from Lenny is still not happy:
parted /dev/sdb print
Error: Can't have the end before the start!
Model: disk2go PURE II (scsi)
Disk /dev/sdb: 5243kB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 16.4kB 4194kB 4178kB primary
And the parted on the Squeeze installer still hang the same way. After
that I tryed to use a FAT16 partition:
Disk /dev/sdb: 5 MB, 5242880 bytes
256 heads, 32 sectors/track, 1 cylinders
Units = cylinders of 8192 * 512 = 4194304 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 1 1 4080 6 FAT16
But still, the parted from the installed abort with the same message.
At this point, I am a bit confused: why the parted from the Squeeze
installer get so ill with this 5MB disk despite the fact that others
tools and previous parted version handle it correctly.
Finally I removed the partition from that /dev/sdb disk and the
installed worked. Ah! So the bug seem to be related to a unusual
geometry of that disk.
Jean-Christian de Rivaz
--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4cd5497f.3010...@eclis.ch