corrections disques

This commit is contained in:
2025-06-30 22:00:17 +02:00
parent 6761eaa6f3
commit ba08b3adef
3 changed files with 69 additions and 46 deletions

View File

@@ -27,33 +27,39 @@ d-i clock-setup/utc boolean true
d-i time/zone string Europe/Zurich
d-i clock-setup/ntp boolean true
# Configuration du partitionnement (BTRFS sans LVM)
d-i partman-auto/method string regular
d-i partman-auto/disk string /dev/disk/by-id/ata-*
d-i partman-auto/expert_recipe string \
btrfs-root :: \
512 512 512 free \
$iflabel{ gpt } \
$reusemethod{ } \
method{ efi } \
format{ } \
. \
500 10000 -1 btrfs \
$primary{ } $bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ btrfs } \
mountpoint{ / } \
.
# Schéma de partitionnement expert :
# Configuration du partitionnement automatique avec LVM
d-i partman-auto/method string lvm
d-i partman-auto-lvm/guided_size string max
d-i partman-auto-lvm/new_vg_name string debian-vg
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman-md/device_remove_md boolean true
d-i partman-auto/choose_recipe select boot-root
d-i partman-auto/expert_recipe string \n\
boot-root :: \n\
512 1 512 fat32 \n\
$primary{ } $bootable{ } \n\
method{ efi } format{ } \n\
. \n\
1024 2 -1 ext4 \n\
$defaultignore{ } $lvmok{ } \n\
lv_name{ root } \n\
method{ format } format{ } \n\
use_filesystem{ } filesystem{ btrfs } \n\
mountpoint{ / } \n\
.
# Schéma de partitionnement :
# - Partition EFI de 512 MB pour le démarrage UEFI
# - Partition racine BTRFS utilisant tout l'espace restant
# - Partition racine BTRFS avec LVM utilisant tout l'espace restant (snapshots possibles)
# - Pas de partition swap
# Confirmation du partitionnement
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/confirm_nooverwrite boolean true
d-i partman-basicfilesystems/no_swap boolean false
d-i partman-basicfilesystems/no_swap boolean true
# Configuration de l'installation de base
d-i base-installer/install-recommends boolean true