From 1227babd8cf67750926df4bb75a8106a114a4693 Mon Sep 17 00:00:00 2001 From: HADEON <52324046+h8d13@users.noreply.github.com> Date: Mon, 22 Dec 2025 12:05:30 +0100 Subject: [PATCH] Change LVM /root def to adapt dynamically (#4005) * Change def size from 20 -> 32 Rest is still calculated from available - root. * Use the existing process_root_partition_size(): For LVM just like regular disk best-effort. This is only for single disk layouts. --- archinstall/lib/interactions/disk_conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archinstall/lib/interactions/disk_conf.py b/archinstall/lib/interactions/disk_conf.py index 1f349786..43a82529 100644 --- a/archinstall/lib/interactions/disk_conf.py +++ b/archinstall/lib/interactions/disk_conf.py @@ -602,7 +602,7 @@ def suggest_lvm_layout( [p.length for p in other_part], Size(0, Unit.B, SectorSize.default()), ) - root_vol_size = Size(20, Unit.GiB, SectorSize.default()) + root_vol_size = process_root_partition_size(total_vol_available, SectorSize.default()) home_vol_size = total_vol_available - root_vol_size lvm_vol_group = LvmVolumeGroup(vg_grp_name, pvs=other_part)