Re: 5-STABLE to 6-CURRENT

From: Garance A Drosihn <drosih_at_rpi.edu>
Date: Mon, 7 Feb 2005 15:33:59 -0500
At 10:17 AM -0700 2/7/05, M. Warner Losh wrote:
>In message: <200502070810.53809.jonathan_at_fosburgh.org>
>             Jonathan Fosburgh <jonathan_at_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_at_gilead.netel.rpi.edu
Senior Systems Programmer           or  gad_at_freebsd.org
Rensselaer Polytechnic Institute    or  drosih_at_rpi.edu
Received on Mon Feb 07 2005 - 19:34:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:27 UTC