Bug#413505: debian-installer: Preseeding only one partition results in a logical partition
Package: debian-installer
Version: etch-20070228
Severity: normal
If you preseed only one partition on a disk for the whole
installation it's always getting logical, whatever you do.
The following preseed data will exhibit this behaviour:
d-i partman-auto/disk string /dev/discs/disc0/disc
d-i partman-auto/method string regular
d-i partman-auto/purge_lvm_from_device boolean true
d-i partman-lvm/confirm boolean true
d-i partman-auto/expert_recipe string \
boot-root :: \
800 1000000000 1000000000 ext3 \
$primary{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \
mountpoint{ / } \
.
d-i partman/confirm_write_new_label boolean true
d-i partman/choose_partition select Finish partitioning and write changes to disk
d-i partman/confirm boolean true
As you see, it's marked as primary, but it will end up
being logical...
I did some other tests using more partitions and it seemed
that the last defined partition in a set always becomes
logical. In my single partition setup the first partition
is also the last partition, so I think that makes it
logical.
In my opinion, partitions should only be forced being
logical when there are more than four primary partitions
defined. In that case, every primary partition that preceeds
three other primary partitions should be made logical.
If the above was reality, my single partition would be kept
primary. Although the system is working with a single logical
partition, it's not what you're expecting and therefor I
consider it as a bug.
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Reply to: