You are not logged in.
Hi.
I have a running arch system with gpt/UEFI using grub boot loader. Everything is working, machine is booting properly.
Now for some reasons I want to make my HD being bootable in another machine also. Unfortunatly the alternative box comes with a Asus Mainboard. Developers of firmware did their own way of implementing EFI boot. After hours of search I was able to boot the HD in this box by renaming and providing the grubx64.efi at another location with a different name.
This is what I did to get it up and running:
cp /boot/efi/EFI/arch/grubx64.efi /boot/efi/EFI/boot/bootx64.efi
The installation partition for EFI is /dev/sda1 and this is mounted at /boot/efi.
Provided, I want to keep my existing /etc/default/grub configuration, how would one proceed to
a) remove the the existing grubx64.efi and
b) install it in the desired location
without breaking the boot process? :)
Thanks,
fuz
Offline
Provided, I want to keep my existing /etc/default/grub configuration, how would one proceed to
a) remove the the existing grubx64.efi
No need to do so
and
b) install it in the desired location
You've already done this when you copied it over.
No additional steps are required.
Offline
Thank you very much for your help and the quick reply.
Would you mind explain to me why I am done?
I wonder how will grub know where to store a new grubx64.efi or better a new bootx64.efi file once it needs to? Or will it never be touched again and the boot loader searches the whole /boot/efi/EFI/ directory tree until it finds a file it could use?
Do not get me wrong, I am happy if there is nothing left to do
Just I did not get the point why not
Thanks,
fuz
Offline
And...
Is it OK to just
rm -rf /boot/efi/EFI/arch/grubx64.efi
to get rid of it and use the fresh copied one at /boot/efi/EFI/boot/bootx64.efi from now on?
Thanks,
fuz
Offline