Lines Matching +full:auto +full:- +full:boot
9 bootadm \- manage bootability of the operating system
13 \fB/sbin/bootadm\fR update-archive [\fB-vn\fR] [\fB-R\fR \fIaltroot\fR [\fB-p\fR \fIplatform\fR]]
18 \fB/sbin/bootadm\fR list-archive [\fB-vn\fR] [\fB-R\fR \fIaltroot\fR [\fB-p\fR \fIplatform\fR]]
23 \fB/sbin/bootadm\fR install-bootloader [\fB-Mfv\fR] [\fB-R\fR \fIaltroot\fR] [\fB-P\fR \fIpool\fR]
33 \fB/sbin/bootadm\fR set-menu [\fB-R\fR \fIaltroot\fR] \fIkey\fR=\fIvalue\fR
38 \fB/sbin/bootadm\fR list-menu [\fB-R\fR \fIaltroot\fR] [\fB-o\fR \fIkey\fR=\fIvalue\fR\fR]
43 The \fBbootadm\fR command manages the boot archive and, with x86 boot
44 environments, the boot loader menu. The
45 \fBupdate-archive\fR option provides a way for user to update the boot archive
47 \fBset-menu\fR subcommand allows you to switch the \fBauto-boot\fR timeout and
48 default boot entry in the boot menu.
51 The \fBinstall-bootloader\fR subcommand installs the system boot loader on a
52 ZFS pool. If ZFS pool was not specified with the \fB-P\fR option, then the boot
54 system did not boot from a ZFS pool (for example, it booted an installer via PXE
55 or CD-ROM) then the \fB-P\fR option is required.
57 This subcommand can be used to install, update, and repair the boot loader on a
59 system have been replaced, one should run \fBbootadm install-bootloader\fR to
60 ensure that all disks in that pool have the system boot loader installed.
63 The \fBlist-menu\fR subcommand displays the location of the boot menu and the
64 current boot menu entries. The location of the boot menu list is
65 \fB/<boot pool root dataset mountpoint>/boot/menu.lst\fR.
66 Use the \fBlist-menu\fR subcommand to
67 locate the boot menu. See the EXAMPLES section for typical output from
68 the \fBlist-menu\fR option.
71 Note that OpenBoot PROM (OBP)-based machines, such as SPARC systems, use
72 PROM variables to set boot behavior and are managed by the \fBeeprom\fR(1M)
85 \fB\fBupdate-archive\fR\fR
89 Updates current boot archive if required. Applies to both SPARC and x86
96 \fB\fBlist-archive\fR\fR
100 Lists the files and directories to be included in the boot archive. Applies to
107 \fB\fBinstall-bootloader\fR\fR
111 Applies platform specific method to install the system boot loader to the disks
112 that are part of the selected ZFS pool (either specified with \fB-P\fR or
115 On SPARC, the boot loader is installed in the boot area of the disk partition
118 On x86, disks are formatted using either \fBMBR Partitioning\fR (Master Boot
120 sector on the disk that is used by the \fBBIOS\fR to find a boot loader
121 is referred to as the \fBMBR\fR (Master Boot Record) and is always used
127 \fBinstall-bootloader\fR subcommand will always update the system boot loader on
128 the disks. However, unless the entire disk was given a ZFS pool or the \fB-M\fR
131 was being dual booted, a different initial boot loader may be installed there.
133 To reinstall the boot loader on some or all of the disks, the \fB-f\fR option
134 must be passed to the \fBinstall-bootloader\fR subcommand to override boot
141 \fB\fBset-menu\fR\fR
147 in the boot environment \fB/boot\fR directory.
154 \fB\fBlist-menu\fR\fR
169 \fB\fB-f\fR\fR
173 In an \fBinstall-bootloader\fR operation, override the boot loader versioning
180 \fB\fB-n\fR\fR
184 In an \fBupdate-archive\fR operation, archive content is checked but not
191 \fB\fB-o\fR\fR \fIkey\fR=\fIvalue\fR
195 In a \fBlist-menu\fR operation, specify the menu entry for detailed inspection.
203 \fB\fB-p\fR \fIplatform\fR\fR
208 only be specified together with \fB-R\fR, and is generally useful only for
217 \fB\fB-v\fR\fR
221 In an \fBupdate-archive\fR operation, stale files are displayed on stderr.
223 In an \fBinstall-bootloader\fR operation, display any output from tasks
230 \fB\fB-M\fR\fR
234 On x86 systems, in an \fBinstall-bootloader\fR operation, additionally installs
235 the system boot loader to the \fBMBR\fR (master boot record). For more
236 information, see the discussion of \fBinstall-bootloader\fR in the
239 This option is not supported on non-x86 systems, and it is an error to specify
246 \fB-P\fR\ \fIpool\fR
250 In an \fBinstall-bootloader\fR operation, the boot loader is installed on
251 the disks in the ZFS pool \fIpool\fR. If the \fB-P\fR option is not specified,
252 then the boot loader is installed on the ZFS pool that the system booted from.
253 If the system did not boot from a ZFS pool then the \fB-P\fR option is required.
259 \fB\fB-R\fR\ \fIaltroot\fR\fR
263 Operation is applied to an alternate root path. In an \fBinstall-bootloader\fR
264 operation, the boot loader is still installed on the specified pool; however,
265 the boot loader itself will come from the alternate root.
267 Note -
270 The root file system of any non-global zones must not be referenced with the
271 \fB-R\fR option. Doing so might damage the global zone's file system, might
272 compromise the security of the global zone, and might damage the non-global
292 The item number (for example, 0, 1, or 2) in the boot menu designating the
293 operating system to boot when the timer expires.
304 item number is booted. If the value is -1, auto boot is disabled.
311 \fBExample 1 \fRUpdating the Current Boot Archive
314 The following command updates the current boot archive:
319 # bootadm update-archive
321 .in -2
324 \fBExample 2 \fRUpdating the Boot Archive on an Alternate Root
327 The following command updates the boot archive on an alternate root:
332 # bootadm update-archive -R /a
334 .in -2
337 \fBExample 3 \fRListing Boot Menu Entries and Location of Boot Menu
340 The following command lists the boot environments and the location of the
346 # bootadm list-menu
347 the location for the active menu is: /raid/boot/menu.lst
349 0 - raid/ROOT/test-182 test-182
350 1 - raid/ROOT/test-183 test-183
351 2 * raid/ROOT/test-184 test-184
353 .in -2
356 \fBExample 4 \fRSwitching Default Boot Entry
360 user selects test-183 (item 1).
365 # bootadm set-menu default=1
367 .in -2
373 The following command lists more detailed information about a boot menu entry:
378 # bootadm list-menu -o entry=2
379 the location for the active menu is: /raid/boot/menu.lst
381 Title: test-184
384 Bootfs: raid/ROOT/test-184
386 Boot-args: "-v"
400 Path: /boot/modules/etc/system
407 .in -2