Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jun 2005 00:46:23 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        fbsd_user <fbsd_user@a1poweruser.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to boot kernel.old version in 5.4
Message-ID:  <20050609214623.GA77437@orion.daedalusnetworks.priv>
In-Reply-To: <MIEPLLIBMLEEABPDBIEGMEIJHGAA.fbsd_user@a1poweruser.com>
References:  <MIEPLLIBMLEEABPDBIEGMEIJHGAA.fbsd_user@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2005-06-09 17:40, fbsd_user <fbsd_user@a1poweruser.com> wrote:
> In 5.4 after compiling a new kernel you have the default boot location being
> /boot/kernel/ directory containing the current newly compiled kernel and
> /boot/kernel.old/ directory containing the generic system.
>
> For safeguard I do
> mkdir /boot/kernel.generic
> cp -Rfv /boot/kernel.old/ /boot/kernel.generic/
>
> Now my question,
> At the beastie boot menu I select option 6 for boot prompt,
> What do I enter to load from /boot/kernel.generic/ directory??

If I remember all the commands correctly (since it's been a while
now), you can use either:

	unload
	set bootfile=/boot/kernel.old/kernel
	set module_path=/boot/kernel.old
	load kernel
	boot

or the simpler:

	boot kernel.old




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