From owner-freebsd-current@FreeBSD.ORG Tue Nov 9 14:08:02 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 62C721065670; Tue, 9 Nov 2010 14:08:02 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.67.217]) by mx1.freebsd.org (Postfix) with ESMTP id 1F41C8FC1F; Tue, 9 Nov 2010 14:08:01 +0000 (UTC) Received: by mail.0x20.net (Postfix, from userid 1002) id BA00039DFE; Tue, 9 Nov 2010 15:08:02 +0100 (CET) Date: Tue, 9 Nov 2010 15:08:02 +0100 From: Lars Engels To: Andriy Gapon Message-ID: <20101109140802.GD56407@e.0x20.net> References: <201011081714.53637.jhb@freebsd.org> <20101109052623.GS56407@e.0x20.net> <4CD95090.2010405@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="S2CovAv8lqFB/Tem" Content-Disposition: inline In-Reply-To: <4CD95090.2010405@freebsd.org> X-Editor: VIM - Vi IMproved 7.2 X-Operation-System: FreeBSD 5.5-RELEASE-p19 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: current@freebsd.org Subject: Re: Only display ACPI bootmenu key if ACPI is present X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 09 Nov 2010 14:08:02 -0000 --S2CovAv8lqFB/Tem Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 09, 2010 at 03:45:52PM +0200, Andriy Gapon wrote: > on 09/11/2010 07:26 Lars Engels said the following: > > Maybe we should also import PCBSD's patches to the beastie menu? > > In PCBSD's beastie menu you can toggle some settings like "safe mode", > > and "ACPI", so the kernel is not loaded as soon as select an option. > >=20 > > See > > http://trac.pcbsd.org/browser/pcbsd/current/system-overlay/boot/beastie= =2E4th >=20 > Lars, >=20 > not sure if I got your suggestion correctly, this is what I have in my lo= cal tree: > diff --git a/sys/boot/i386/loader/loader.rc b/sys/boot/i386/loader/loader= =2Erc > index 6443f3f..cb2f723 100644 > --- a/sys/boot/i386/loader/loader.rc > +++ b/sys/boot/i386/loader/loader.rc > @@ -5,7 +5,7 @@ > include /boot/loader.4th >=20 > \ Reads and processes loader.conf variables > -start > +initialize >=20 > \ Tests for password -- executes autoboot first if a password was defined > check-password >=20 > With this kernel and modules are _not_ loaded before presenting the menu. That's also an appreciated improvement, but what PCBSD does is that you can toggle several options, so when you select an option, the kernel is not loaded immediately after but you are still in the menu and can select / toggle another option. That way you have a multi-selection, e.g. select safe mode but enable acpi. Maybe we could also add a menu entry to boot without any modules, so loaders.conf gets overridden? --S2CovAv8lqFB/Tem Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkzZVcIACgkQKc512sD3afgF+ACbBzfHN0X9yTi9U0/oIJh5iQgs iccAoM0/VZHTJCTT6V1JTmbIs7VJXe4g =Eo71 -----END PGP SIGNATURE----- --S2CovAv8lqFB/Tem--