Created
November 19, 2017 20:15
-
-
Save oscarkraemer/c8747fbc85e7f908dcc00b4357fb04b2 to your computer and use it in GitHub Desktop.
Linux UEFI boot on Lenovo m91p
This file contains hidden or 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" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is not working for me. I have an old ThinkCentre M91p that I'm trying to use as a ubuntu server (no dual boot). The original gist commands run without any errors, but result in the same 1962: No OS present -error like everything else.