mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-22 08:51:12 +00:00
Update cheatsheets
This commit is contained in:
29
linux/efibootmgr
Normal file
29
linux/efibootmgr
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# efibootmgr
|
||||
|
||||
> Manipulate the UEFI Boot Manager.
|
||||
> More information: <https://manned.org/efibootmgr>.
|
||||
|
||||
- List the current settings then bootnums with their name:
|
||||
|
||||
`efibootmgr`
|
||||
|
||||
- List the filepaths:
|
||||
|
||||
`efibootmgr -v`
|
||||
|
||||
- Add UEFI Shell v2 as a boot option:
|
||||
|
||||
`sudo efibootmgr -c -d {{/dev/sda1}} -l {{FI ools\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`
|
||||
Reference in New Issue
Block a user