xref: /freebsd/stand/forth/beastie.4th.8 (revision fa9896e082a1046ff4fbc75fcba4d18d1f2efc19)
1ca987d46SWarner Losh.\" Copyright (c) 2011-2012 Devin Teske
2ca987d46SWarner Losh.\" All rights reserved.
3ca987d46SWarner Losh.\"
4ca987d46SWarner Losh.\" Redistribution and use in source and binary forms, with or without
5ca987d46SWarner Losh.\" modification, are permitted provided that the following conditions
6ca987d46SWarner Losh.\" are met:
7ca987d46SWarner Losh.\" 1. Redistributions of source code must retain the above copyright
8ca987d46SWarner Losh.\"    notice, this list of conditions and the following disclaimer.
9ca987d46SWarner Losh.\" 2. Redistributions in binary form must reproduce the above copyright
10ca987d46SWarner Losh.\"    notice, this list of conditions and the following disclaimer in the
11ca987d46SWarner Losh.\"    documentation and/or other materials provided with the distribution.
12ca987d46SWarner Losh.\"
13ca987d46SWarner Losh.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14ca987d46SWarner Losh.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15ca987d46SWarner Losh.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16ca987d46SWarner Losh.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17ca987d46SWarner Losh.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18ca987d46SWarner Losh.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19ca987d46SWarner Losh.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20ca987d46SWarner Losh.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21ca987d46SWarner Losh.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22ca987d46SWarner Losh.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23ca987d46SWarner Losh.\" SUCH DAMAGE.
24ca987d46SWarner Losh.\"
25ca987d46SWarner Losh.Dd January 6, 2016
26ca987d46SWarner Losh.Dt BEASTIE.4TH 8
27ca987d46SWarner Losh.Os
28ca987d46SWarner Losh.Sh NAME
29ca987d46SWarner Losh.Nm beastie.4th
30ca987d46SWarner Losh.Nd FreeBSD ASCII art boot module
31ca987d46SWarner Losh.Sh DESCRIPTION
32ca987d46SWarner LoshThe file that goes by the name of
33ca987d46SWarner Losh.Nm
34ca987d46SWarner Loshis a set of commands designed to draw the ASCII art FreeBSD mascot
35ca987d46SWarner Losh\(en known simply as
36ca987d46SWarner Losh.Em beastie
37ca987d46SWarner Losh\(en to the right of the boot loader menu.
38ca987d46SWarner LoshThe commands of
39ca987d46SWarner Losh.Nm
40ca987d46SWarner Loshby themselves are not enough for most uses.
41ca987d46SWarner LoshPlease refer to the
42ca987d46SWarner Loshexamples below for the most common situations, and to
43ca987d46SWarner Losh.Xr loader 8
44ca987d46SWarner Loshfor additional commands.
45ca987d46SWarner Losh.Pp
46ca987d46SWarner LoshBefore using any of the commands provided in
47ca987d46SWarner Losh.Nm ,
48ca987d46SWarner Loshit must be included
49ca987d46SWarner Loshthrough the command:
50ca987d46SWarner Losh.Pp
51ca987d46SWarner Losh.Dl include beastie.4th
52ca987d46SWarner Losh.Pp
53ca987d46SWarner LoshThis line is present in the default
54ca987d46SWarner Losh.Pa /boot/loader.rc
55ca987d46SWarner Loshfile, so it is not needed (and should not be re-issued) in a normal setup.
56ca987d46SWarner Losh.Pp
57ca987d46SWarner LoshThe commands provided by it are:
58ca987d46SWarner Losh.Pp
59ca987d46SWarner Losh.Bl -tag -width disable-module_module -compact -offset indent
60ca987d46SWarner Losh.It Ic draw-beastie
61ca987d46SWarner LoshDraws the FreeBSD logo.
62ca987d46SWarner Losh.Pp
63ca987d46SWarner LoshThe logo that is drawn is configured by setting the
64ca987d46SWarner Losh.Ic loader_logo
65ca987d46SWarner Loshvariable in
66ca987d46SWarner Losh.Xr loader.conf 5
67ca987d46SWarner Loshto one of
68ca987d46SWarner Losh.Dq Li beastie ,
69ca987d46SWarner Losh.Dq Li beastiebw ,
70ca987d46SWarner Losh.Dq Li fbsdbw ,
71ca987d46SWarner Losh.Dq Li orb ,
72ca987d46SWarner Loshand
73ca987d46SWarner Losh.Dq Li orbbw
74ca987d46SWarner Losh(the default).
75ca987d46SWarner Losh.Pp
76ca987d46SWarner LoshThe position of the logo can be configured by setting the
77ca987d46SWarner Losh.Ic loader_logo_x
78ca987d46SWarner Loshand
79ca987d46SWarner Losh.Ic loader_logo_y
80ca987d46SWarner Loshvariables in
81ca987d46SWarner Losh.Xr loader.conf 5 .
82ca987d46SWarner LoshThe default values are 46 (x) and 4 (y).
83ca987d46SWarner Losh.Pp
84ca987d46SWarner Losh.It Ic clear-beastie
85ca987d46SWarner LoshClears the screen of beastie.
86ca987d46SWarner Losh.Pp
87ca987d46SWarner Losh.It Ic beastie-start
88ca987d46SWarner LoshInitializes the interactive boot loader menu.
89ca987d46SWarner Losh.Pp
90ca987d46SWarner LoshThe
91ca987d46SWarner Losh.Ic loader_delay
92ca987d46SWarner Loshvariable can be configured in
93ca987d46SWarner Losh.Xr loader.conf 5
94ca987d46SWarner Loshto the number of seconds you would like to delay loading the boot menu.
95ca987d46SWarner LoshDuring the delay the user can press Ctrl-C to fall back to
96ca987d46SWarner Losh.Ic autoboot
97ca987d46SWarner Loshor ENTER to proceed.
98ca987d46SWarner LoshThe default behavior is to not delay.
99ca987d46SWarner Losh.El
100ca987d46SWarner Losh.Pp
101ca987d46SWarner LoshThe environment variables that effect its behavior are:
102ca987d46SWarner Losh.Bl -tag -width bootfile -offset indent
103ca987d46SWarner Losh.It Va loader_logo
104*812b0903SGordon BerglingSelects the desired logo in the beastie boot menu.
105*812b0903SGordon BerglingPossible values are:
106ca987d46SWarner Losh.Dq Li fbsdbw ,
107ca987d46SWarner Losh.Dq Li beastie ,
108ca987d46SWarner Losh.Dq Li beastiebw ,
109ca987d46SWarner Losh.Dq Li orb ,
110ca987d46SWarner Losh.Dq Li orbbw
111ca987d46SWarner Losh(default), and
112ca987d46SWarner Losh.Dq Li none .
113ca987d46SWarner Losh.It Va loader_logo_x
114*812b0903SGordon BerglingSets the desired column position of the logo.
115*812b0903SGordon BerglingDefault is 46.
116ca987d46SWarner Losh.It Va loader_logo_y
117*812b0903SGordon BerglingSets the desired row position of the logo.
118*812b0903SGordon BerglingDefault is 4.
119ca987d46SWarner Losh.It Va beastie_disable
120ca987d46SWarner LoshIf set to
121ca987d46SWarner Losh.Dq YES ,
122ca987d46SWarner Loshthe beastie boot menu will be skipped.
123ca987d46SWarner LoshThe beastie boot menu is always skipped if running non-x86 hardware.
124ca987d46SWarner Losh.It Va loader_delay
125ca987d46SWarner LoshIf set to a number higher than zero, introduces a delay before starting the
126*812b0903SGordon Berglingbeastie boot menu.
127*812b0903SGordon BerglingDuring the delay the user can press either Ctrl-C to skip the menu or ENTER
128*812b0903SGordon Berglingto proceed to the menu.
129*812b0903SGordon BerglingThe default is to not delay when loading the menu.
130ca987d46SWarner Losh.El
131ca987d46SWarner Losh.Sh FILES
132ca987d46SWarner Losh.Bl -tag -width /boot/loader.4th -compact
133ca987d46SWarner Losh.It Pa /boot/loader
134ca987d46SWarner LoshThe
135ca987d46SWarner Losh.Xr loader 8 .
136ca987d46SWarner Losh.It Pa /boot/beastie.4th
137ca987d46SWarner Losh.Nm
138ca987d46SWarner Loshitself.
139ca987d46SWarner Losh.It Pa /boot/loader.rc
140ca987d46SWarner Losh.Xr loader 8
141ca987d46SWarner Loshbootstrapping script.
142ca987d46SWarner Losh.El
143ca987d46SWarner Losh.Sh EXAMPLES
144ca987d46SWarner LoshStandard i386
145ca987d46SWarner Losh.Pa /boot/loader.rc :
146ca987d46SWarner Losh.Pp
147ca987d46SWarner Losh.Bd -literal -offset indent -compact
148ca987d46SWarner Loshinclude /boot/beastie.4th
149ca987d46SWarner Loshbeastie-start
150ca987d46SWarner Losh.Ed
151ca987d46SWarner Losh.Pp
152ca987d46SWarner LoshSet a different logo in
153ca987d46SWarner Losh.Xr loader.conf 5 :
154ca987d46SWarner Losh.Pp
155ca987d46SWarner Losh.Bd -literal -offset indent -compact
156ca987d46SWarner Loshloader_logo="beastie"
157ca987d46SWarner Losh.Ed
158ca987d46SWarner Losh.Sh SEE ALSO
159ca987d46SWarner Losh.Xr loader.conf 5 ,
160ca987d46SWarner Losh.Xr loader 8 ,
161ca987d46SWarner Losh.Xr loader.4th 8
162ca987d46SWarner Losh.Sh HISTORY
163ca987d46SWarner LoshThe
164ca987d46SWarner Losh.Nm
165ca987d46SWarner Loshset of commands first appeared in
166ca987d46SWarner Losh.Fx 5.1 .
167ca987d46SWarner Losh.Sh AUTHORS
168ca987d46SWarner LoshThe
169ca987d46SWarner Losh.Nm
170ca987d46SWarner Loshset of commands was written by
171ca987d46SWarner Losh.An -nosplit
172ca987d46SWarner Losh.An Scott Long Aq scottl@FreeBSD.org ,
173ca987d46SWarner Losh.An Aleksander Fafula Aq alex@fafula.com
174ca987d46SWarner Loshand
175ca987d46SWarner Losh.An Devin Teske Aq dteske@FreeBSD.org .
176