On Wed, Oct 18, 2023 at 12:02:12AM +0200, paul wrote: > Hello Efraim and Vagrant, > > thank you for your help so far. I still have problems booting from nvme. > This is my guix situation: > > Generation 7 Oct 15 2023 23:49:39 (current) > small-guix 4d7a590 > repository URL:https://gitlab.com/orang3/small-guix > branch: master > commit: 4d7a5904c760aa4e5fd81434614da9887a0324eb > nonguix 14656d6 > repository URL:https://gitlab.com/nonguix/nonguix > branch: master > commit: 14656d642dc113c73f9b144ccba366376a274a2b > guix e160054 > repository URL:https://git.savannah.gnu.org/git/guix.git > branch: master > commit: e1600546b93bbc2d545730f02e071d35037a1d1a > > On 10/15/23 08:22, Efraim Flashner wrote: > > Here's a link¹ to my pinebookpro config. The short version is you need > > to change the bootloader to use grub-efi (apparently I went with > > grub-efi-removable-bootloader but I don't remember why) > > > > (bootloader > > (bootloader-configuration > > (bootloader grub-efi-removable-bootloader) > > (targets '("/boot/efi")) > > (keyboard-layout keyboard-layout))) > > > > And you need to add /boot/efi as a vfat file system. > > > > (file-systems > > (cons* (file-system > > (device (file-system-label "Guix_image")) > > (mount-point "/") > > (type "btrfs") > > (options "compress=zstd,discard,space_cache=v2")) > > (file-system > > (mount-point "/boot/efi") > > (device (file-system-label "GNU-ESP")) > > (type "vfat")) > > %base-file-systems)) > > I'm attaching the configuration I used, this is the command: > > $ guix system image --image-type=pinebook-pro-raw --system=aarch64-linux libre.scm > /gnu/store/r02skdx8jq35mdhh0l8sij423ksqk0hm-disk-image > > $ sudo dd if=/gnu/store/r02skdx8jq35mdhh0l8sij423ksqk0hm-disk-image of=/dev/nvme0n1 bs=4M status=progress oflag=sync > > > but what I got after choosing nvme is in the pinebook-pro-raw.jpg I > attached. > > > ¹https://git.sr.ht/~efraim/guix-config/tree/master/item/pinebookpro.scm#L56 > > Then I noticed that in your configuration [0] you mention the format > efi-raw, so I tried: > > guix system image --image-type=efi-raw --system=aarch64-linux libre.scm > > which gives me > > guix system: error: EFI bootloader required with GPT partitioning > > > What am I doing wrong :( ? Again, thank you for the time you are putting in > this. > There was a recent change to make sure that EFI bootloaders and GPT partitions were paired together, but it looks like it was limited to grub-efi and grub-efi32. Try applying this patch to guix and then using ./pre-inst-env to build the image. -- Efraim Flashner רנשלפ םירפא GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted