Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Oct 2007 14:13:12 -0700
From:      "Kevin Oberman" <oberman@es.net>
To:        "Claus Guttesen" <kometen@gmail.com>
Cc:        Robert Chalmers <robert.a.chalmers@gmail.com>, freebsd-stable@freebsd.org
Subject:   Re: can I do 6.1-RELEASE to 6.2 via cvsup 
Message-ID:  <20071017211312.7EF984500E@ptavv.es.net>
In-Reply-To: Your message of "Mon, 15 Oct 2007 22:26:43 %2B0200." <b41c75520710151326m439a631awe78f87f0ab637750@mail.gmail.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
--==_Exmh_1192655592_56530P
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

> 
> 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@es.net			Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751

--==_Exmh_1192655592_56530P
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)
Comment: Exmh version 2.5 06/03/2002

iD8DBQFHFnrokn3rs5h7N1ERAmaxAJ9aNpc5lj+xFNv7Ho9XlnbGr7WRoACgq6xG
mGS0iO28m991wW+/GtMPb10=
=e7/5
-----END PGP SIGNATURE-----

--==_Exmh_1192655592_56530P--



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