Advertisement
pushrbx

Reminder how to fix my uefi boot shit after bios update

May 6th, 2021
971
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.56 KB | None | 0 0
  1. # Fix ma uefi boot shit:
  2. # useful info at: https://www.linuxbabe.com/command-line/how-to-use-linux-efibootmgr-examples
  3. # - from bios start EFI shell then:
  4. # fs0:
  5. # \EFI\Manjaro\grubx64.efi
  6. # this will boot grub, so we can go in manjaro and open a shell
  7. # in the shell:
  8. # check the current entries:
  9. sudo efibootmgr
  10. # add grub if missing (you can check the device name with df for the -d flag):
  11. sudo efibootmgr -c -d /dev/nvme0n1 -p 1 -L Manjaro -l \EFI\Manjaro\grubx64.efi
  12. # run to get the numbers:
  13. sudo efibootmgr
  14. # set boot order:
  15. sudo efibootmgr -o 1,0,4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement