Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Dec 2002 16:15:44 +0200
From:      Mikko Hyvarinen <morphy@morphy.iki.fi>
To:        freebsd-current@FreeBSD.ORG
Subject:   Re: Problem upgrading to -current
Message-ID:  <20021223141544.GD720@morphy.iki.fi>
In-Reply-To: <20021223131250.GA644@gothmog.gr>
References:  <au5lpm$ac$1@FreeBSD.csie.NCTU.edu.tw> <3E0664B6.8060306@hotmail.com> <20021223131250.GA644@gothmog.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 23, 2002 at 03:12:50PM +0200, Giorgos Keramidas wrote:
> 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 :-/

This change is mentioned in UPDATING, see entry 20000905.

The instructions in UPDATING are a kind of an ad-hoc upgrade guide, but
not a complete one. Read it from oldest entry to the newest, apply some
common sense and you will do fine.

-- 
All opinions expressed above are mine alone and do not express the views
of my employer or any other organizations that I am affiliated with.

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?20021223141544.GD720>