Revision history [back]

I remember that my Acer laptop's BIOS only seemed to accept certain loader names, and also may have had a hierarchy of preferred EFI images.

You will likely need to do this all in a livecd. First run efibootmgr -v to get an idea how your system is presently configured.

With windows installed, I used efibootmgr --create --disk /dev/sda --part <ESP's partition number> --loader "\EFI\fedora\shimx64.efi" --label "Windows Boot Manager". Then you need to change the boot order with efibootmgr -o <comma separated boot order>. Use efibootmgr -v to find out what your order should be, but essentially, it's shimx64.efi, bootmgfw.efi, then bootx64.efi, then the rest. Make sure that you include all the IDs that had been there before. Ignore efibootmgr's complaint that you have two entries with the same name.

Now that I only run fedora, the process is essentially still the same, but the label I use is "Command Linpus lite"

If this doesn't help, sorry.

I remember that my Acer laptop's BIOS only seemed to accept certain loader names, and also may have had a hierarchy of preferred EFI images.

You will likely need to do this all in a livecd. livecd, as you say that your system isn't booting Linux. First run efibootmgr -v to get an idea how your system is presently configured.

With windows installed, I used efibootmgr --create --disk /dev/sda /dev/<hard drive device, likely sda> --part <ESP's partition number> --loader "\EFI\fedora\shimx64.efi" --label "Windows Boot Manager". Change the contents of the triangular brackets to match your environment. Then you need to change the boot order with efibootmgr -o <comma separated boot order>. (These are four digit hex numbers. I realise that referring to the entries in the next sentence by their file names may be confusing.) Use efibootmgr -v to find out what your order should be, but essentially, it's shimx64.efi, bootmgfw.efi, then bootx64.efi, then the rest. Make sure that you include all the IDs that had been there before. Ignore efibootmgr's complaint that you have two entries with the same name.

Now that I only run fedora, the process is essentially still the same, but the label I use is "Command Linpus lite"

If this doesn't help, sorry.