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