corrections disques
This commit is contained in:
@@ -27,33 +27,39 @@ d-i clock-setup/utc boolean true
|
|||||||
d-i time/zone string Europe/Zurich
|
d-i time/zone string Europe/Zurich
|
||||||
d-i clock-setup/ntp boolean true
|
d-i clock-setup/ntp boolean true
|
||||||
|
|
||||||
# Configuration du partitionnement (BTRFS sans LVM)
|
# Configuration du partitionnement automatique avec LVM
|
||||||
d-i partman-auto/method string regular
|
d-i partman-auto/method string lvm
|
||||||
d-i partman-auto/disk string /dev/disk/by-id/ata-*
|
d-i partman-auto-lvm/guided_size string max
|
||||||
d-i partman-auto/expert_recipe string \
|
d-i partman-auto-lvm/new_vg_name string debian-vg
|
||||||
btrfs-root :: \
|
d-i partman-lvm/device_remove_lvm boolean true
|
||||||
512 512 512 free \
|
d-i partman-lvm/confirm boolean true
|
||||||
$iflabel{ gpt } \
|
d-i partman-lvm/confirm_nooverwrite boolean true
|
||||||
$reusemethod{ } \
|
d-i partman-md/device_remove_md boolean true
|
||||||
method{ efi } \
|
d-i partman-auto/choose_recipe select boot-root
|
||||||
format{ } \
|
d-i partman-auto/expert_recipe string \n\
|
||||||
. \
|
boot-root :: \n\
|
||||||
500 10000 -1 btrfs \
|
512 1 512 fat32 \n\
|
||||||
$primary{ } $bootable{ } \
|
$primary{ } $bootable{ } \n\
|
||||||
method{ format } format{ } \
|
method{ efi } format{ } \n\
|
||||||
use_filesystem{ } filesystem{ btrfs } \
|
. \n\
|
||||||
mountpoint{ / } \
|
1024 2 -1 ext4 \n\
|
||||||
.
|
$defaultignore{ } $lvmok{ } \n\
|
||||||
# Schéma de partitionnement expert :
|
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 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
|
# Confirmation du partitionnement
|
||||||
d-i partman-partitioning/confirm_write_new_label boolean true
|
d-i partman-partitioning/confirm_write_new_label boolean true
|
||||||
d-i partman/choose_partition select finish
|
d-i partman/choose_partition select finish
|
||||||
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
|
||||||
d-i partman-basicfilesystems/no_swap boolean false
|
d-i partman-basicfilesystems/no_swap boolean true
|
||||||
|
|
||||||
# Configuration de l'installation de base
|
# Configuration de l'installation de base
|
||||||
d-i base-installer/install-recommends boolean true
|
d-i base-installer/install-recommends boolean true
|
||||||
|
|||||||
@@ -28,39 +28,39 @@ d-i clock-setup/utc boolean true
|
|||||||
d-i time/zone string Europe/Zurich
|
d-i time/zone string Europe/Zurich
|
||||||
d-i clock-setup/ntp boolean true
|
d-i clock-setup/ntp boolean true
|
||||||
|
|
||||||
# Configuration du partitionnement LVM avec BTRFS
|
# Configuration du partitionnement automatique avec LVM
|
||||||
d-i partman-auto/method string lvm
|
d-i partman-auto/method string lvm
|
||||||
d-i partman-auto/disk string /dev/disk/by-id/ata-*
|
|
||||||
d-i partman-auto-lvm/guided_size string max
|
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/device_remove_lvm boolean true
|
||||||
d-i partman-md/device_remove_md boolean true
|
|
||||||
d-i partman-lvm/confirm boolean true
|
d-i partman-lvm/confirm boolean true
|
||||||
d-i partman-lvm/confirm_nooverwrite boolean true
|
d-i partman-lvm/confirm_nooverwrite boolean true
|
||||||
d-i partman-auto/choose_recipe select atomic
|
d-i partman-md/device_remove_md boolean true
|
||||||
d-i partman-auto/expert_recipe string \
|
d-i partman-auto/choose_recipe select boot-root
|
||||||
btrfs-root :: \
|
d-i partman-auto/expert_recipe string \n\
|
||||||
512 512 512 free \
|
boot-root :: \n\
|
||||||
$iflabel{ gpt } \
|
512 1 512 fat32 \n\
|
||||||
$reusemethod{ } \
|
$primary{ } $bootable{ } \n\
|
||||||
method{ efi } \
|
method{ efi } format{ } \n\
|
||||||
format{ } \
|
. \n\
|
||||||
. \
|
1024 2 -1 ext4 \n\
|
||||||
500 10000 -1 btrfs \
|
$defaultignore{ } $lvmok{ } \n\
|
||||||
$primary{ } $bootable{ } \
|
lv_name{ root } \n\
|
||||||
method{ format } format{ } \
|
method{ format } format{ } \n\
|
||||||
use_filesystem{ } filesystem{ btrfs } \
|
use_filesystem{ } filesystem{ btrfs } \n\
|
||||||
mountpoint{ / } \
|
mountpoint{ / } \n\
|
||||||
.
|
.
|
||||||
# Schéma de partitionnement expert avec LVM :
|
# Schéma de partitionnement :
|
||||||
# - Partition EFI de 512 MB pour le démarrage UEFI
|
# - Partition EFI de 512 MB pour le démarrage UEFI
|
||||||
# - Partition racine BTRFS dans un volume logique LVM
|
# - Partition racine BTRFS avec LVM utilisant tout l'espace restant (snapshots possibles)
|
||||||
|
# - Pas de partition swap
|
||||||
|
|
||||||
# Confirmation du partitionnement
|
# Confirmation du partitionnement
|
||||||
d-i partman-partitioning/confirm_write_new_label boolean true
|
d-i partman-partitioning/confirm_write_new_label boolean true
|
||||||
d-i partman/choose_partition select finish
|
d-i partman/choose_partition select finish
|
||||||
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
|
||||||
d-i partman-basicfilesystems/no_swap boolean false
|
d-i partman-basicfilesystems/no_swap boolean true
|
||||||
d-i partman-md/confirm boolean true
|
d-i partman-md/confirm boolean true
|
||||||
|
|
||||||
# Configuration des sources de paquets
|
# Configuration des sources de paquets
|
||||||
@@ -68,7 +68,7 @@ d-i apt-setup/cdrom/set-first boolean false
|
|||||||
|
|
||||||
# Sélection des tâches d'installation (installation minimale)
|
# Sélection des tâches d'installation (installation minimale)
|
||||||
tasksel tasksel/first multiselect minimal
|
tasksel tasksel/first multiselect minimal
|
||||||
d-i pkgsel/include string openssh-server
|
d-i pkgsel/include string openssh-server btrfs-progs timeshift
|
||||||
|
|
||||||
# Configuration du chargeur de démarrage GRUB
|
# Configuration du chargeur de démarrage GRUB
|
||||||
d-i grub-installer/only_debian boolean true
|
d-i grub-installer/only_debian boolean true
|
||||||
|
|||||||
@@ -28,26 +28,43 @@ d-i time/zone string Europe/Zurich
|
|||||||
|
|
||||||
# Configuration du partitionnement avec chiffrement complet (LUKS)
|
# Configuration du partitionnement avec chiffrement complet (LUKS)
|
||||||
d-i partman-auto/method string crypto
|
d-i partman-auto/method string crypto
|
||||||
d-i partman-auto/disk string /dev/disk/by-id/ata-*
|
|
||||||
d-i partman-auto-lvm/guided_size string max
|
d-i partman-auto-lvm/guided_size string max
|
||||||
d-i partman-auto/choose_recipe select atomic
|
d-i partman-auto-lvm/new_vg_name string debian-vg
|
||||||
d-i partman-lvm/device_remove_lvm boolean true
|
d-i partman-lvm/device_remove_lvm boolean true
|
||||||
d-i partman-md/device_remove_md boolean true
|
d-i partman-md/device_remove_md boolean true
|
||||||
d-i partman-auto-crypto/erase_disks boolean true
|
d-i partman-auto-crypto/erase_disks boolean true
|
||||||
d-i partman-auto-crypto/confirm boolean true
|
d-i partman-auto-crypto/confirm boolean true
|
||||||
d-i partman-auto-crypto/confirm_nooverwrite boolean true
|
d-i partman-auto-crypto/confirm_nooverwrite boolean true
|
||||||
|
d-i partman-auto/choose_recipe select boot-crypto
|
||||||
|
d-i partman-auto/expert_recipe string \n\
|
||||||
|
boot-crypto :: \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\
|
||||||
|
.
|
||||||
# IMPORTANT : Le mot de passe de chiffrement sera demandé durant l'installation
|
# IMPORTANT : Le mot de passe de chiffrement sera demandé durant l'installation
|
||||||
|
# Schéma de partitionnement chiffré :
|
||||||
|
# - Partition EFI de 512 MB pour le démarrage UEFI (non chiffrée)
|
||||||
|
# - Partition racine BTRFS avec LVM chiffrée (snapshots possibles)
|
||||||
|
# - Pas de partition swap
|
||||||
|
|
||||||
# Confirmation du partitionnement
|
# Confirmation du partitionnement
|
||||||
d-i partman-partitioning/confirm_write_new_label boolean true
|
d-i partman-partitioning/confirm_write_new_label boolean true
|
||||||
d-i partman/choose_partition select finish
|
d-i partman/choose_partition select finish
|
||||||
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
|
||||||
d-i partman-basicfilesystems/no_swap boolean false
|
d-i partman-basicfilesystems/no_swap boolean true
|
||||||
|
|
||||||
# Sélection des tâches d'installation (installation minimale sécurisée)
|
# Sélection des tâches d'installation (installation minimale sécurisée)
|
||||||
tasksel tasksel/first multiselect minimal
|
tasksel tasksel/first multiselect minimal
|
||||||
d-i pkgsel/include string openssh-server
|
d-i pkgsel/include string openssh-server btrfs-progs timeshift
|
||||||
|
|
||||||
# Configuration du chargeur de démarrage GRUB
|
# Configuration du chargeur de démarrage GRUB
|
||||||
d-i grub-installer/only_debian boolean true
|
d-i grub-installer/only_debian boolean true
|
||||||
|
|||||||
Reference in New Issue
Block a user