Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Feb 2005 15:33:59 -0500
From:      Garance A Drosihn <drosih@rpi.edu>
To:        "M. Warner Losh" <imp@bsdimp.com>, jonathan@fosburgh.org
Cc:        current@freebsd.org
Subject:   Re: 5-STABLE to 6-CURRENT
Message-ID:  <p0620078abe2d7c832144@[128.113.24.47]>
In-Reply-To: <20050207.101739.16679956.imp@bsdimp.com>
References:  <200502070810.53809.jonathan@fosburgh.org> <20050207.101739.16679956.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 10:17 AM -0700 2/7/05, M. Warner Losh wrote:
>In message: <200502070810.53809.jonathan@fosburgh.org>
>             Jonathan Fosburgh <jonathan@fosburgh.org> writes:
>: /usr/src/UPDATING doesn't seem too clear on this, and I can't
>: find it in the mailing lists. What is the current procedure to
>: upgrade from 5-STABLE to 6-CURRENT?
>
>Here's what I have in my tree, waiting to be committed.  I've
>simplified out all the 4.x stuff since people still running 4.x
>should consider upgrading to 5.3 first.  As such, I've removed
>all the work arounds for an imperfect evolution of the system.
>
>	To upgrade in-place from 5.x-stable to current
>	----------------------------------------------
>	<make sure you have good level 0 dumps>
>	make buildworld					[9]
>	make kernel KERNCONF=YOUR_KERNEL_HERE		[8]
>							[1]
>	<reboot in single user>				[3]
>	mergemaster -p					[5]

I find it easier/nicer to do the 'mergemaster -p' step before
rebooting into single-user mode...  That's at least partially
because I'm trying to keep accounts in-sync across multiple
machines.  On the other hand, I don't see any advantage in
waiting to do that step after the reboot.

>	[3] From the bootblocks, boot -s, and then do
>		fsck -p
>		mount -u /
>		mount -a
>		cd src
>		adjkerntz -i		# if CMOS is wall time
>	Also, when doing a major release upgrade, it is required that
>	you boot into single user mode to do the installworld.

To me, it seemed like a good idea to put all these steps (and a
few others) in a source-file under /root.  That way I only have to
type in one thing -- and I'm much less tempted to try short-cuts
if there is only one thing to type in.

What is that 'cd src' doing in there?  What causes you to be
in /usr at that step?  I'm pretty sure that I'm in / or /root.

-- 
Garance Alistair Drosehn            =   gad@gilead.netel.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu



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