while attempting to install debian squeeze using the following recipe:
d-i partman-auto/expert_recipe string layout :: \
252 256 257 ext3 \
$primary{ } \
$bootable{ } \
device{ /dev/sda } \
method{ format } \
mountpoint{ /boot } \
filesystem{ ext3 } \
use_filesystem{ } \
format{ } . \
20071 20480 20481 ext3 \
$primary{ } \
device{ /dev/sda } \
method{ lvm } \
vg_name{ rootvg } \
format{ } . \
8817 8997 10000000000 ext3 \
$primary{ } \
device{ /dev/sda } \
method{ lvm } \
vg_name{ infravg } \
format{ } . \
60 3071 3072 ext3 \
$lvmok{ } \
in_vg{ rootvg } \
lv_name{ 1 } \
method{ format } \
mountpoint{ / } \
filesystem{ ext3 } \
use_filesystem{ } \
format{ } . \
80 4095 4096 ext3 \
$lvmok{ } \
in_vg{ rootvg } \
lv_name{ 2 } \
method{ format } \
mountpoint{ /usr } \
filesystem{ ext3 } \
use_filesystem{ } \
format{ } . \
10 511 512 ext3 \
$lvmok{ } \
in_vg{ rootvg } \
lv_name{ 3 } \
method{ format } \
mountpoint{ /opt } \
filesystem{ ext3 } \
use_filesystem{ } \
format{ } . \
20 1023 1024 ext3 \
$lvmok{ } \
in_vg{ rootvg } \
lv_name{ 4 } \
method{ format } \
mountpoint{ /tmp } \
filesystem{ ext3 } \
use_filesystem{ } \
format{ } . \
20 1023 1024 ext3 \
$lvmok{ } \
in_vg{ rootvg } \
lv_name{ 5 } \
method{ format } \
mountpoint{ /var } \
filesystem{ ext3 } \
use_filesystem{ } \
format{ } . \
20 1023 1024 ext3 \
$lvmok{ } \
in_vg{ rootvg } \
lv_name{ 6 } \
method{ format } \
mountpoint{ /home } \
filesystem{ ext3 } \
use_filesystem{ } \
format{ } . \
20 1023 1024 linux-swap \
$lvmok{ } \
in_vg{ rootvg } \
lv_name{ 7 } \
method{ swap } \
format{ } . \
2 127 128 ext3 \
$lvmok{ } \
in_vg{ rootvg } \
lv_name{ 8 } \
method{ format } \
mountpoint{ /system } \
filesystem{ ext3 } \
use_filesystem{ } \
format{ } . \
40 2047 2048 ext3 \
$lvmok{ } \
in_vg{ infravg } \
lv_name{ 9 } \
method{ format } \
mountpoint{ /images } \
filesystem{ ext3 } \
use_filesystem{ } \
format{ } . \
installation was halted with the following error "Autopartioning using LVM failed because an error occurred while creating a volume group"
here is the last lines from syslog:
Apr 6 15:30:55 partman: No volume groups found
Apr 6 15:30:55 partman:
Apr 6 15:30:55 partman: Reading all physical volumes. This may take a while...
Apr 6 15:30:55 partman-lvm:
Apr 6 15:30:55 partman-lvm: No volume groups found
Apr 6 15:30:55 partman-lvm:
Apr 6 15:30:56 partman-lvm: Physical volume "/dev/sda3" successfully created
Apr 6 15:30:56 partman-lvm: Volume group "debian" successfully created
Apr 6 15:30:57 partman-lvm: Physical volume "/dev/sda2" successfully created
Apr 6 15:30:57 partman-lvm: Volume group "infravg" successfully created
Apr 6 15:30:57 partman-lvm: Logical volume "9" created
Apr 6 15:30:58 partman-lvm:
Apr 6 15:30:58 partman-lvm: Physical volume '/dev/sda2' is already in volume group 'infravg'
Apr 6 15:30:58 partman-lvm:
Apr 6 15:30:58 partman-lvm:
Apr 6 15:30:58 partman-lvm: Unable to add physical volume '/dev/sda2' to volume group 'rootvg'.
it seems a "debian" group is created in place of the "rootvg" for some reason.
im attaching preseed.cfg partman and syslog.
-- System Information:
Debian Release: 6.0.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.37-4.dmz.1-liquorix-686 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash