can I do 6.1-RELEASE to 6.2 via cvsup

Kevin Oberman oberman at es.net
Wed Oct 17 18:26:17 PDT 2007


> 
> Yep:
> 
> 1. make buildworld
> 2. make buildkernel (add KERNCONF=mykernel to /etc/make.conf)
> 3. mergemaster -p
> 4. make installkernel
> 5. shutdown -r now and boot into single user
> 6. mount -a (if /usr/src and /usr/obj resides on their own partitions)
> 7. mergemaster
> 8. make installworld
> 9. reboot
> 
> I usually omit 5 and 6 because most of the time it works fine.

Please don't recommend skipping 5 and 6. While it almost always works
(and I have done it in the past and probably will again), it is very
dangerous. 

You have a new userland and the new kernel won't work. you boot
kernel.old. You now have a new userland and an old kernel. This can
leave you totally hosed if changes in userland require features in the
new kernel and not the old.

While this can be recovered, it is time consuming and tedious. If you are
not fairly familiar with how things work in FreeBSD, it may be hopeless.

Also, the list of things to do is a bit mis-ordered and truncated. The
official list is in /usr/src/UPDATING and reads:

        <make sure you have good level 0 dumps>
        make buildworld
        make kernel KERNCONF=YOUR_KERNEL_HERE
                                                        [1]
        <reboot in single user>                         [3]
        mergemaster -p                                  [5]
        make installworld
        make delete-old
        mergemaster                                     [4]
        <reboot>
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman at es.net			Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 224 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20071018/e1a0f9c0/attachment.pgp


More information about the freebsd-stable mailing list