Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Nov 2013 17:23:20 +0000
From:      "Teske, Devin" <Devin.Teske@fisglobal.com>
To:        Kurt Lidl <lidl@pix.net>
Cc:        Devin Teske <dteske@freebsd.org>, "<freebsd-current@freebsd.org> Current" <freebsd-current@freebsd.org>, "Teske, Devin" <Devin.Teske@fisglobal.com>
Subject:   Re: [CFT] Kernel-Selection Enhancemnt to Boot Menu
Message-ID:  <AE407E95-87B8-447F-BAF8-A3F69607B44E@fisglobal.com>
In-Reply-To: <5279258F.8030000@pix.net>
References:  <62E3FA11-E6E1-4072-9226-993FF83EBC0D@fisglobal.com> <5279258F.8030000@pix.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_600805D3-9836-4FF3-9772-3E01392AD83E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


On Nov 5, 2013, at 9:06 AM, Kurt Lidl wrote:

>=20
>> You can try enabling the beastie menu on sparc64 by editing
>> /boot/loader.rc:
>>=20
>> =3D=3D=3D Change #1 in /boot/loader.rc to enable beastie menu =3D=3D=3D
>>=20
>> Find:
>> 	\ Reads and processes loader.conf variables
>> 	\ NOTE: Change to `initialize' if you enable the below boot menu
>> 	start
>>=20
>> Change "start" to "initialize" as shown below:
>> 	\ Reads and processes loader.conf variables
>> 	\ NOTE: Change to `initialize' if you enable the below boot menu
>> 	initialize
>>=20
>> =3D=3D=3D Change #2 in [same file] to enable beastie menu =3D=3D=3D
>>=20
>> Find:
>> 	\ Uncomment to enable boot menu
>> 	\ include /boot/beastie.4th
>> 	\ beastie-start
>>=20
>> Uncomment "beastie-start" as shown below:
>> 	\ Uncomment to enable boot menu
>> 	\ include /boot/beastie.4th
>> 	beastie-start
>>=20
>> =3D=3D=3D=3D=3D=3D
>>=20
>> If you find that making those two trivial changes, that you are able to =
load
>> the menu... then maybe it's time for us to start thinking about enabling=
 the
>> beastie menu by-default for the sparc64 architecture.
>=20
> Seems to work just fine.  I tested by booting, toggling through the
> different kernel choices (/boot/kernel/kernel /boot/kernel.old/kernel)
> and both worked correctly.
>=20
> (Although I uncommented the "include /boot/beastie.4th" line too.)
>=20

Oops, heh, good eye ;D and sorry if that caused any pain for you.



>> Does anybody else have any thoughts on enabling it for sparc64?
>=20
> Well, I'd probably be in support of this change - it sure beats having
> to interrupt the normal boot sequence and typing:
>   unload
>   load /boot/kernel.old/kernel
>   load /boot/kernel.old/opensolaris.ko
>   load /boot/kernel.old/zfs.ko
>   boot
> When I need to get back to the prior version of the kernel.
>=20

We'll have to draw up a clean patch to draw this in for sparc64.
For i386 and amd64, they have a dedicated separate loader.rc
stashed in sys/boot/i386/loader/

Not sure of the cleanest way to do this for sparc64 (dup the
loader.rc and make sparc64 drop it's own? or perhaps make
sparc64 drop the i386 loader.rc? I think amd64 does the latter).
--=20
Devin

_____________
The information contained in this message is proprietary and/or confidentia=
l. If you are not the intended recipient, please: (i) delete the message an=
d all copies; (ii) do not disclose, distribute or use the message in any ma=
nner; and (iii) notify the sender immediately. In addition, please be aware=
 that any message addressed to our domain is subject to archiving and revie=
w by persons other than the intended recipient. Thank you.

--Apple-Mail=_600805D3-9836-4FF3-9772-3E01392AD83E
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="signature.asc"
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJSeSmIAAoJEKrMn5R9npq5PqQIAMkS27jdzaaOtHYXLgUbQXrk
luWfWSY2AbLJciB8fZU25g42gVcIxUnqtgws8GcI7IADMkCpz9FAnjHktyiYvbGc
oSMy6rAT4KCoIqIGCrzbSW1VxFqmVSt0MFXsXh73WCAGbZvMHA0X6JmmRifCqFKQ
5vFtsA7AMLQGykKMEIDWQm8scytJrjqZXDOMDMFgdq4VOAuoAgTBhrmLMWW5epM8
06HAVR7UL+XG2qUNNKP1IOI8WjViJcKgVyJ4Tf/JjUJb/lmQuKFKMdEOzJZ5dlAp
hrHJ9VscGMCB+8oeK0On2kx4Sl2T1gfj3ROUjdHVZS3qRD92yjNno9ygc7+lgV4=
=KDg+
-----END PGP SIGNATURE-----

--Apple-Mail=_600805D3-9836-4FF3-9772-3E01392AD83E--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AE407E95-87B8-447F-BAF8-A3F69607B44E>