From owner-freebsd-stable@FreeBSD.ORG Thu Oct 18 01:26:17 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1C6B16A417 for ; Thu, 18 Oct 2007 01:26:17 +0000 (UTC) (envelope-from SRS0=2e1007047d295f3d50d8bad3051c5692e5fc470f=491=es.net=oberman@es.net) Received: from postal1.es.net (postal3.es.net [IPv6:2001:400:14:3::8]) by mx1.freebsd.org (Postfix) with ESMTP id 88C5113C442 for ; Thu, 18 Oct 2007 01:26:15 +0000 (UTC) (envelope-from SRS0=2e1007047d295f3d50d8bad3051c5692e5fc470f=491=es.net=oberman@es.net) Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by postal3.es.net (Postal Node 3) with ESMTP (SSL) id WFE69012; Wed, 17 Oct 2007 14:13:12 -0700 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 7EF984500E; Wed, 17 Oct 2007 14:13:12 -0700 (PDT) To: "Claus Guttesen" In-Reply-To: Your message of "Mon, 15 Oct 2007 22:26:43 +0200." Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1192655592_56530P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Wed, 17 Oct 2007 14:13:12 -0700 From: "Kevin Oberman" Message-Id: <20071017211312.7EF984500E@ptavv.es.net> X-Sender-IP: 198.128.4.29 X-Sender-Domain: es.net X-Recipent: ; ; ; X-Sender: X-To_Name: Claus Guttesen X-To_Domain: gmail.com X-To: "Claus Guttesen" X-To_Email: kometen@gmail.com X-To_Alias: kometen Cc: Robert Chalmers , freebsd-stable@freebsd.org Subject: Re: can I do 6.1-RELEASE to 6.2 via cvsup X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Oct 2007 01:26:17 -0000 --==_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 buildworld make kernel KERNCONF=YOUR_KERNEL_HERE [1] [3] mergemaster -p [5] make installworld make delete-old mergemaster [4] -- 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--