0

I have two hard drives, one of which already contains Window 10. I installed Ubuntu on sdb following these instructions. After switching the boot order to my second drive, however, the computer reports that it cannot find grub.efi

To fix it, I followed this instruction. But grub repair was enable to fix my issue, and it yield this report instead.

I'm now writing this from a USB stick, by the way.

2 Answers2

0

If your EFI partition is set up with .../EFI/Boot/bootx64.efi as a copy of shimx64.efi (check the sizes), then there needs to be a copy of grubx64.efi in that same directory, .../EFI/Boot/grubx64.efi.


While running the USB, start a terminal (ctrl alt t, or use the dash launcher for gnome terminal). Make a directory in /mnt to mount the second hard disk:

sudo mkdir /mnt/d2  

Mount the second partition of sdb there:

sudo mount -tvfat /dev/sdb2 /mnt/d2  

Copy the missing file:

sudo cp /mnt/d2/EFI/ubuntu/grubx64.efi /mnt/d2/EFI/Boot/grubx64.efi

unmount the disk partition:

sudo umount /mnt/d2

Try rebooting the sdb disk now. If you get the same error, repeat on sda, it looks like it's missing there too.

ubfan1
  • 17,838
0

What is exactly going on when you boot? Do you arrive at grub?

If not it must be a bios issue, the highest priority of the boot should be on ubuntu so it will give you the grub

PaoloC
  • 11