mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
efibootmgr.8: fix example
The example given was for the old, and now deleted, Linux compatibility mode. Update the example for the current code. Submitted by: Vlad Movchan
This commit is contained in:
parent
51922c697b
commit
39c0a13bc7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=333384
|
@ -24,7 +24,7 @@
|
||||||
.\"
|
.\"
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd December 8, 2017
|
.Dd May 8, 2018
|
||||||
.Dt EFIBOOTMGR 8
|
.Dt EFIBOOTMGR 8
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
|
@ -111,10 +111,10 @@ variable.
|
||||||
The
|
The
|
||||||
.Nm
|
.Nm
|
||||||
program can be used to create new EFI boot variables. To create a new
|
program can be used to create new EFI boot variables. To create a new
|
||||||
boot var pointing to an installation on partition 1 of device ada0 using
|
boot var pointing to an installation with its EFI partition mounted
|
||||||
the given loader with a description FreeBSD-11:
|
under /mnt, the given loader and a label "FreeBSD-11":
|
||||||
.Pp
|
.Pp
|
||||||
.Dl efibootmgr -c -d ada0 -p 1 -l/EFI/BOOT/BOOTX64.EFI -L FreeBSD-11
|
.Dl efibootmgr -c -l /mnt/EFI/BOOT/BOOTX64.EFI -L FreeBSD-11
|
||||||
.Pp
|
.Pp
|
||||||
This will result in the next available BootVarNum being assigned to a
|
This will result in the next available BootVarNum being assigned to a
|
||||||
new UEFI load variable, and given the label "FreeBSD-11" such as:
|
new UEFI load variable, and given the label "FreeBSD-11" such as:
|
||||||
|
|
Loading…
Reference in a new issue