This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://www.rodsbooks.com/linux-uefi/ | |
# 1. Install Linux normally | |
# 2. Boot from Linux live usb drive | |
# 3. Most likely /dev/sda1 but it can be something else: | |
mount /dev/sda1 /mnt | |
mkdir -p /mnt/EFI/Microsoft/Boot | |
# 5. Depending on if it is ubuntu, centos or any other distro: | |
cp /mnt/EFI/centos/grubx64.efi /mnt/EFI/Microsoft/Boot/bootmgfw.efi | |
# I don't remember but I think it was like this. | |
7 efibootmgr --create --label "Windows Boot Manager" --loader "\EFI\Microsoft\Boot\bootmgfw.efi" |