LUA boot loader coming very soon
Manfred Antar
manfredantar at gmail.com
Mon Aug 20 17:50:36 UTC 2018
> On Aug 20, 2018, at 10:47 AM, Kyle Evans <kevans at freebsd.org> wrote:
>
> On Mon, Aug 20, 2018 at 12:44 PM, Manfred Antar <manfredantar at gmail.com> wrote:
>>
>>
>>> On Aug 20, 2018, at 9:20 AM, Warner Losh <imp at bsdimp.com> wrote:
>>>
>>>
>>>
>>> On Mon, Aug 20, 2018 at 9:55 AM, Kyle Evans <kevans at freebsd.org> wrote:
>>> On Mon, Aug 20, 2018 at 10:39 AM, Manfred Antar <manfredantar at gmail.com> wrote:
>>>> Hi
>>>> How do i get the menu back after switching to LUA loader?
>>>> I’m using a comconsole. Before the switch to LUA I had a menu and a little devil with pitchfork:)
>>>> Now just get the countdown from 10 , then boot.
>>>> Here is my loader.conf.local:
>>>>
>>>> console="comconsole"
>>>> beastie_disable="NO"
>>>> hw.vga.textmode=1
>>>> kern.vt.spclkeys=15
>>>> nvidia_load="YES"
>>>> linux_common_load="YES"
>>>> linux_load="YES"
>>>> linprocfs_load="YES"
>>>> linsysfs_load=“YES"
>>>>
>>>
>>> Hmm... seems that there was a miscommunication at some point, and the
>>> menu is disabled explicitly on serial boots. console="comconsole" is
>>> enough to disable this in lualoader land. An excerpt from an e-mail I
>>> was forwarded regarding this:
>>>
>>> if $console contains (space or comma separated) "efi" then do
>>> not draw a menu (fall back to autoboot routine).
>>>
>>> if $beastie_disable is set to "YES" (case insensitive), then do not
>>> draw a menu (fall back to autoboot routine).
>>>
>>> We are clearly doing this wrong. I will fix it ASAP.
>>>
>>> I think that we need https://reviews.freebsd.org/D16816 to fix all the bits.
>>>
>>> Warner
>>
>> Ok that works
>> I had to edit /boot/lua/drawer.lua to get the devil-pitchfork back, otherwise just have devilhead.
>>
>> drawer.default_color_logodef = 'orb'
>> drawer.default_bw_logodef = ‘orbbw'
>>
>> to:
>>
>> drawer.default_color_logodef = 'beastie'
>> drawer.default_bw_logodef = ‘beastiebw'
>>
>> and it’s pretty much the same as the 4th menu i had before.
>> Is there a way to put:
>>
>> drawer.default_color_logodef = 'beastie'
>> drawer.default_bw_logodef = 'beastiebw'
>>
>> somewhere else ie loader.rc or loader.lua.local so I don’t have to edit the /boot/lua/drawer.lua everytime I rebuild world?
>> It doesn’t work to put in loader.conf.local
>
> In loader.conf(5) land, this is called "loader_logo"
>
> e.g. loader_logo=“beastie"
I got it now.
I was putting the wrong line in loader.conf.local
loader_logo works!!
Thanks
More information about the freebsd-current
mailing list