GRUBENV error when using BTRFS

@hydra,

Did you try to do this also?
This approach will use your existing ESP and thus you won’t need a separate /boot partition…

  1. Unmount /boot/efi

  2. Mount your ESP at /efi and create a subdir for manjaro at /efi/Manjaro

  3. Recursively copy the contents of /boot to /efi/Manjaro using sudo cp -var /boot/* /efi/Manjaro.

  4. Bind-mount the /efi/Manjaro directory as /boot eg:
    systemd-mount -o bind /efi/Manjaro /boot
    And this in fstab:

    /efi/Manjaro   /boot   none    bind
    

    Or use: [root tip] systemd mount unit samples
    (Ofcourse don’t forget to adjust your entry for your ESP to mount it at /efi before this)

  5. If you still have a directory /boot/efi (which should be empty now), you can remove that dir because it won’t be used/needed anymore.

  6. Re-install grub with the ESP at /efi:
    sudo grub-install --target=x86_64-efi --efi-directory=/efi --bootloader-id=Manjaro --recheck --verbose

4 Likes