loader.7 (0e8f244e5530e0810ce630dfbb4ad550fc7fae04) | loader.7 (6312020e31ee7e61274dfa60b7bf2e0ec973f56a) |
---|---|
1.\" Copyright (c) 1999 Daniel C. Sobral 2.\" Copyright 2019 OmniOS Community Edition (OmniOSce) Association. 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" SUCH DAMAGE. 25.\" | 1.\" Copyright (c) 1999 Daniel C. Sobral 2.\" Copyright 2019 OmniOS Community Edition (OmniOSce) Association. 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" SUCH DAMAGE. 25.\" |
26.Dd March 01, 2023 | 26.Dd March 30, 2023 |
27.Dt LOADER 7 28.Os 29.Sh NAME 30.Nm loader 31.Nd kernel bootstrapping final stage 32.Sh DESCRIPTION 33The 34.Nm --- 155 unchanged lines hidden (view full) --- 190.Pp 191.Em WARNING : 192The behavior of this builtin is changed if 193.Xr loader.4th 7 194is loaded. 195.Pp 196.It Ic chain Ar device 197Chain load another boot loader from the specified device. | 27.Dt LOADER 7 28.Os 29.Sh NAME 30.Nm loader 31.Nd kernel bootstrapping final stage 32.Sh DESCRIPTION 33The 34.Nm --- 155 unchanged lines hidden (view full) --- 190.Pp 191.Em WARNING : 192The behavior of this builtin is changed if 193.Xr loader.4th 7 194is loaded. 195.Pp 196.It Ic chain Ar device 197Chain load another boot loader from the specified device. |
198Device can be either disk name or partition. | 198Device can be either disk name, partition or file name. 199In case of x86 BIOS boot, the file must be copy of MBR or PBR. 200For UEFI boot, the file is efi application. |
199.Pp 200.It Ic echo Xo 201.Op Fl n 202.Op Aq message 203.Xc 204Displays text on the screen. 205A new line will be printed unless 206.Fl n --- 236 unchanged lines hidden (view full) --- 443configuration, the 444.Nm 445startup will parse the 446.Va boot-args 447value to set boot prefixed variables listed above, any unrecognized options 448are added to kernel command line verbatim. 449.It Va bootfile 450The name of the kernel. | 201.Pp 202.It Ic echo Xo 203.Op Fl n 204.Op Aq message 205.Xc 206Displays text on the screen. 207A new line will be printed unless 208.Fl n --- 236 unchanged lines hidden (view full) --- 445configuration, the 446.Nm 447startup will parse the 448.Va boot-args 449value to set boot prefixed variables listed above, any unrecognized options 450are added to kernel command line verbatim. 451.It Va bootfile 452The name of the kernel. |
453.It Va chain_disk 454If set, contains the device or file name used with 455.Cm chain 456command and will cause chain command menu entry to appear on 457.Nm 458main menu. 459The alternate method to use chain loader is to add menu entries 460into 461.Xr menu.lst 5 462file. |
|
451.It Va console 452Defines the current console or consoles. 453Multiple consoles may be specified. 454In that case, the first listed console will become the default console for 455the 456.Xr kernel 8 . 457.It Va currdev 458Selects the default device. --- 417 unchanged lines hidden (view full) --- 876as shown in the example above is supported, it is advisable to use loader 877beadm command or boot environment menu instead. 878The reason is, the beadm or menu selection will also instruct loader to clean up 879the currently set configuration and load configuration from the new boot 880environment. 881.Sh SEE ALSO 882.Xr btxld 1onbld , 883.Xr loader.conf 5 , | 463.It Va console 464Defines the current console or consoles. 465Multiple consoles may be specified. 466In that case, the first listed console will become the default console for 467the 468.Xr kernel 8 . 469.It Va currdev 470Selects the default device. --- 417 unchanged lines hidden (view full) --- 888as shown in the example above is supported, it is advisable to use loader 889beadm command or boot environment menu instead. 890The reason is, the beadm or menu selection will also instruct loader to clean up 891the currently set configuration and load configuration from the new boot 892environment. 893.Sh SEE ALSO 894.Xr btxld 1onbld , 895.Xr loader.conf 5 , |
896.Xr menu.lst 5 , |
|
884.Xr boot 8 885.Sh STANDARDS 886For the purposes of ANS Forth compliance, loader is an 887.Bf Em 888ANS Forth System with Environmental Restrictions, Providing 889.Ef 890.Bf Li 891.No .( , --- 26 unchanged lines hidden --- | 897.Xr boot 8 898.Sh STANDARDS 899For the purposes of ANS Forth compliance, loader is an 900.Bf Em 901ANS Forth System with Environmental Restrictions, Providing 902.Ef 903.Bf Li 904.No .( , --- 26 unchanged lines hidden --- |