From fef9269d38335908199e4b94cb3e0252dc504d9c Mon Sep 17 00:00:00 2001 From: codefiles <11915375+codefiles@users.noreply.github.com> Date: Fri, 8 Mar 2024 05:24:35 -0500 Subject: Fix home partition start and length (#2391) --- archinstall/lib/interactions/disk_conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'archinstall/lib') diff --git a/archinstall/lib/interactions/disk_conf.py b/archinstall/lib/interactions/disk_conf.py index bbd8957d..b8c6adad 100644 --- a/archinstall/lib/interactions/disk_conf.py +++ b/archinstall/lib/interactions/disk_conf.py @@ -310,8 +310,8 @@ def suggest_single_disk_layout( # If we don't want to use subvolumes, # But we want to be able to reuse data between re-installs.. # A second partition for /home would be nice if we have the space for it - home_start = root_partition.length - home_length = device.device_info.total_size - root_partition.length + home_start = root_partition.start + root_partition.length + home_length = device.device_info.total_size - home_start if using_gpt: home_length -= align_buffer -- cgit v1.2.3-70-g09d2