Update comments

This commit is contained in:
Jeremy Gardais 2023-02-08 17:02:31 +01:00
parent df830df28b
commit f8d9a1184c
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
4 changed files with 43 additions and 37 deletions

View File

@ -146,40 +146,46 @@ d-i partman-auto/init_automatically_partition select custom
### - crypto: use LVM within an encrypted partition ### - crypto: use LVM within an encrypted partition
d-i partman-auto/method string lvm d-i partman-auto/method string lvm
d-i partman-lvm/device_remove_lvm boolean true
## It's not ok to have /boot in the LVM ## It's not ok to have /boot in the LVM
d-i partman-auto-lvm/no_boot boolean false d-i partman-auto-lvm/no_boot boolean false
# Remove old LVM configuration ## Remove old LVM configuration
d-i partman-lvm/device_remove_lvm boolean true d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/device_remove_lvm_span boolean true d-i partman-lvm/device_remove_lvm_span boolean true
# Remove old RAID configuration ## Remove old RAID configuration
#d-i partman-md/device_remove_md boolean true d-i partman-md/device_remove_md boolean true
# Confirm to write the LVM partitions d-i partman-md/confirm boolean true
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
# Keep that one set to true so we end up with a UEFI enabled ## Confirm to write the LVM partitions
# system. If set to false, /var/lib/partman/uefi_ignore will be touched d-i partman-lvm/confirm boolean true
d-i partman-efi/non_efi_system boolean true d-i partman-lvm/confirm_nooverwrite boolean true
# enforce usage of GPT - a must have to use EFI! ## Keep that one set to true so we end up with a UEFI enabled
d-i partman-basicfilesystems/choose_label string gpt ## system. If set to false, /var/lib/partman/uefi_ignore will be touched
d-i partman-basicfilesystems/default_label string gpt d-i partman-efi/non_efi_system boolean true
d-i partman-partitioning/choose_label string gpt
d-i partman-partitioning/default_label string gpt
d-i partman/choose_label string gpt
d-i partman/default_label string gpt
# LVM partition ## Enforce usage of GPT - a must have to use EFI!
# This recipe need almost 30Gb free space it's add all <min size> d-i partman-basicfilesystems/choose_label string gpt
d-i partman-basicfilesystems/default_label string gpt
d-i partman-partitioning/choose_label string gpt
d-i partman-partitioning/default_label string gpt
d-i partman/choose_label string gpt
d-i partman/default_label string gpt
## Volume Group/vg name
d-i partman-auto-lvm/new_vg_name string sys
### Specify the expected size
d-i partman-auto-lvm/guided_size string max
## LVM partition
### This recipe need almost 30Gb free space.
# sda2 (16Gb), lv_* (~14Gb) then it should not count it because # sda2 (16Gb), lv_* (~14Gb) then it should not count it because
# all logical volume are on sda2 ... # all logical volume are on sda2 ...
d-i partman-auto/expert_recipe string \ d-i partman-auto/expert_recipe string \
boot-root :: \ boot-root :: \
538 538 1075 free \ 538 300000 1075 free \
$iflabel{ gpt } \ $iflabel{ gpt } \
$reusemethod{ } \ $reusemethod{ } \
method{ efi } \ method{ efi } \
@ -256,29 +262,28 @@ d-i partman-auto/expert_recipe string \
in_vg{ sys } lv_name{ lv_swap } \ in_vg{ sys } lv_name{ lv_swap } \
method{ swap } format{ } \ method{ swap } format{ } \
. \ . \
100 100 -1 ext4 \ 100 100 -1 ext3 \
$lvmok{ } \ $lvmok{ } \
in_vg{ sys } lv_name{ lv_free } \ in_vg{ sys } lv_name{ lv_free } \
method{ format } format{ } \ method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \ use_filesystem{ } filesystem{ ext3 } \
label{ free } \ label{ free } \
mountpoint{ /mnt/free } \ mountpoint{ /mnt/free } \
. .
## Need to put all free space in a temp logical volume/partition ## Need to put all free space in a temp logical volume/partition
# Otherwise it's the last partition which get all free space ## Otherwise it's the last partition which get all free space
# Allow to not set a swap partition ## Allow to not set a swap partition
#d-i partman-basicfilesystems/no_swap boolean false #d-i partman-basicfilesystems/no_swap boolean false
## Return to menu if no mount point is assigned to a filesystem ## Return to menu if no mount point is assigned to a filesystem
d-i partman-basicfilesystems/no_mount_point boolean false d-i partman-basicfilesystems/no_mount_point boolean false
# Automatically partition without confirmation ## Automatically partition without confirmation
d-i partman/confirm_write_new_label boolean true d-i partman/confirm_write_new_label boolean true
d-i partman/choose_partition select finish d-i partman/choose_partition select finish
d-i partman-md/confirm boolean true d-i partman/confirm boolean true
d-i partman/confirm boolean true d-i partman/confirm_nooverwrite boolean true
d-i partman/confirm_nooverwrite boolean true
################################################################## ]]] ################################################################## ]]]
## Kernel [[[ ## Kernel [[[

View File

@ -173,7 +173,7 @@ d-i partman-partitioning/default_label string gpt
d-i partman/choose_label string gpt d-i partman/choose_label string gpt
d-i partman/default_label string gpt d-i partman/default_label string gpt
## Volume Group/vg ## Volume Group/vg name
d-i partman-auto-lvm/new_vg_name string crypt d-i partman-auto-lvm/new_vg_name string crypt
### Specify the expected size ### Specify the expected size

View File

@ -262,11 +262,11 @@ d-i partman-auto/expert_recipe string \
in_vg{ sys } lv_name{ lv_swap } \ in_vg{ sys } lv_name{ lv_swap } \
method{ swap } format{ } \ method{ swap } format{ } \
. \ . \
100 100 -1 ext4 \ 100 100 -1 ext3 \
$lvmok{ } \ $lvmok{ } \
in_vg{ sys } lv_name{ lv_free } \ in_vg{ sys } lv_name{ lv_free } \
method{ format } format{ } \ method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \ use_filesystem{ } filesystem{ ext3 } \
label{ free } \ label{ free } \
mountpoint{ /mnt/free } \ mountpoint{ /mnt/free } \
. .

View File

@ -173,7 +173,7 @@ d-i partman-partitioning/default_label string gpt
d-i partman/choose_label string gpt d-i partman/choose_label string gpt
d-i partman/default_label string gpt d-i partman/default_label string gpt
## Volume Group/vg ## Volume Group/vg name
d-i partman-auto-lvm/new_vg_name string crypt d-i partman-auto-lvm/new_vg_name string crypt
### Specify the expected size ### Specify the expected size
@ -193,6 +193,7 @@ d-i partman-auto/expert_recipe string \
$primary{ } $bootable{ } \ $primary{ } $bootable{ } \
method{ format } format{ } \ method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \ use_filesystem{ } filesystem{ ext3 } \
label{ boot } \
mountpoint{ /boot } \ mountpoint{ /boot } \
. \ . \
1000 8000 3000 ext4 \ 1000 8000 3000 ext4 \