5-STABLE to 6-CURRENT
Garance A Drosihn
drosih at rpi.edu
Mon Feb 7 20:34:06 GMT 2005
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
More information about the freebsd-current
mailing list