[RELEASE] New Boot-Loader Menu

Devin Teske dteske at vicor.com
Sat Apr 30 00:11:52 UTC 2011


> -----Original Message-----
> From: Olivier SMEDTS [mailto:olivier at gid0.org]
> Sent: Friday, April 29, 2011 4:09 PM
> To: Devin Teske
> Cc: Freddie Cash; FreeBSD Hackers
> Subject: Re: [RELEASE] New Boot-Loader Menu
> 
> Le 29 avr. 2011 à 21:17, Devin Teske <dteske at vicor.com> a écrit :
> 
> >> -----Original Message-----
> >> From: Freddie Cash [mailto:fjwcash at gmail.com]
> >> Sent: Friday, April 29, 2011 11:20 AM
> >> To: Devin Teske
> >> Cc: FreeBSD Hackers
> >> Subject: Re: [RELEASE] New Boot-Loader Menu
> >>
> >> Very nice and functional, without adding a lot of extra verbosity or
> >> steps.  I really appreciated the clean install via binary package.
> >> Well done.
> >>
> >> Only question I have is whether it's possible to use the Beastie
> >> ASCII image instead of the pointy-eared blob?  The beastie.4th file
> >> is still present under /boot, but I don't know how to hook it into the new
> menu.
> >
> > Glad you asked. This couldn't be easier.
> >
> > Open up `/boot/menu.rc' and look for the following lines (LINE 9-10):
> >
> >    \ Customizations
> >    set logo="orb"
> >
> > Feel free to play with any of the following drop-in replacements:
> >
> >    set logo="beastie"
> >    set logo="beastiebw"
> >    set logo="fbsdbw"
> >    set logo="orb"
> >    set logo="orbbw"
> 
> Would it be possible to support the curent loader settings present in
> /boot/loader.conf ? I've got something like :
> loader_logo="beastie"
> autoboot_delay="0"
> 

Yeah, that's definitely possible. The new code already supports
/boot/loader.conf, however I don't support loader_logo in that way (you'd have
to use "logo=" instead of "loader_logo=" and you'd have to remove the "set
logo=" line from /boot/menu.rc).

I'll have to make the following modifications in the next version so that you
can use loader_logo from /boot/loader.conf:

1. Change the default logo in /boot/beastie.4th from "beastie" to "orb"
2. Change /boot/menu.rc to remove the line: set logo="orb"
3. Change /boot/beastie.4th to read the "loader_logo" environment variable
instead of "logo"


> And while the pre-menu delay of 2 seconds is great, is it possible to turn it
off or
> adjust it ?
>

Right now, if you want to disable the 2 second delay, open up /boot/loader.rc
and change the following line:

	set dc_seconds=2

to:

	set dc_seconds=0

In the next release, I'll rewrite it so that you add something to
/boot/loader.conf to disable the delay.
-- 
Devin


> Thanks !
> 
> > Simply deleting the line or comment it out (by adding "\ " --
backslash-space --
> to the beginning of the line) is equivalent to setting logo to "beastie".
Here's a
> short explanation of each value:
> >
> >    NAME        DESCRIPTION
> >    beastie        Color ``Helper Daemon'' mascot (19 rows x 34 columns)
> >    beastiebw    B/W ``Helper Daemon'' mascot (19 rows x 34 columns)
> >    fbsdbw        "FreeBSD" logo in B/W (13 rows x 21 columns)
> >    orb        Color ``Orb'' mascot (15 rows x 30 columns)
> >    orbbw        B/W ``Orb'' mascot (15 rows x 30 columns)
> >
> > I'm not sure what you meant by "Beastie ASCII" image, but I think you're
either
> looking for "beastie" or "fbsdbw".
> >
> > You should have to, but if you need to, you can add:
> >
> >    set logoX=X
> >    set logoY=Y
> >
> > to force the row/column placement of beastie.
> > --
> > Devin
> >
> >>
> >> --
> >> Freddie Cash
> >> fjwcash at gmail.com
> >
> > _____________
> >
> > The information contained in this message is proprietary and/or
confidential. If
> you are not the intended recipient, please: (i) delete the message and all
copies;
> (ii) do not disclose, distribute or use the message in any manner; and (iii)
notify
> the sender immediately. In addition, please be aware that any message
> addressed to our domain is subject to archiving and review by persons other
than
> the intended recipient. Thank you.
> > _____________
> > _______________________________________________
> > freebsd-hackers at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"

_____________

The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.
_____________


More information about the freebsd-hackers mailing list