[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#516339: debian-installer: init_automatically_partition behaves different on lenny with LVM



Package: debian-installer
Version: 20090123
Severity: normal

for etch I was using the following preseed lines to setup my systems
partition with LVM:

d-i partman-auto/purge_lvm_from_device boolean true
d-i partman/confirm_write_new_label boolean true
d-i partman/confirm boolean true
d-i partman-lvm/confirm boolean true
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-auto/choose_recipe select boot-root-lvm
d-i partman-auto/init_automatically_partition \
   select Guided - use entire disk and set up LVM
d-i partman/choose_partition \
   select Finish partitioning and write changes to disk

d-i partman-auto/expert_recipe string                         \
      boot-root-lvm ::                                        \
              100 512 200 ext2                                \
                      $primary{ } $bootable{ }                \
                      method{ format } format{ }              \
                      use_filesystem{ } filesystem{ ext2 }    \
                      mountpoint{ /boot }                     \
              .                                               \
              1000 512 1000 xfs                               \
                      $lvmok{ }                               \
                      method{ format } format{ }              \
                      use_filesystem{ } filesystem{ xfs }     \
                      mountpoint{ / }                         \
              .                                               \
..... (more LVs)


When I do this now with the rc2 debian-installer instead, the behavior of
init_automatically_partition has changed. Feeding it with "Guided - use
entire disk and set up LVM" will not as the name say use logical volumes
for the partition, furthermore it creates common logical partitions.

When I instead provide the option as

d-i partman-auto/init_automatically_partition \
   select some_device_lvm

the previous etch behavior gets restored and the logical volumes get
created correctly.

It seems that this "Guided - use entire disk and set up LVM" in fact now
matches the "Guided - use entire disk" option.

So far this is reproduceable here.

Andreas

-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-- no debconf information



Reply to: