Skip to content

Commit 1227bab

Browse files
authored
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.
1 parent ba5f924 commit 1227bab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

archinstall/lib/interactions/disk_conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ def suggest_lvm_layout(
602602
[p.length for p in other_part],
603603
Size(0, Unit.B, SectorSize.default()),
604604
)
605-
root_vol_size = Size(20, Unit.GiB, SectorSize.default())
605+
root_vol_size = process_root_partition_size(total_vol_available, SectorSize.default())
606606
home_vol_size = total_vol_available - root_vol_size
607607

608608
lvm_vol_group = LvmVolumeGroup(vg_grp_name, pvs=other_part)

0 commit comments

Comments
 (0)