xref: /titanic_51/usr/src/man/man5/beastie.4th.5 (revision ba11c5b535a8958668f939901bdcacb3ee8b7570)
1*ba11c5b5SToomas Soome.\" Copyright (c) 2011-2012 Devin Teske
2*ba11c5b5SToomas Soome.\" All rights reserved.
3*ba11c5b5SToomas Soome.\"
4*ba11c5b5SToomas Soome.\" Redistribution and use in source and binary forms, with or without
5*ba11c5b5SToomas Soome.\" modification, are permitted provided that the following conditions
6*ba11c5b5SToomas Soome.\" are met:
7*ba11c5b5SToomas Soome.\" 1. Redistributions of source code must retain the above copyright
8*ba11c5b5SToomas Soome.\"    notice, this list of conditions and the following disclaimer.
9*ba11c5b5SToomas Soome.\" 2. Redistributions in binary form must reproduce the above copyright
10*ba11c5b5SToomas Soome.\"    notice, this list of conditions and the following disclaimer in the
11*ba11c5b5SToomas Soome.\"    documentation and/or other materials provided with the distribution.
12*ba11c5b5SToomas Soome.\"
13*ba11c5b5SToomas Soome.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14*ba11c5b5SToomas Soome.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15*ba11c5b5SToomas Soome.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16*ba11c5b5SToomas Soome.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17*ba11c5b5SToomas Soome.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18*ba11c5b5SToomas Soome.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19*ba11c5b5SToomas Soome.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20*ba11c5b5SToomas Soome.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21*ba11c5b5SToomas Soome.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22*ba11c5b5SToomas Soome.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23*ba11c5b5SToomas Soome.\" SUCH DAMAGE.
24*ba11c5b5SToomas Soome.\"
25*ba11c5b5SToomas Soome.Dd Apr 22, 2017
26*ba11c5b5SToomas Soome.Dt BEASTIE.4TH 5
27*ba11c5b5SToomas Soome.Os
28*ba11c5b5SToomas Soome.Sh NAME
29*ba11c5b5SToomas Soome.Nm beastie.4th
30*ba11c5b5SToomas Soome.Nd loader ASCII art boot module
31*ba11c5b5SToomas Soome.Sh DESCRIPTION
32*ba11c5b5SToomas SoomeThe file that goes by the name of
33*ba11c5b5SToomas Soome.Nm
34*ba11c5b5SToomas Soomeis a set of commands designed to draw the ASCII art FreeBSD mascot
35*ba11c5b5SToomas Soome.Nd known simply as
36*ba11c5b5SToomas Soome.Ic beastie
37*ba11c5b5SToomas Soome.Nd to the right of the boot loader menu. In illumos based systems, the
38*ba11c5b5SToomas Soomedistribution specific logo is used.
39*ba11c5b5SToomas SoomeThe commands of
40*ba11c5b5SToomas Soome.Nm
41*ba11c5b5SToomas Soomeby themselves are not enough for most uses.
42*ba11c5b5SToomas SoomePlease refer to the
43*ba11c5b5SToomas Soomeexamples below for the most common situations, and to
44*ba11c5b5SToomas Soome.Xr loader 5
45*ba11c5b5SToomas Soomefor additional commands.
46*ba11c5b5SToomas Soome.Pp
47*ba11c5b5SToomas SoomeBefore using any of the commands provided in
48*ba11c5b5SToomas Soome.Nm ,
49*ba11c5b5SToomas Soomeit must be included
50*ba11c5b5SToomas Soomethrough the command:
51*ba11c5b5SToomas Soome.Pp
52*ba11c5b5SToomas Soome.Dl include beastie.4th
53*ba11c5b5SToomas Soome.Pp
54*ba11c5b5SToomas SoomeThis line is present in the default
55*ba11c5b5SToomas Soome.Pa /boot/loader.rc
56*ba11c5b5SToomas Soomefile, so it is not needed (and should not be re-issued) in a normal setup.
57*ba11c5b5SToomas Soome.Pp
58*ba11c5b5SToomas SoomeThe commands provided by it are:
59*ba11c5b5SToomas Soome.Pp
60*ba11c5b5SToomas Soome.Bl -tag -width disable-module_module -compact -offset indent
61*ba11c5b5SToomas Soome.It Ic draw-beastie
62*ba11c5b5SToomas SoomeDraws the logo.
63*ba11c5b5SToomas Soome.Pp
64*ba11c5b5SToomas SoomeThe logo that is drawn is configured by setting the
65*ba11c5b5SToomas Soome.Ic loader_logo
66*ba11c5b5SToomas Soomevariable in
67*ba11c5b5SToomas Soome.Xr loader.conf 4 .
68*ba11c5b5SToomas Soome.Pp
69*ba11c5b5SToomas SoomeThe position of the logo can be configured by setting the
70*ba11c5b5SToomas Soome.Ic loader_logo_x
71*ba11c5b5SToomas Soomeand
72*ba11c5b5SToomas Soome.Ic loader_logo_y
73*ba11c5b5SToomas Soomevariables in
74*ba11c5b5SToomas Soome.Xr loader.conf 4 .
75*ba11c5b5SToomas SoomeThe default values are 46 (x) and 4 (y).
76*ba11c5b5SToomas Soome.Pp
77*ba11c5b5SToomas Soome.It Ic clear-beastie
78*ba11c5b5SToomas SoomeClears the screen of beastie.
79*ba11c5b5SToomas Soome.Pp
80*ba11c5b5SToomas Soome.It Ic beastie-start
81*ba11c5b5SToomas SoomeInitializes the interactive boot loader menu.
82*ba11c5b5SToomas Soome.Pp
83*ba11c5b5SToomas SoomeThe
84*ba11c5b5SToomas Soome.Ic loader_delay
85*ba11c5b5SToomas Soomevariable can be configured in
86*ba11c5b5SToomas Soome.Xr loader.conf 4
87*ba11c5b5SToomas Soometo the number of seconds you would like to delay loading the boot menu.
88*ba11c5b5SToomas SoomeDuring the delay the user can press Ctrl-C to fall back to
89*ba11c5b5SToomas Soome.Ic autoboot
90*ba11c5b5SToomas Soomeor ENTER to proceed.
91*ba11c5b5SToomas SoomeThe default behavior is to not delay.
92*ba11c5b5SToomas Soome.El
93*ba11c5b5SToomas Soome.Pp
94*ba11c5b5SToomas SoomeThe environment variables that effect its behavior are:
95*ba11c5b5SToomas Soome.Bl -tag -width bootfile -offset indent
96*ba11c5b5SToomas Soome.It Va loader_logo
97*ba11c5b5SToomas SoomeSelects the desired logo in the beastie boot menu.
98*ba11c5b5SToomas Soome.It Va loader_logo_x
99*ba11c5b5SToomas SoomeSets the desired column position of the logo. Default is 46.
100*ba11c5b5SToomas Soome.It Va loader_logo_y
101*ba11c5b5SToomas SoomeSets the desired row position of the logo. Default is 4.
102*ba11c5b5SToomas Soome.It Va beastie_disable
103*ba11c5b5SToomas SoomeIf set to
104*ba11c5b5SToomas Soome.Dq YES ,
105*ba11c5b5SToomas Soomethe beastie boot menu will be skipped.
106*ba11c5b5SToomas SoomeThe beastie boot menu is always skipped if running non-x86 hardware.
107*ba11c5b5SToomas Soome.It Va loader_delay
108*ba11c5b5SToomas SoomeIf set to a number higher than zero, introduces a delay before starting the
109*ba11c5b5SToomas Soomebeastie boot menu. During the delay the user can press either Ctrl-C to skip
110*ba11c5b5SToomas Soomethe menu or ENTER to proceed to the menu. The default is to not delay when
111*ba11c5b5SToomas Soomeloading the menu.
112*ba11c5b5SToomas Soome.El
113*ba11c5b5SToomas Soome.Sh FILES
114*ba11c5b5SToomas Soome.Bl -tag -width /boot/forth/loader.4th -compact
115*ba11c5b5SToomas Soome.It Pa /boot/zfsloader
116*ba11c5b5SToomas SoomeThe
117*ba11c5b5SToomas Soome.Xr zfsloader 5 .
118*ba11c5b5SToomas Soome.It Pa /boot/forth/beastie.4th
119*ba11c5b5SToomas Soome.Nm
120*ba11c5b5SToomas Soomeitself.
121*ba11c5b5SToomas Soome.It Pa /boot/loader.rc
122*ba11c5b5SToomas Soome.Xr loader 5
123*ba11c5b5SToomas Soomebootstrapping script.
124*ba11c5b5SToomas Soome.El
125*ba11c5b5SToomas Soome.Sh EXAMPLES
126*ba11c5b5SToomas SoomeStandard i386
127*ba11c5b5SToomas Soome.Pa /boot/loader.rc :
128*ba11c5b5SToomas Soome.Pp
129*ba11c5b5SToomas Soome.Bd -literal -offset indent -compact
130*ba11c5b5SToomas Soomeinclude /boot/forth/beastie.4th
131*ba11c5b5SToomas Soomebeastie-start
132*ba11c5b5SToomas Soome.Ed
133*ba11c5b5SToomas Soome.Pp
134*ba11c5b5SToomas SoomeSet a different logo in
135*ba11c5b5SToomas Soome.Xr loader.conf 4 :
136*ba11c5b5SToomas Soome.Pp
137*ba11c5b5SToomas Soome.Bd -literal -offset indent -compact
138*ba11c5b5SToomas Soomeloader_logo="beastie"
139*ba11c5b5SToomas Soome.Ed
140*ba11c5b5SToomas Soome.Sh SEE ALSO
141*ba11c5b5SToomas Soome.Xr loader.conf 4 ,
142*ba11c5b5SToomas Soome.Xr loader 5 ,
143*ba11c5b5SToomas Soome.Xr loader.4th 5
144