Bug#610952: debian-installer: Partman can't create correct partitions
reassign 610952 partman-partitioning 79
severity 610952 normal
thanks
I think this belongs to partman-partitioning, marking the version in
Squeeze affected as I can reproduce it. And I think it should have at
least normal severity.
Installing 6.0.5 using pxeboot on a 35GB VMware container with the
following recipe
d-i partman-auto/expert_recipe string \
boot-root :: \
768 10000 1024 linux-swap \
$primary{ } method{ swap } format{ } \
. \
2048 100000 -1 ext4 \
$primary{ } method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ / } \
.
results in the following partition table:
root@debian:~# fdisk -l
Disk /dev/sda: 34.4 GB, 34359738368 bytes
255 heads, 63 sectors/track, 4177 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000455f5
Device Boot Start End Blocks Id System
/dev/sda1 1 125 999424 82 Linux swap /
Solaris
Partition 1 does not end on cylinder boundary.
/dev/sda2 125 4178 32552960 83 Linux
You cannot even display that partition table in cfdisk because it bails
out
FATAL ERROR: Bad primary partition 1:
Partition ends in the final partial cylinder
Press any key to exit cfdisk
As described in
https://bugs.launchpad.net/ubuntu/+source/partman-base/+bug/551965
adding
d-i partman/alignment select cylinder
fixes the issue.
root@debian:~# fdisk -l
Disk /dev/sda: 34.4 GB, 34359738368 bytes
255 heads, 63 sectors/track, 4177 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0004c37b
Device Boot Start End Blocks Id System
/dev/sda1 1 124 995998+ 82 Linux swap /
Solaris
/dev/sda2 125 4177 32555722+ 83 Linux
Regards,
Bernhard
Reply to: