I've recently created an Ubuntu 14.04 server 64 bit VM in VirtualBox, using EFI boot. I was being dropped to an EFI shell when booting the virtual machine, as presumably it could not find its correct .efi file to boot from.
Ubuntu creates that file at /boot/efi/EFI/grubx64.efi
. I can tell the EFI shell to boot form that file using:
fd0:\efi\ubuntu\grubx64.efi
However, I don't want to do this every time I boot the VM. So I copied tha file to the default location of /boot/efi/EFI/boot/bootx64.efi
. It now boots successfully without any further input.
I'm concerned that the /boot/efi/EFI/grubx64.efi
file will be updated in the normal Ubuntu update process, which will mean that the new /boot/efi/EFI/boot/bootx64.efi
file will be out of sync with it, unless I remember to copy it across.
Is it possible to use a symbolic link, or some other method to ensure that when the original file is updated, my copy at /boot/efi/EFI/grubx64.efi
reflects any changes?