Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2003 16:59:53 +0200
From:      Willie Viljoen <will@unfoldings.net>
To:        dan@slightlystrange.org, "freebsd-questions@FreeBSD.ORG " <freebsd-questions@FreeBSD.ORG>
Subject:   Re: 4.7 Upgrade issue
Message-ID:  <200302261659.53407.will@unfoldings.net>
In-Reply-To: <20030226145024.GE55640@catflap.home.slightlystrange.org>
References:  <20030226144352.5202D43FBD@mx1.FreeBSD.org> <20030226145024.GE55640@catflap.home.slightlystrange.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 26 February 2003 16:50, someone, possibly Daniel Bye, typed:
> Yes, but how is that so different from installing a new world for an old
> kernel?

The problem with a new world on an old kernel is that libraries in your 
world may have changed with the upgrade. If a library that interfaces 
directly with some feature in the kernel is changed, and is expecting the 
change to be present in the kernel, you will almost certainly have trouble 
with it.

> When you have built a new kernel, you must reboot to start using it. 
> After running make installworld with the new kernel, you have the new
> world installed as well.  Your new kernel will only be running for a few
> minutes with the old world, until the new one is fully installed.

That is exactly how it should be.

The tried and trusted method, that works for me, and is the official method 
listed in the UPDATING file:

cd /usr/src/sys/i386/conf && vi YOURCONFIG
cd /usr/src/ && make buildworld kernel KERNCONF=YOURCONFIG

The kernel target is a combination of buildkernel and installkernel. These 
targets are built in order and rely on the previous target making it. Thus, 
buildworld must succeed for buildkernel to begin, and after buildkernel has 
worked, installkernel will run. Once this is completed, continue with:

shutdown now

You will now have dropped to single user mode, then, pick /bin/sh for your 
shell (this is easier to use in single user than csh), and run:

cd /usr/src
mergemaster -p
make installworld
mergemaster
reboot

You will now have a properly functioning and fully upgraded system.

Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

will@unfoldings.net

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




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