Compare commits
2 Commits
bea8b94472
...
f8d9a1184c
Author | SHA1 | Date |
---|---|---|
Jeremy Gardais | f8d9a1184c | |
Jeremy Gardais | df830df28b |
|
@ -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 :: \
|
||||
200 200000 400 ext3 \
|
||||
300 200000 500 ext3 \
|
||||
$primary{ } $bootable{ } \
|
||||
method{ format } format{ } \
|
||||
use_filesystem{ } filesystem{ ext3 } \
|
||||
|
|
|
@ -146,46 +146,52 @@ 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
|
||||
# Confirm to write the LVM partitions
|
||||
d-i partman-lvm/confirm boolean true
|
||||
d-i partman-lvm/confirm_nooverwrite boolean true
|
||||
## Remove old RAID configuration
|
||||
d-i partman-md/device_remove_md boolean true
|
||||
d-i partman-md/confirm 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
|
||||
## Confirm to write the LVM partitions
|
||||
d-i partman-lvm/confirm boolean true
|
||||
d-i partman-lvm/confirm_nooverwrite 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
|
||||
## 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
|
||||
|
||||
# LVM partition
|
||||
# This recipe need almost 30Gb free space it's add all <min size>
|
||||
## 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.
|
||||
# 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 538 1075 free \
|
||||
538 300000 1075 free \
|
||||
$iflabel{ gpt } \
|
||||
$reusemethod{ } \
|
||||
method{ efi } \
|
||||
format{ } \
|
||||
. \
|
||||
200 200000 250 ext3 \
|
||||
400 200000 800 ext3 \
|
||||
$primary{ } $bootable{ } \
|
||||
method{ format } format{ } \
|
||||
use_filesystem{ } filesystem{ ext3 } \
|
||||
|
@ -256,29 +262,28 @@ d-i partman-auto/expert_recipe string \
|
|||
in_vg{ sys } lv_name{ lv_swap } \
|
||||
method{ swap } format{ } \
|
||||
. \
|
||||
100 100 -1 ext4 \
|
||||
100 100 -1 ext3 \
|
||||
$lvmok{ } \
|
||||
in_vg{ sys } lv_name{ lv_free } \
|
||||
method{ format } format{ } \
|
||||
use_filesystem{ } filesystem{ ext4 } \
|
||||
use_filesystem{ } filesystem{ ext3 } \
|
||||
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-md/confirm boolean true
|
||||
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/confirm boolean true
|
||||
d-i partman/confirm_nooverwrite boolean true
|
||||
|
||||
################################################################## ]]]
|
||||
## Kernel [[[
|
||||
|
|
|
@ -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
|
||||
## Volume Group/vg name
|
||||
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{ } \
|
||||
. \
|
||||
200 200000 400 ext3 \
|
||||
400 200000 800 ext3 \
|
||||
$primary{ } $bootable{ } \
|
||||
method{ format } format{ } \
|
||||
use_filesystem{ } filesystem{ ext3 } \
|
||||
|
|
|
@ -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 :: \
|
||||
200 2000000 400 ext3 \
|
||||
400 2000000 800 ext3 \
|
||||
$primary{ } $bootable{ } \
|
||||
method{ format } format{ } \
|
||||
use_filesystem{ } filesystem{ ext3 } \
|
||||
|
|
|
@ -191,7 +191,7 @@ d-i partman-auto/expert_recipe string \
|
|||
method{ efi } \
|
||||
format{ } \
|
||||
. \
|
||||
200 200000 400 ext3 \
|
||||
400 200000 800 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 ext4 \
|
||||
100 100 -1 ext3 \
|
||||
$lvmok{ } \
|
||||
in_vg{ sys } lv_name{ lv_free } \
|
||||
method{ format } format{ } \
|
||||
use_filesystem{ } filesystem{ ext4 } \
|
||||
use_filesystem{ } filesystem{ ext3 } \
|
||||
label{ free } \
|
||||
mountpoint{ /mnt/free } \
|
||||
.
|
||||
|
|
|
@ -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
|
||||
## Volume Group/vg name
|
||||
d-i partman-auto-lvm/new_vg_name string crypt
|
||||
|
||||
### Specify the expected size
|
||||
|
@ -189,10 +189,11 @@ d-i partman-auto/expert_recipe string \
|
|||
method{ efi } \
|
||||
format{ } \
|
||||
. \
|
||||
200 200000 400 ext3 \
|
||||
400 200000 800 ext3 \
|
||||
$primary{ } $bootable{ } \
|
||||
method{ format } format{ } \
|
||||
use_filesystem{ } filesystem{ ext3 } \
|
||||
label{ boot } \
|
||||
mountpoint{ /boot } \
|
||||
. \
|
||||
1000 8000 3000 ext4 \
|
||||
|
|
Loading…
Reference in New Issue