fix: preseed.cfg UEFI partitioning and user password prompts

- Add EFI System Partition (ESP) for UEFI boot support
- Add $defaultignore{ } to LVM partitions for proper crypto handling
- Add in_vg{ knel_vg } and lv_name{ } for explicit volume placement
- Change debconf priority from critical to high to allow user password prompts
- Update documentation dates to 2026-02-19
- Update ISO size references from 450 MB to 816 MB
- Update checksums to current values

Fixes installer error "No root file system is defined"
Fixes missing non-root user password prompt

💘 Generated with Crush

Assisted-by: GLM-4.7 via Crush <crush@charm.land>
This commit is contained in:
Charles N Wyble
2026-02-19 23:29:31 -05:00
parent 81f97687d9
commit 626e49c3e7
5 changed files with 43 additions and 25 deletions

View File

@@ -9,8 +9,9 @@ d-i console-setup/variantcode string
d-i keyboard-configuration/xkb-keymap select us
d-i keyboard-configuration/toggle select No toggling
# Set debconf priority to critical to suppress non-essential questions
d-i debconf/priority select critical
# Set debconf priority to high (allows user password prompts)
# Using 'critical' suppresses the non-root user password prompt
d-i debconf/priority select high
# Network configuration
d-i netcfg/choose_interface select auto
@@ -48,28 +49,43 @@ d-i passwd/user-default-groups string audio,video,plugdev,input,cdrom,floppy
# This will be configured in post-installation hooks
# Partitioning (LUKS full disk encryption - MANDATORY)
# For UEFI systems, we need: EFI System Partition, /boot, encrypted LUKS+LVM
d-i partman-auto/disk string /dev/sda
d-i partman-auto/method string crypto
d-i partman-auto-lvm/device_remove_lvs boolean true
d-i partman-auto-lvm/device_remove_lvs_span boolean true
d-i partman-auto-lvm/guided_size string max
d-i partman-auto-lvm/new_vg_name string knel_vg
# Expert recipe for UEFI + encrypted LVM
# Structure: ESP (EFI) -> /boot -> LUKS encrypted container -> LVM VG -> root + swap
d-i partman-auto/expert_recipe string \
boot-root :: \
256 512 256 ext4 \
efi-boot-root :: \
256 512 256 fat32 \
$primary{ } \
method{ efi } format{ } \
use_filesystem{ } filesystem{ fat32 } \
. \
512 1024 512 ext4 \
$primary{ } $bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /boot } \
. \
1024 10000 1000000000 ext4 \
10240 20000 1000000000 ext4 \
$defaultignore{ } \
$lvmok{ } \
in_vg{ knel_vg } \
lv_name{ root } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ / } \
. \
512 200% 2048 linux-swap \
1024 200% 8192 linux-swap \
$defaultignore{ } \
$lvmok{ } \
in_vg{ knel_vg } \
lv_name{ swap } \
method{ swap } format{ } \
.