As we know, EFI boot is not limited to GPT partition table, and MBR is ok.
I've a legacy disk with msdos partition table, and I'd like to reinstall it into archlinux.
In wiki:
https://wiki.archlinux.org/index.php/GRUB#UEFI_systems
it also said that GPT is not necessary.
GPT is not strictly necessary, but it is highly recommended and is the only method currently supported in this article.
What is the way to install grub EFI boot to my hard drive with MBR partition table? Thx.
Assuming:
Burn a live usb of ubuntu 16.04 with amd64 architecture, boot on it and paste these commands:
Install os-prober or efibootmgr if it isn't installed yet:
Grub in efi mode is probably not installed, install it too
Then, install grub:
Don't try to use grub-mkconfig, it will not work. Instead, boot from your newly grub bootloader, you will have a grub shell, paste these commands:
After that, you should be on linux, mount your efi partition (to /boot/efi !) if it's not already, install grub/os-prober/efibootmgr, and run these:
Reboot, and grub is back and working