Hi geeks, I try to install Guix System on LVM on LUKS. Installation succeeded, but the system can't boot.
When powered on, GRUB stops with: > Booting `GNU with Linux-Libre 5.11.15' > error: no such device: > /gnu/store/5axms2d6yqx1zqbcjn3cl015cbcaf7i1-linux-libre-5.11.15/bzImage. > error: file > `/gnu/store/5axms2d6yqx1zqbcjn3cl015cbcaf7i1-linux-libre-5.11.15/bzImage' not > found. > error: you need to load the kernel first. > Press any key to continue... Ok, I fixed that problem by doing: > grub> ls > (proc) (hd0) (hd0,gpt3) (hd0,gpt2) (hd0,gpt1) > grub> insmod cryptodisk > grub> insmod luks > grub> insmod lvm > grub> cryptomount (hd0,gpt3) > Attempting to decrypt master key... > Enter passphrase for hd0,gpt3 (7bf9bff8229847978d253d7a0ea31ae8): > Slot 0 opened > grub> ls > (crypto0) (proc) (hd0) (hd0,gpt3) (hd0,gpt2) (hd0,gpt1) (lvm/vg0-home) > (lvm/vg0-root) (lvm/vg0-swap) However, now I get the following error: > Welcome, this is GNU's early boot Guile. > Use '--repl' for an initrd REPL. > > loading kernel modules... > Volume group "vg0" not found > Cannot process volume group vg0 > ice-9/boot-9.scm:1669:16: In procedure raise-exception: > pre-mount actions failed Do I need file-system-dependencies? Is there an example? Help me please... *** Appx.1 Block devices list > Dev GiB Struct Mount point > sda1 .25 fat32 /boot/efi > sda2 .5 ext4 /boot > sda3 15+ luks > mapper/pv0 luks opened = lvm physical volume > mapper/vg0-swap 1 swap > mapper/vg0-root 10 ext4 / > mapper/vg0-home 4+ ext4 /home *** Appx.2 config.scm: bootloader, mapped-devices and file-systems > (bootloader (bootloader-configuration > (bootloader grub-efi-bootloader) > (target "/boot/efi"))) > > (mapped-devices > (list (mapped-device > (source "/dev/sda3") > (target "pv0") > (type luks-device-mapping)) > (mapped-device > (source "vg0") > (targets (list "vg0-swap" "vg0-root" "vg0-home")) > (type lvm-device-mapping)))) > > (file-systems (append > (list (file-system > (device "/dev/mapper/vg0-root") > (mount-point "/") > (type "ext4")) > (file-system > (device "/dev/mapper/vg0-home") > (mount-point "/home") > (type "ext4")) > (file-system > (device "/dev/sda2") > (mount-point "/boot") > (type "ext4")) > (file-system > (device "/dev/sda1") > (mount-point "/boot/efi") > (type "vfat"))) > %base-file-systems)) *** Appx.3 grub.cfg: menuentry > menuentry "GNU with Linux-Libre 5.11.15" { > search --file --set > /gnu/store/5axms2d6yqx1zqbcjn3cl015cbcaf7i1-linux-libre-5.11.15/bzImage > linux > /gnu/store/5axms2d6yqx1zqbcjn3cl015cbcaf7i1-linux-libre-5.11.15/bzImage > --root=/dev/mapper/vg0-root > --system=/gnu/store/my6gn1kqajhi720s3x5h1gjj9n2y2hs7-system > --load=/gnu/store/my6gn1kqajhi720s3x5h1gjj9n2y2hs7-system/boot > modprobe.blacklist=usbmouse,usbkbd quiet > initrd /gnu/store/vwyf16g511h8ls44fabrqldq3nfhxljw-raw-initrd/initrd.cpio.gz > } Best regards, Nikolay