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

d-i, preseed and lvm



Hi,

I'm trying to make an automated install cd-rom with debian-installer's
preseed system[1]. Everything works great but the partitioning
section.

d-i partman-auto/disk string /dev/sda
d-i partman-auto/method string lvm
d-i partman-lvm/confirm boolean true
d-i partman-auto/purge_lvm_from_device boolean true
d-i partman-auto-lvm/expert_recipe string iisserver_scheme :: 512
1000 512 ext3 $primary{ } $bootable{ } method{ format } format{ }
use_filesystem{ } filesystem{ ext3 } mountpoint{ / } . 128 1000 100%
\linux-swap $lvmok{ } method{ swap } format{ } . 1000 2000 1000 ext3
$lvmok{ } method{ format } format{ } use_filesystem{ } filesystem{
ext3 } mountpoint{ /usr } . 800 1000 800 xfs $lvmok{ } method{ format
} \format{ } use_filesystem{ } filesystem{ xfs } mountpoint{ /usr } .
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

D-i create all partitions but not with lvm.
So my question is: Does d-i support LVM? If yes: What I'm doing wrong?

[1] http://wiki.debian.org/DebianInstaller/Preseed



Best regards
Hiamal


Reply to: