Message ID | cover.1722803521.git.lilah@lunabee.space |
---|---|
Headers | show |
Series | Rewrite bootloader subsystem. | expand |
Hi Lilah, On Sun, 4 Aug 2024 at 22:33, Lilah Tascheter <lilah@lunabee.space> wrote: > > Goddamnit, alright, how's this? Unfortunately it still doesn't work. Here is my debug session: Error: --8<---------------cut here---------------start------------->8--- In srfi/srfi-1.scm: 586:17 8 (map1 (#f #<<uuid> type: fat bv: #vu8(77 160 163 107)> #<<uuid> type: dce bv: #vu8(246 188 138 216 255 26 23 84 83 48 172 24 246 188 138 216)> #<<uuid> type: fat bv: #vu8(77 160 163 107)>)) In ice-9/eval.scm: 293:34 7 (_ #(#(#(#(#(#(#<directory (gnu bootloader) 7f49dbce61e0>) #f (#f #<<uuid> type: fat bv: #vu8(77 160 163 107)> #<<uuid> type: dce bv: #vu8(246 188 138 216 255 26 23 84 83 48 172 24 246 188 138 216)> #<<uuid> type: fat bv: #vu8(77 160 163 107)>)) #<procedure up (a)>) (#f)) (#f #f)) #<procedure offset (a)>)) 191:35 6 (_ #(#(#(#(#(#(#<directory (gnu bootloader) 7f49dbce61e0>) #f (#f #<<uuid> type: fat bv: #vu8(77 160 163 107)> #<<uuid> type: dce bv: #vu8(246 188 138 216 255 26 23 84 83 48 172 24 246 188 138 216)> #<<uuid> type: fat bv: #vu8(77 160 163 107)>)) #<procedure up (a)>) (#f)) (#f #f)) #<procedure offset (a)>)) 163:9 5 (_ #(#(#(#(#(#(#<directory (gnu bootloader) 7f49dbce61e0>) #f (#f #<<uuid> type: fat bv: #vu8(77 160 163 107)> #<<uuid> type: dce bv: #vu8(246 188 138 216 255 26 23 84 83 48 172 24 246 188 138 216)> #<<uuid> type: fat bv: #vu8(77 160 163 107)>)) #<procedure up (a)>) (#f)) (#f #f)) #<procedure offset (a)>)) In srfi/srfi-1.scm: 586:17 4 (map1 (#f)) In ice-9/eval.scm: 263:9 3 (_ #(#(#<directory (gnu bootloader) 7f49dbce61e0>) #f)) 155:9 2 (_ _) In ice-9/boot-9.scm: 1685:16 1 (raise-exception _ #:continuable? _) 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: In procedure struct-vtable: Wrong type argument in position 1 (expecting struct): #f --8<---------------cut here---------------end--------------->8--- Trying to debug it in REPL: --8<---------------cut here---------------start------------->8--- ,m (gnu bootloader) ,use (gnu bootloader grub) (bootloader-configuration->gexp (bootloader-configuration (bootloader grub-efi-bootloader) (targets (list (bootloader-target (type 'esp) (path "/boot"))))) '()) --8<---------------cut here---------------end--------------->8--- List of targets passed to normalize: --8<---------------cut here---------------start------------->8--- #<<bootloader-target> type: vendir expected?: #f path: "EFI/Guix" offset: #<procedure offset (a)> device: #f file-system: #f label: #f uuid: #f> #<<bootloader-target> type: install expected?: #f path: "boot" offset: #<procedure offset (a)> device: #f file-system: #f label: #f uuid: #f> #<<bootloader-target> type: root expected?: #f path: "/" offset: #<procedure offset (x)> device: #f file-system: #f label: #f uuid: #f> #<<bootloader-target> type: esp expected?: #f path: "/boot" offset: #<procedure feb5818 at <unknown port>:132:19 (x)> device: #f file-system: #f label: #f uuid: #f>) --8<---------------cut here---------------end--------------->8--- (mounts): --8<---------------cut here---------------start------------->8--- #<<mount> devno: 21 source: "none" point: "/proc" type: "proc" options: "rw,relatime"> #<<mount> devno: 6 source: "none" point: "/dev" type: "devtmpfs" options: "rw,relatime"> #<<mount> devno: 22 source: "none" point: "/sys" type: "sysfs" options: "rw,relatime"> #<<mount> devno: 2050 source: "/dev/sda2" point: "/" type: "ext4" options: "rw,relatime"> #<<mount> devno: 2049 source: "/dev/sda1" point: "/boot" type: "vfat" options: "rw,relatime"> #<<mount> devno: 24 source: "none" point: "/dev/pts" type: "devpts" options: "rw,relatime"> #<<mount> devno: 8 source: "none" point: "/sys/kernel/debug" type: "debugfs" options: "rw,relatime"> #<<mount> devno: 25 source: "tmpfs" point: "/dev/shm" type: "tmpfs" options: "rw,nosuid,nodev,relatime"> #<<mount> devno: 26 source: "efivarfs" point: "/sys/firmware/efi/efivars" type: "efivarfs" options: "rw,relatime"> #<<mount> devno: 2050 source: "/dev/sda2" point: "/gnu/store" type: "ext4" options: "ro,noatime"> #<<mount> devno: 27 source: "none" point: "/run/systemd" type: "tmpfs" options: "rw,nosuid,nodev,noexec,relatime"> #<<mount> devno: 28 source: "none" point: "/run/user" type: "tmpfs" options: "rw,nosuid,nodev,noexec,relatime"> #<<mount> devno: 29 source: "none" point: "/sys/fs/cgroup" type: "cgroup2" options: "rw,relatime"> #<<mount> devno: 30 source: "cgroup" point: "/sys/fs/cgroup/elogind" type: "cgroup" options: "rw,relatime"> #<<mount> devno: 31 source: "tmpfs" point: "/run/user/1000" type: "tmpfs" options: "rw,nosuid,nodev,relatime"> #<<mount> devno: 33 source: "portal" point: "/run/user/1000/doc" type: "fuse.portal" options: "rw,nosuid,nodev,relatime"> --8<---------------cut here---------------end--------------->8--- (disk-partitions): ("sda" "sda1" "sda2") labels: sda1: GNU-ESP sda2: Guix_image uuids: --8<---------------cut here---------------start------------->8--- (read-partition-uuid "/dev/sda2") #vu8(246 188 138 216 255 26 23 84 83 48 172 24 246 188 138 216) (read-partition-uuid "/dev/sda1") #vu8(77 160 163 107) --8<---------------cut here---------------end--------------->8--- It seems that device couldn't be guessed for the vendir target, as (unfold-pathcat) returns a path (/boot/EFI/Guix) that is not in (mounts).