Date: Mon, 20 Aug 2018 10:50:32 -0700 From: Manfred Antar <manfredantar@gmail.com> To: Kyle Evans <kevans@freebsd.org> Cc: Warner Losh <imp@bsdimp.com>, FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: LUA boot loader coming very soon Message-ID: <A492EECF-7199-4919-9423-62DD500C4A1E@gmail.com> In-Reply-To: <CACNAnaE=x1vAx-n15fLwNrZCS9fhCeUqibr9wy5MvP3VPcfZ_w@mail.gmail.com> References: <031D39D4-3890-4FEE-A968-541578E8F7A6@gmail.com> <CACNAnaF3HO_yUSA_njPM-OgRZZPtyeQTNzuHYvZ1ZOjPswga9Q@mail.gmail.com> <CANCZdfpE5iiL83sLtuB=TCGQ1upu_PU1R1JPVwUMQaER-3ic7Q@mail.gmail.com> <A4ACA6E6-008E-46C0-9C00-E4FA30D4F9DD@gmail.com> <CACNAnaE=x1vAx-n15fLwNrZCS9fhCeUqibr9wy5MvP3VPcfZ_w@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Aug 20, 2018, at 10:47 AM, Kyle Evans <kevans@freebsd.org> wrote: >=20 > On Mon, Aug 20, 2018 at 12:44 PM, Manfred Antar = <manfredantar@gmail.com> wrote: >>=20 >>=20 >>> On Aug 20, 2018, at 9:20 AM, Warner Losh <imp@bsdimp.com> wrote: >>>=20 >>>=20 >>>=20 >>> On Mon, Aug 20, 2018 at 9:55 AM, Kyle Evans <kevans@freebsd.org> = wrote: >>> On Mon, Aug 20, 2018 at 10:39 AM, Manfred Antar = <manfredantar@gmail.com> wrote: >>>> Hi >>>> How do i get the menu back after switching to LUA loader? >>>> I=E2=80=99m 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: >>>>=20 >>>> console=3D"comconsole" >>>> beastie_disable=3D"NO" >>>> hw.vga.textmode=3D1 >>>> kern.vt.spclkeys=3D15 >>>> nvidia_load=3D"YES" >>>> linux_common_load=3D"YES" >>>> linux_load=3D"YES" >>>> linprocfs_load=3D"YES" >>>> linsysfs_load=3D=E2=80=9CYES" >>>>=20 >>>=20 >>> Hmm... seems that there was a miscommunication at some point, and = the >>> menu is disabled explicitly on serial boots. console=3D"comconsole" = is >>> enough to disable this in lualoader land. An excerpt from an e-mail = I >>> was forwarded regarding this: >>>=20 >>> if $console contains (space or comma separated) "efi" then do >>> not draw a menu (fall back to autoboot routine). >>>=20 >>> if $beastie_disable is set to "YES" (case insensitive), then do not >>> draw a menu (fall back to autoboot routine). >>>=20 >>> We are clearly doing this wrong. I will fix it ASAP. >>>=20 >>> I think that we need https://reviews.freebsd.org/D16816 to fix all = the bits. >>>=20 >>> Warner >>=20 >> Ok that works >> I had to edit /boot/lua/drawer.lua to get the devil-pitchfork back, = otherwise just have devilhead. >>=20 >> drawer.default_color_logodef =3D 'orb' >> drawer.default_bw_logodef =3D =E2=80=98orbbw' >>=20 >> to: >>=20 >> drawer.default_color_logodef =3D 'beastie' >> drawer.default_bw_logodef =3D =E2=80=98beastiebw' >>=20 >> and it=E2=80=99s pretty much the same as the 4th menu i had before. >> Is there a way to put: >>=20 >> drawer.default_color_logodef =3D 'beastie' >> drawer.default_bw_logodef =3D 'beastiebw' >>=20 >> somewhere else ie loader.rc or loader.lua.local so I don=E2=80=99t = have to edit the /boot/lua/drawer.lua everytime I rebuild world? >> It doesn=E2=80=99t work to put in loader.conf.local >=20 > In loader.conf(5) land, this is called "loader_logo" >=20 > e.g. loader_logo=3D=E2=80=9Cbeastie" I got it now. I was putting the wrong line in loader.conf.local loader_logo works!! Thanks
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A492EECF-7199-4919-9423-62DD500C4A1E>