From owner-freebsd-current Mon Dec 23 6:39: 1 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 174ED37B405 for ; Mon, 23 Dec 2002 06:39:00 -0800 (PST) Received: from morphy.iki.fi (baana-pppoes-213-139-166-84.suomi.net [213.139.166.84]) by mx1.FreeBSD.org (Postfix) with SMTP id 3104343EE5 for ; Mon, 23 Dec 2002 06:38:54 -0800 (PST) (envelope-from morphy@morphy.iki.fi) Received: (qmail 74710 invoked by uid 1000); 23 Dec 2002 14:15:44 -0000 Date: Mon, 23 Dec 2002 16:15:44 +0200 From: Mikko Hyvarinen To: freebsd-current@FreeBSD.ORG Subject: Re: Problem upgrading to -current Message-ID: <20021223141544.GD720@morphy.iki.fi> References: <3E0664B6.8060306@hotmail.com> <20021223131250.GA644@gothmog.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021223131250.GA644@gothmog.gr> User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Dec 23, 2002 at 03:12:50PM +0200, Giorgos Keramidas wrote: > On 2002-12-22 17:19, walt 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