1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 06:42:10 +02:00

efibootmgr: add page (#3788)

This commit is contained in:
Spirit 2020-05-12 04:55:30 +00:00 committed by Starbeamrainbowlabs
parent c4898ab0ca
commit 9d46c436a4
No known key found for this signature in database
GPG key ID: 1BE5172E637709C2

24
pages/linux/efibootbgr.md Normal file
View file

@ -0,0 +1,24 @@
# efibootmgr
> Manipulate the UEFI Boot Manager (the Bootoptions).
> More information: https://linux.die.net/man/8/efibootmgr.
- List the current settings / bootnums:
`efibootmgr`
- List the filepaths:
`efibootmgr -v`
- Add UEFI Shell v2 as a boot option:
`sudo efibootmgr -c -d {{/dev/sda1}} -l {{\EFI\tools\Shell.efi}} -L "{{UEFI Shell}}"`
- Change the current boot order:
`sudo efibootmgr -o {{0002,0008,0001,0005}}`
- Delete a boot option:
`sudo efibootmgr -b {{0008}} --delete-bootnum`