Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/interactions/disk_conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall/lib/interactions/disk_conf.py')
-rw-r--r--archinstall/lib/interactions/disk_conf.py4
1 files changed, 2 insertions, 2 deletions
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