Lines Matching +full:boot +full:- +full:method
1 .\"-
2 .\" SPDX-License-Identifier: BSD-2-Clause
4 .\" Copyright (c) 2017-2018 Netflix, Inc.
32 .Nd manipulate the EFI Boot Manager
73 .Fl u Ar unix-path
77 program manipulates how UEFI Boot Managers boot the system.
80 It can also change the defined order of boot methods.
81 It can create a temporary boot (BootNext) variable that references a
82 boot method to be tried once upon the next boot.
86 Each method is encapsulated within a persistent UEFI variable,
88 .Cm Boot Ns Em XXXX
91 program from, and whether or not the method is active (used for booting,
92 otherwise the method will be skipped).
95 The currently booted method is communicated using
103 non-volatile variables.
106 .Bl -tag -width Ds
107 .It Fl a -activate
110 boot entry, or the new entry when used with
112 .It Fl A -deactivate
115 boot entry.
116 .It Fl b -bootnum Ar bootnum
124 .Dq boot ,
126 .It Fl B -delete
129 boot entry.
130 .It Fl c -create
132 .Cm Boot
133 variable (aka method or entry).
134 .It Fl D -dry-run
136 .It Fl e -env
138 .Cm Boot
146 .Cm Boot
151 .It Fl E -esp
158 This is the ESP partition used by UEFI to boot the current
161 .Fl d -device-path
164 .Fl p -unix-path
166 .It Fl f -fw-ui , Fl F -no-fw-ui
168 interface on the next boot.
169 .It Fl k -kernel Ar kernel
171 .It Fl l -loader Ar loader
173 .It Fl L -label Ar label
174 An optional description for the method.
175 .It Fl n -bootnext
178 boot entry as the
181 .It Fl N -delete-bootnext
185 .It Fl o -bootorder Ar bootorder
191 .Cm Boot Ns Em XXXX ,
193 .It Fl t -set-timeout Ar timeout
195 .It Fl T -del-timeout
199 .It Fl u -efidev Ar unix-path
201 .Ar unix-path .
202 .It Fl v -verbose
203 Display the device path of boot entries in the output.
207 .Cm Boot
210 .Dl efibootmgr -v
216 (currently booted method), followed by the optional
221 .Cm Boot
226 size/offset and device-path of the variable.
231 program can be used to create new EFI boot variables.
232 The following command may be used to create a new boot method, using
234 .Pa /boot/efi ,
235 mark the method active, using
236 the given loader and label the method
237 .Qq FreeBSD-15 :
239 .Dl efibootmgr -a -c -l /boot/efi/EFI/freebsd/loader.efi -L FreeBSD-15
242 new UEFI boot variable, and given the label
243 .Qq FreeBSD-15
246 .Dl Boot0009 FreeBSD-15
248 Note newly created boot entries are, by default, created inactive, hence
253 .Cm Boot Ns Em XXXX
261 .Dl efibootmgr -B -b 0009
263 Will delete the given boot entry Boot0009.
265 To set the given boot entry active:
267 .Dl efibootmgr -a -b 0009
269 To set a given boot entry to be used as the
273 .Dl efibootmgr -n -b 0009
279 .Dl efibootmgr -o 0009,0003,...