Changeset View
Changeset View
Standalone View
Standalone View
stand/man/loader.8
Show All 18 Lines | |||||
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd October 2, 2020 | .Dd April 7, 2021 | ||||
.Dt LOADER 8 | .Dt LOADER 8 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm loader | .Nm loader | ||||
.Nd kernel bootstrapping final stage | .Nd kernel bootstrapping final stage | ||||
.Sh DESCRIPTION | .Sh DESCRIPTION | ||||
The program called | The program called | ||||
.Nm | .Nm | ||||
▲ Show 20 Lines • Show All 946 Lines • ▼ Show 20 Lines | |||||
or setting | or setting | ||||
.Va autoboot_delay | .Va autoboot_delay | ||||
to -1. | to -1. | ||||
See | See | ||||
.Xr loader.conf 5 | .Xr loader.conf 5 | ||||
for details. | for details. | ||||
In order for this to be effective, one should also configure the firmware | In order for this to be effective, one should also configure the firmware | ||||
(BIOS or UEFI) to prevent booting from unauthorized devices. | (BIOS or UEFI) to prevent booting from unauthorized devices. | ||||
.Sh MD | |||||
Memory disk (MD) can be used when the | |||||
.Nm | |||||
was compiled with | |||||
.Va MD_IMAGE_SIZE . | |||||
The size of the memory disk is determined by | |||||
.Va MD_IMAGE_SIZE . | |||||
If MD available, a file system can be embedded into the | |||||
.Nm | |||||
with | |||||
.Pa /sys/tools/embed_mfs.sh . | |||||
Then, MD will be probed and be set to | |||||
.Va currdev | |||||
during initialization. | |||||
.Pp | |||||
Currently, MD is only supported in | |||||
.Xr loader.efi 8 . | |||||
.Sh FILES | .Sh FILES | ||||
.Bl -tag -width /usr/share/examples/bootforth/ -compact | .Bl -tag -width /usr/share/examples/bootforth/ -compact | ||||
.It Pa /boot/loader | .It Pa /boot/loader | ||||
.Nm | .Nm | ||||
itself. | itself. | ||||
.It Pa /boot/boot.4th | .It Pa /boot/boot.4th | ||||
Additional | Additional | ||||
.Tn FICL | .Tn FICL | ||||
▲ Show 20 Lines • Show All 137 Lines • Show Last 20 Lines |