Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Nov 2010 15:08:02 +0100
From:      Lars Engels <lars.engels@0x20.net>
To:        Andriy Gapon <avg@freebsd.org>
Cc:        current@freebsd.org
Subject:   Re: Only display ACPI bootmenu key if ACPI is present
Message-ID:  <20101109140802.GD56407@e.0x20.net>
In-Reply-To: <4CD95090.2010405@freebsd.org>
References:  <201011081714.53637.jhb@freebsd.org> <20101109052623.GS56407@e.0x20.net> <4CD95090.2010405@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101109140802.GD56407>