Compare commits

..

No commits in common. "f8d9a1184c9d03ea8e13e772e68bee10df822832" and "bea8b944721b84a00431ea0946744ed58c389d8f" have entirely different histories.

6 changed files with 43 additions and 49 deletions

View File

@ -171,7 +171,7 @@ d-i partman-auto-lvm/guided_size string max
### This recipe need almost 30Gb free space.
d-i partman-auto/expert_recipe string \
boot-root :: \
300 200000 500 ext3 \
200 200000 400 ext3 \
$primary{ } $bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \

View File

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

View File

@ -171,7 +171,7 @@ d-i partman-auto-lvm/guided_size string max
# see https://www.bishnet.net/tim/blog/2015/01/29/understanding-partman-autoexpert_recipe/ for a description of partman's algorithm
d-i partman-auto/expert_recipe string \
boot-root :: \
400 2000000 800 ext3 \
200 2000000 400 ext3 \
$primary{ } $bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \

View File

@ -191,7 +191,7 @@ d-i partman-auto/expert_recipe string \
method{ efi } \
format{ } \
. \
400 200000 800 ext3 \
200 200000 400 ext3 \
$primary{ } $bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \
@ -262,11 +262,11 @@ d-i partman-auto/expert_recipe string \
in_vg{ sys } lv_name{ lv_swap } \
method{ swap } format{ } \
. \
100 100 -1 ext3 \
100 100 -1 ext4 \
$lvmok{ } \
in_vg{ sys } lv_name{ lv_free } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \
use_filesystem{ } filesystem{ ext4 } \
label{ 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/default_label string gpt
## Volume Group/vg name
## Volume Group/vg
d-i partman-auto-lvm/new_vg_name string crypt
### Specify the expected size
@ -189,11 +189,10 @@ d-i partman-auto/expert_recipe string \
method{ efi } \
format{ } \
. \
400 200000 800 ext3 \
200 200000 400 ext3 \
$primary{ } $bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \
label{ boot } \
mountpoint{ /boot } \
. \
1000 8000 3000 ext4 \