efibootmgr: update page (#13250)
This commit is contained in:
@@ -3,22 +3,22 @@
|
|||||||
> Manipulate the UEFI Boot Manager.
|
> Manipulate the UEFI Boot Manager.
|
||||||
> More information: <https://manned.org/efibootmgr>.
|
> More information: <https://manned.org/efibootmgr>.
|
||||||
|
|
||||||
- List the current settings then bootnums with their name:
|
- List all boot options with their numbers:
|
||||||
|
|
||||||
`efibootmgr`
|
`efibootmgr {{-u|--unicode}}`
|
||||||
|
|
||||||
- List the filepaths:
|
|
||||||
|
|
||||||
`efibootmgr -v`
|
|
||||||
|
|
||||||
- Add UEFI Shell v2 as a boot option:
|
- Add UEFI Shell v2 as a boot option:
|
||||||
|
|
||||||
`sudo efibootmgr -c -d {{/dev/sda1}} -l {{\EFI\tools\Shell.efi}} -L "{{UEFI Shell}}"`
|
`sudo efibootmgr -c -d {{/dev/sda}} -p {{1}} -l "{{\path\to\shell.efi}}" -L "{{UEFI Shell}}"`
|
||||||
|
|
||||||
|
- Add Linux as a boot option:
|
||||||
|
|
||||||
|
`sudo efibootmgr --create --disk {{/dev/sda}} --part {{1}} --loader "{{\vmlinuz}}" --unicode "{{kernel_cmdline}}" --label "{{Linux}}"`
|
||||||
|
|
||||||
- Change the current boot order:
|
- Change the current boot order:
|
||||||
|
|
||||||
`sudo efibootmgr -o {{0002,0008,0001,0005}}`
|
`sudo efibootmgr {{-o|--bootorder}} {{0002,0008,0001,0005}}`
|
||||||
|
|
||||||
- Delete a boot option:
|
- Delete a boot option:
|
||||||
|
|
||||||
`sudo efibootmgr -b {{0008}} --delete-bootnum`
|
`sudo efibootmgr {{-b|--bootnum}} {{0008}} {{-B|--delete-bootnum}}`
|
||||||
|
Reference in New Issue
Block a user