Public bug reported: I am trying to create a preseeded netboot install that will create a couple of blank partitions that can be used for testing purposes. The partition scheme is as follows:
sda1 256M ext3 /boot sda2 20G blank #Test-Primary sda3 extended sda5 LVM VG0 VG0/Root 10G ext4 / VG0/Swap 4G swap VG0/Test-LVM 20G blank #Test-LVM My recipe is this: d-i partman-auto/expert_recipe string \ panda-pool :: \ 100 150 256 ext3 \ $primary{ } $bootable{ } \ method{ format } format { } \ use_filesystem{ } filesystem{ ext3 } \ mountpoint{ /boot } \ label{ BOOT } \ . \ 5000 160 20000 ext4 \ $lvmignore{ } \ $primary{ } \ method{ keep } \ . \ 10000 250 12000 ext4 \ $defaultignore{ } \ $lvmok{ } \ lv_name{ Root } \ method{ format } format{ } \ use_filesystem{ } filesystem{ ext4 } \ mountpoint{ / } \ . \ 4000 512 4100 linux-swap \ $defaultignore{ } \ $lvmok{ } \ lv_name{ swap } \ method{ swap } format{ } \ . \ 5000 10000 1000000000 ext4 \ $defaultignore{ } \ $lvmok{ } \ method{ keep } \ . \ . The problem is, netboot will prompt me with an alert saying "No file system is specified for partition #1 of LVM VG eilt0, LV keep_1." If I add "use_filesystem{ } filesystem{ ext4 } \ " to the blank lvm partition, then it complains about not being formatted. If I change the method to format it, then it wants a mountpoint. The idea is to leave it unmounted so that it can be used for testing different filesystems, filesystem encryption, etc. Having to go through all this defeats the purpose. The base documentation at http://anonscm.debian.org/gitweb/?p=d-i /debian-installer.git;a=blob_plain;f=doc/devel/partman-auto- recipe.txt;hb=HEAD indicates this should be possible, although the documentation is very sparse. Other google searches show examples where users have created udeb packages to replace partman entirely. This is also not an option. ** Affects: partman-auto-lvm (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/971608 Title: Unable to create blank lvm volume in preseed install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/partman-auto-lvm/+bug/971608/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs