From owner-freebsd-current Mon Mar 6 0:56:54 2000 Delivered-To: freebsd-current@freebsd.org Received: from nothing-going-on.demon.co.uk (nothing-going-on.demon.co.uk [193.237.89.66]) by hub.freebsd.org (Postfix) with ESMTP id EE14437BCBD for ; Mon, 6 Mar 2000 00:56:48 -0800 (PST) (envelope-from nik@nothing-going-on.demon.co.uk) Received: (from nik@localhost) by nothing-going-on.demon.co.uk (8.9.3/8.9.3) id UAA48815 for current@freebsd.org; Sun, 5 Mar 2000 20:24:35 GMT (envelope-from nik) Date: Sun, 5 Mar 2000 20:24:35 +0000 From: Nik Clayton To: current@freebsd.org Subject: Alternative way to do -stable to -current upgrade Message-ID: <20000305202435.A39101@catkin.nothing-going-on.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i Organization: FreeBSD Project Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi guys, I had an abortive -stable to -current upgrade late last week, despite following the directions in UPGRADING, the two kernels I built (one custom, one GENERIC) both froze on me during the reboot process. I'm a little wary of doing it again like that, because it does take some time to fix. So I had an alternative idea. How about doing the following: 1. Download -current boot.flp, mfsroot.flp, fixit.flp, and write to floppies 2. cd /usr/src && make buildworld 3. Reboot from boot/mfsroot.flp 4. When prompted, use the fixit floppy to get a shell 5. Mount all the fixed disk partitions, and then (assuming they're all mounted under /mnt/root) cd /mnt/root/usr/src && make DESTDIR=/mnt/root 6. Mergemaster 7. Build and install a new kernel This has the added advantage that if there's something in your system that was OK in -stable, but doesn't work in -current, you're going to find out about it before you've done an installworld, and before you've overwritten a working -stable /kernel, because boot.flp will fail to work. The only problem is that mergemaster assumes it's merging in to /etc, when that wouldn't be the case here -- mergemaster would need another config option ($DEST_ETC ?) to specify where to install to. Can anyone see anything there that's likely not to work? N -- Internet connection, $19.95 a month. Computer, $799.95. Modem, $149.95. Telephone line, $24.95 a month. Software, free. USENET transmission, hundreds if not thousands of dollars. Thinking before posting, priceless. Somethings in life you can't buy. For everything else, there's MasterCard. -- Graham Reed, in the Scary Devil Monastery To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message