home · contact · privacy
Fix.
authorChristian Heller <c.heller@plomlompom.de>
Fri, 18 Apr 2025 06:22:19 +0000 (08:22 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Fri, 18 Apr 2025 06:22:19 +0000 (08:22 +0200)
bookworm/preseed.cfg

index ded64d7fe95acaa3be385e157c4a06366616a691..36900925d42123a216dcff0722326735c8215cab 100644 (file)
@@ -41,7 +41,34 @@ d-i partman-auto/init_automatically_partition select 70some_device_crypto_______
 d-i partman-auto/disk string /dev/nvme0n1p3
 #d-i partman-auto/select_disk select /var/lib/partman/devices/=dev=nvme0n1
 # "Partition disks":"Partitioning scheme:"/"All files in one partition (recommended for new users)"
-d-i partman-auto/choose_recipe select atomic
+d-i partman-auto/expert_recipe string custom-crypto :: \
+538 538 1075 free \
+       $iflabel{ gpt } \
+       $reusemethod{ } \
+       method{ efi } \
+       format{ } . \
+512 512 768 ext2 \
+       $defaultignore{ } \
+       method{ format } \
+       format{ } \
+       use_filesystem{ } \
+       filesystem{ ext2 } \
+       mountpoint{ /boot } . \
+900 10000 -1 $default_filesystem \
+       $lvmok{ } \
+        $lv_name{ root } \
+       method{ format } \
+       format{ } \
+       use_filesystem{ } \
+       $default_filesystem{ } \
+       mountpoint{ / } . \
+48000 48000 48000 linux-swap \
+       $lvmok{ } \
+        $lv_name{ swap } \
+       $reusemethod{ } \
+       method{ swap } \
+       format{ } .
+d-i partman-auto/choose_recipe select custom-crypto 
 # "Partition disks"/"Write the changes to disks and configure LVM?"
 d-i partman-lvm/confirm boolean true
 # "Partition disks"/"Erasing data on /dev/nvme0n1p3:"