]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - stand/man/boot1.efi.8
bhyvectl(8): Normalize the man page date
[FreeBSD/FreeBSD.git] / stand / man / boot1.efi.8
1 .\"
2 .\" Copyright (c) 2020 Netflix, Inc
3 .\"
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
6 .\" are met:
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.
12 .\"
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
23 .\" SUCH DAMAGE.
24 .\"
25 .\" $FreeBSD$
26 .\"
27 .Dd September 1, 2020
28 .Dt BOOT1.EFI 8
29 .Os
30 .Sh NAME
31 .Nm boot1.efi
32 .Nd UEFI chain loader
33 .Sh DESCRIPTION
34 .Nm
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.
37 .Pp
38 On UEFI systems,
39 .Nm
40 loads
41 .Pa /boot/loader.efi
42 from the default root file system and transfers execution there.
43 .Ss Initialization
44 Before looking for the boot device,
45 .Nm
46 does the following initialization
47 .Bl -bullet
48 .It
49 Sets up the console using the default UEFI console routines.
50 .It
51 Discovers all possible block devices on the system.
52 .It
53 Initializes all file system modules to read files from those devices
54 .El
55 .Ss Boot Device Selection
56 .Nm
57 uses the following sequence to determine the root file system for
58 booting:
59 .Bl -bullet
60 .It
61 If ZFS is configured,
62 .Nm
63 will search the for zpools that are bootable, preferring the zpool on
64 the boot device over the others.
65 .It
66 If UFS is configured,
67 .Nm
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.
72 .El
73 .Pp
74 A partition is considered bootable if it can load
75 .Pa /boot/loader.efi
76 from it.
77 Command line arguments to the next boot stage are
78 read from the first existing file of
79 .Pa /boot.config
80 or
81 .Pa /boot/config
82 in that order.
83 .Ss Caveats
84 .Bl -bullet
85 .It
86 The order in which file systems are tried is undefined.
87 .It
88 No encryption support is available.
89 .It
90 There's no way to interrupt the boot process to select booting from some
91 other location.
92 .It
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.
95 .It
96 There's no support for marking partitions as the preferred one.
97 .It
98 There's no support for boot-once functionality.
99 .El