mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 22:22:18 +02:00

Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com> Co-authored-by: Seth Falco <seth@falco.fun> Co-authored-by: Patrice Denis <patricedenis@users.noreply.github.com>
24 lines
477 B
Markdown
24 lines
477 B
Markdown
# efibootmgr
|
|
|
|
> Manipulate the UEFI Boot Manager.
|
|
> More information: <https://manned.org/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`
|