2 .\" Copyright (c) 2020 Netflix, Inc
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\" notice, this list of conditions and the following disclaimer in the
11 .\" documentation and/or other materials provided with the distribution.
13 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
35 has been deprecated and will be removed from a future release.
36 .Xr loader.efi 8 handles all its former use cases with more flexibility.
42 from the default root file system and transfers execution there.
44 Before looking for the boot device,
46 does the following initialization
49 Sets up the console using the default UEFI console routines.
51 Discovers all possible block devices on the system.
53 Initializes all file system modules to read files from those devices
55 .Ss Boot Device Selection
57 uses the following sequence to determine the root file system for
63 will search the for zpools that are bootable, preferring the zpool on
64 the boot device over the others.
68 will search all UFS partitions for a bootable partition.
69 It will prefer the lowest numbered bootable partition on the boot
70 device over all other choices.
71 It will fall back to partitions on other devices if none are found.
74 A partition is considered bootable if it can load
77 Command line arguments to the next boot stage are
78 read from the first existing file of
86 The order in which file systems are tried is undefined.
88 No encryption support is available.
90 There's no way to interrupt the boot process to select booting from some
93 When configuring a serial console for FreeBSD, but not for UEFI, no output
94 will show up on the serial console from boot1.efi.
96 There's no support for marking partitions as the preferred one.
98 There's no support for boot-once functionality.