linux:debian:laptop-uefi-grub-fix
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| linux:debian:laptop-uefi-grub-fix [2021/02/13 20:16] – oscar | linux:debian:laptop-uefi-grub-fix [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Fix EFI boot manager ignores boot order ====== | ||
| - | ===== Problem ===== | ||
| - | Boot order cannot be altered by " | ||
| - | ===== Fix ===== | ||
| - | Step 1: replace bootmgfw.efi | ||
| - | cd / | ||
| - | mv bootmgfw.efi bootmgfw.original.efi | ||
| - | cp / | ||
| - | | ||
| - | Step 2: Make Grub enry for original bootmgfw.efi | ||
| - | Problem with this is that the Windows 10 entry in the grub boot menu is now also pointing to a grubx64.efi copy. Looping into grub again when you select " | ||
| - | So we need to make an extra grub menu entry pointing to the original bootmgfw.efi | ||
| - | nano / | ||
| - | Add the following to the bottom of the file: | ||
| - | menuentry ' | ||
| - | search --fs-uuid --no-floppy --set=root 502B-5BC6 | ||
| - | chainloader (${root})/ | ||
| - | } | ||
| - | Where 502B-5BC6 is obtained from finding the EFI partition with fdisk -l and the UUID with blkid: | ||
| - | fdisk -l | ||
| - | | ||
| - | Device | ||
| - | / | ||
| - | / | ||
| - | / | ||
| - | / | ||
| - | / | ||
| - | / | ||
| - | / | ||
| - | | ||
| - | blkid /dev/sda1 | ||
| - | /dev/sda1: UUID=" | ||
| - | |||
| - | Update grub on disk | ||
| - | update-grub | ||
| - | | ||
| - | |||
| - | | ||
| - | |||
| - | |||
| - | |||
linux/debian/laptop-uefi-grub-fix.1613247374.txt.gz · Last modified: (external edit)
