From owner-freebsd-current Sat Jan 22 15:22:51 2000 Delivered-To: freebsd-current@freebsd.org Received: from sabre.velocet.net (sabre.velocet.net [198.96.118.66]) by hub.freebsd.org (Postfix) with ESMTP id 2A38D14D5C for ; Sat, 22 Jan 2000 15:22:49 -0800 (PST) (envelope-from dgilbert@trooper.velocet.net) Received: from trooper.velocet.net (trooper.velocet.net [216.126.82.226]) by sabre.velocet.net (Postfix) with ESMTP id 0303B137FBB for ; Sat, 22 Jan 2000 18:22:48 -0500 (EST) Received: (from dgilbert@localhost) by trooper.velocet.net (8.9.3/8.9.3) id SAA90724; Sat, 22 Jan 2000 18:22:49 -0500 (EST) (envelope-from dgilbert) From: David Gilbert MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14474.15305.507542.292721@trooper.velocet.net> Date: Sat, 22 Jan 2000 18:22:49 -0500 (EST) To: freebsd-current@freebsd.org Subject: On a lighter note... how-to upgrade X-Mailer: VM 6.75 under 20.4 "Emerald" XEmacs Lucid Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have followed the UPDATES file... and I have source-make-world upgraded several machines from 3.3 and 3.4 to 4.0-CURRENT recently. I thought I'd contribute a method that is reasonably likely to work and reasonably likely to not be going overboard. Someone should maintain a file like this. (generate things needed to make kernel) make all->install usr.sbin/config make all->install usr.bin/genassym (it appears that a lot of things don't work right until the new kernel is in place, and it can be installed first) make 4.0 kernel reboot with 4.0 kernel (remember de->dc change and other device name changes.) (you will have trouble with root not being fsck'd if you crash in here requiring manual intervention. This goes away after you makedev your disks again.) (bootstap compile process) make all->install 1) lib/libc 2) lib/util 3) lib/kvm and usr.bin/top (if you like to watch things run) 4) usr.sbin/yacc 5) gnu/usr.bin/cc make world cp /usr/src/etc/MAKEDEV /dev; cd /dev; MAKEDEV all std (you might also want to MAKEDEV any disk devices that you like) reboot (Paranoia?) make kernel again make world again reboot again The only problem I've run into ... and it was a system that had been source upgraded repeatedly from somewhere back around 2.2.5 ... was that I had a /usr/local/bin/makeinfo lying around that caused trouble for the gnu/usr.bin/cc build. Dave. -- ============================================================================ |David Gilbert, Velocet Communications. | Two things can only be | |Mail: dgilbert@velocet.net | equal if and only if they | |http://www.velocet.net/~dgilbert | are precisely opposite. | =========================================================GLO================ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message