Hi, using the Guix graphical installation method, one cannot install Guix on a drivewith more than 1 TiB. (symptom: "null pointer dereference" in mkpart) The reason is a bug in guile-parted. An example is to use the "separate /home" option with a 2 TiB disk. The fix that lets me install is: (for https://gitlab.com/mothacehe/guile-parted.gitmaster)
Toggle diff (19 lines)diff --git a/parted/unit.scm b/parted/unit.scmindex 6818b7e..68862a8 100644--- a/parted/unit.scm+++ b/parted/unit.scm@@ -147,7 +147,7 @@ out-range))) (if (return-int->bool result) (values (car- (parse-c-struct c-sector (list int)))+ (parse-c-struct c-sector (list sector-type))) (pointer->geometry (dereference-pointer out-range))) (values #f #f))))) However, even after that, disk-print, if used, prints nonsensical (negative)values for "free" (but installation succeeds). That bug prevents graphical installation on any drive bigger than 1 TiB.Let's make a bugfix Guix release shortly.
(name . Danny Milosavljevic)(address . firstname.lastname@example.org)(address . email@example.com)
Toggle quote (6 lines)> However, even after that, disk-print, if used, prints nonsensical (negative)> values for "free" (but installation succeeds).>> That bug prevents graphical installation on any drive bigger than 1 TiB.> Let's make a bugfix Guix release shortly.
Your fix seems ok for me, thank you! I don't get why you negative valuesthough. I'll try to find a big hard drive to understand this beforepushing this patch. Thanks, Mathieu