# Определение разделов диска
d-i partman-auto/disk string /dev/sda
d-i partman-auto/method string lvm
# Создание физического тома
d-i partman-auto/init_automatically_partition select Guided - use entire disk
d-i partman-auto/purge_lvm_from_device boolean true
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/confirm boolean true
d-i partman-auto-lvm-new_vg_name string rootvg
d-i partman-auto-lvm/guided_size string max
# Создание логических томов
d-i partman-auto-lvm/new_lv_name string bios
d-i partman-auto/expert_recipe string \
root :: 8 8 8, ext4, \
$primary{ } $bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
. \
1024 1024 1024, ext4, \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /boot } \
. \
2048 2048 2048, ext4, \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ / } \
. \
4096 4096 4096, ext4, \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /var } \
. \
6144 6144 6144, ext4, \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /usr } \
. \
4096 4096 4096, ext4, \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /tmp } \
. \
4096 4096 4096, ext4, \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /home } \
. \
2048 2048 2048, ext4, \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /opt } \
. \
4096 4096 4096, ext4, \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ swap } \
.