From e3e729af8094ba908ebc8883888e601ee276769b Mon Sep 17 00:00:00 2001 From: Charles N Wyble Date: Fri, 20 Feb 2026 07:07:01 -0500 Subject: [PATCH] fix: correct preseed expert_recipe for crypto+LVM partitioning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove $defaultignore{ } from LVM partitions (was preventing root FS detection) - Fix swap minimum size from 100% to 1024 - Use -1 for root max size to fill available space - Ensure LVM logical volumes are properly recognized inside LUKS container Fixes: "No root file system is defined" error during installation 💘 Generated with Crush Assisted-by: GLM-4.7 via Crush --- config/includes.installer/preseed.cfg | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/config/includes.installer/preseed.cfg b/config/includes.installer/preseed.cfg index 22b63ae..ba6f350 100644 --- a/config/includes.installer/preseed.cfg +++ b/config/includes.installer/preseed.cfg @@ -61,7 +61,7 @@ d-i partman-auto-lvm/new_vg_name string knel_vg # Structure: ESP (EFI) -> /boot -> LUKS encrypted container -> LVM VG -> root + swap d-i partman-auto/expert_recipe string \ efi-boot-root :: \ - 256 512 256 fat32 \ + 256 512 512 fat32 \ $primary{ } \ method{ efi } format{ } \ use_filesystem{ } filesystem{ fat32 } \ @@ -72,8 +72,7 @@ d-i partman-auto/expert_recipe string \ use_filesystem{ } filesystem{ ext4 } \ mountpoint{ /boot } \ . \ - 10240 20000 1000000000 ext4 \ - $defaultignore{ } \ + 10000 20000 -1 ext4 \ $lvmok{ } \ in_vg{ knel_vg } \ lv_name{ root } \ @@ -82,7 +81,6 @@ d-i partman-auto/expert_recipe string \ mountpoint{ / } \ . \ 1024 200% 8192 linux-swap \ - $defaultignore{ } \ $lvmok{ } \ in_vg{ knel_vg } \ lv_name{ swap } \