Grubx64.efi does not exist

My brother and I are still in the process of changing the efi and cfg files. From the step where I did sudo mv grubx64.efi bootx64.efi
should enter, then this message appears: mv: cannot stat grubx64.efi : No such file or directory. That means that this file is not in /boot. But when I typed ls, I see the file there. Can someone please help us?

If you are using uefi, then grubx64.efi locates at /EFI/qubes/grubx64.efi. You have to move it to /EFI/BOOT/BOOTX64.efi.

Thanks

If you’ve been able to boot in Qubes OS then open dom0 terminal and run the commands below:

  • Copy files from /boot/efi/EFI/qubes/ to /boot/efi/EFI/BOOT/:
    sudo cp -r /boot/efi/EFI/qubes/* /boot/efi/EFI/BOOT/.
  • Change filenames grubx64.efi → BOOTX64.efi and grub.cfg → BOOTX64.cfg:
    sudo mv /boot/efi/EFI/BOOT/grubx64.efi /boot/efi/EFI/BOOT/BOOTX64.efi
    sudo mv /boot/efi/EFI/BOOT/grub.cfg /boot/efi/EFI/BOOT/BOOTX64.cfg
2 Likes