Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Dec 2002 15:12:50 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        walt <wa1ter@hotmail.com>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Problem upgrading to -current
Message-ID:  <20021223131250.GA644@gothmog.gr>
In-Reply-To: <3E0664B6.8060306@hotmail.com>
References:  <au5lpm$ac$1@FreeBSD.csie.NCTU.edu.tw> <3E0664B6.8060306@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-12-22 17:19, walt <wa1ter@hotmail.com> wrote:
>Martin Hasenbein wrote:
>> I've tried to upgrade to -current a few minutes ago.  Before
>> upgrading I had FreeBSD 4.7-RELEASE-p2
>>
>> After a "make buildworld / make buildkernel /make installkernel"
>> and rebooting, I still have FreeBSD 4.7-RELEASE-p2
>
> Sounds like you are rebooting with the old kernel in the / directory
> instead of the new kernel which is now in the /boot/kernel
> directory.
>
> If you interrupt the boot loader by hitting SPACE, you can then type
> 'unload' and then 'load /boot/kernel/kernel' then 'boot' which will
> boot the new kernel.
>
> I've never done the upgrade path, so I'm not sure how you are
> supposed to avoid this problem.  Maybe you are doing things in the
> wrong sequence or skipping steps?

By editing /boot/loader.conf before rebooting and changing `bootfile'
to the new location of the kernel:

	bootfile="/boot/kernel/kernel"

you can instruct the loader to load the new kernel by default.
Perhaps we should add this to the instructions of UPDATING for
upgrades of 4.X to 5.X :-/

- Giorgos


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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