What I'd like:
Having a boot partition, and a huge encrypted one, which would contain inside all other partitions as logical volumes.
What I have:
Code: Select all
d-i partman-auto/method string crypto
d-i partman-auto/disk string /dev/sda
d-i partman-auto-lvm/new_vg_name string vg
d-i partman-auto-lvm/no_boot boolean true
d-i partman-auto-lvm/guided_size string max
d-i partman-lvm/confirm boolean true
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman-basicfilesystems/no_swap boolean false
d-i partman-md/device_remove_md boolean true
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman-md/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
d-i partman-md/confirm_nooverwrite boolean true
d-i partman-basicmethods/method_only boolean false
d-i partman-auto/expert_recipe string custom :: \
100 1000 1024 ext4 \
$defaultignore{}\
$primary{}\
$bootable{}\
method{ format }\
format{ }\
use_filesystem{ }\
filesystem{ ext4 }\
options/noatime{ noatime } .\
\
100 1000 1000000000 ext4\
$defaultignore{ }\
$primary{ }\
method{ crypto }\
device{ /dev/sda }\
vg_name{ vg } .\
\
96 1500 100% linux-swap\
$lvmok{ }\
in_vg{ vg }\
lv_name{ swap }\
method{ swap }\
format{ } .\
\
96 1500 5120 ext4\
$lvmok{ }\
in_vg{ vg }\
lv_name{ root }\
method{ format }\
format{ }\
use_filesystem{ }\
filesystem{ ext4 }\
mountpoint{ / }\
options/noatime{ noatime } .\
\
96 1500 30720 ext4\
$lvmok{ }\
in_vg{ vg }\
lv_name{ usr }\
method{ format }\
format{ }\
use_filesystem{ }\
filesystem{ ext4 }\
mountpoint{ /usr }\
options/noatime{ noatime } .\
\
96 2000 1000000000 ext4\
$lvmok{ }\
in_vg{ vg }\
lv_name{ home }\
method{ format }\
format{ }\
use_filesystem{ }\
filesystem{ ext4 }\
mountpoint{ /home }\
options/noatime{ noatime } .