From owner-freebsd-current@freebsd.org Mon Aug 20 17:50:35 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C992B1076FD5 for ; Mon, 20 Aug 2018 17:50:35 +0000 (UTC) (envelope-from manfredantar@gmail.com) Received: from mail-pg1-x529.google.com (mail-pg1-x529.google.com [IPv6:2607:f8b0:4864:20::529]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E73A97964A; Mon, 20 Aug 2018 17:50:34 +0000 (UTC) (envelope-from manfredantar@gmail.com) Received: by mail-pg1-x529.google.com with SMTP id f14-v6so7128061pgv.13; Mon, 20 Aug 2018 10:50:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=D8c6BGSKEhdLbsE59L0zYRkuNI6wNPL+MVMZtXRjkLc=; b=rU9gdf80GGm1YyxiPivtV2FbQ7m9VfOUMcZzcKL4o3lC7JZJJIQAIg3qRXWYDl+pQr 4bKedobXBI44Vp9xtwknlIjtDMXZHfekvBKxtQjVIwYwJsWG3E2MoanOFgNSNQBzCD37 UhDR7ViyvvYPk1xDcN8xR9XjcRA5+EMa+JX1+BYMWUC3K2YSe2MOQBXem7IMCX+oJlks 2MTczB7PAyM1VK8f0ks3w+uhRA4a4ZhXQZgm1BBU4cMaXVhhOhQey5rYDR9FQfpZwJBR rcAFWPZCX/x8M4xfnmh5nhF2Etj9y4d6DVrMhIk9Vb06EmOKG6JIo7TSTXyBbJr/0Syi N0Rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=D8c6BGSKEhdLbsE59L0zYRkuNI6wNPL+MVMZtXRjkLc=; b=cB+RvDb4k4Cqt8NEDmNELE/SfMnUdoOlXmAFqRgwNbDSme+cNgFOCUbW6NTuDqWBp1 UF7VtDMduQehAwqxnZJNJplzB6REXXWkuyBSX4rR6upYngdEQGTTGwBKKfZ112TxI5zP jWiJ/UlrH/ojP9BM3/NmgNRDkossr2vsWTKRo5ajNv5FtsVKlpTyPk5rzabaU9oPu6zk QCfJFuClV2WmE/y7HtJ4WrpgyUsT7oFeUxHYNX0p4WZAjAf5WVRit/yEkrxhn5GLPTeI i2KFuVCSRL3h8U9gqkmPOLs5Mkvn9qRBBM1BKIWRA+iRQhBzPSQWG6lpfsHpdrCU0Y7J vUWA== X-Gm-Message-State: AOUpUlEY/e4B07MdjsDE5LpjQ/VmjBRKBzuJxjmRKbTq8M+SCQIIJEcr Pw8uxQx10sd0kexcNCt0lCev5vM+LIVnjw== X-Google-Smtp-Source: AA+uWPyV80o4AjUKeKqWwJ4NrZ9w+mohygBUhTZwYqZfsHcjpXbqQA3YfXsIFT/YqpAPd56i8X/7sg== X-Received: by 2002:a62:591a:: with SMTP id n26-v6mr49451542pfb.94.1534787433914; Mon, 20 Aug 2018 10:50:33 -0700 (PDT) Received: from octo.pozo.com (50-197-129-138-static.hfc.comcastbusiness.net. [50.197.129.138]) by smtp.gmail.com with ESMTPSA id z22-v6sm17504897pgc.67.2018.08.20.10.50.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Aug 2018 10:50:33 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: LUA boot loader coming very soon From: Manfred Antar In-Reply-To: Date: Mon, 20 Aug 2018 10:50:32 -0700 Cc: Warner Losh , FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: References: <031D39D4-3890-4FEE-A968-541578E8F7A6@gmail.com> To: Kyle Evans X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Aug 2018 17:50:36 -0000 > On Aug 20, 2018, at 10:47 AM, Kyle Evans wrote: >=20 > On Mon, Aug 20, 2018 at 12:44 PM, Manfred Antar = wrote: >>=20 >>=20 >>> On Aug 20, 2018, at 9:20 AM, Warner Losh wrote: >>>=20 >>>=20 >>>=20 >>> On Mon, Aug 20, 2018 at 9:55 AM, Kyle Evans = wrote: >>> On Mon, Aug 20, 2018 at 10:39 AM, Manfred Antar = 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