From owner-freebsd-stable Sat Mar 18 8:15:21 2000 Delivered-To: freebsd-stable@freebsd.org Received: from po4.glue.umd.edu (po4.glue.umd.edu [128.8.10.124]) by hub.freebsd.org (Postfix) with ESMTP id 483B137B5A3; Sat, 18 Mar 2000 08:15:09 -0800 (PST) (envelope-from bfoz@glue.umd.edu) Received: from glue.umd.edu (poseidon.student.umd.edu [129.2.220.99]) by po4.glue.umd.edu (8.9.3/8.9.3) with ESMTP id LAA28112; Sat, 18 Mar 2000 11:14:42 -0500 (EST) Message-ID: <38D3AB72.366D851D@glue.umd.edu> Date: Sat, 18 Mar 2000 11:14:42 -0500 From: Brandon Fosdick X-Mailer: Mozilla 4.7 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Warner Losh , Doug Barton , Josef Karthauser , Ruslan Ermilov , stable@FreeBSD.ORG Subject: Re: HEADS UP: 3.x -> 4.0-STABLE upgrade instructions References: <200003152159.OAA89926@harmony.village.org> <38D03E64.3D17FC34@glue.umd.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Brandon Fosdick wrote: > > Warner Losh wrote: > > > > In message Doug Barton writes: > > : You can find instructions at > > : http://freebsd.simplenet.com/make-upgrade.html. I am planning to update > > : that file for 3.4 -> 4.0 asap BTW. > > > > Let me know if the following doesn't work: > > To update from 3.x to 4.0 stable > > -------------------------------- > > cd /usr/src > > make buildworld > > cd sbin/mknod > > make install > > > > [*] > > reboot > > > > cd /usr/src > > make -DNOINFO installworld > > make installworld > > > > [*] You may need to switch from wd to ad ala 19991210 > > > > To build a kernel > > ----------------- > > Update config, genassym and go: > > cd src/usr.bin/genassym > > make depend all install > > cd ../../usr.sbin/config > > make depend all install > > cd ../../sys/i386/conf > > config YOUR_KERNEL_HERE > > cd ../../compile/YOUR_KERNEL_HERE > > make depend && make > > make install > > > > To rebuild disk /dev entries > > ---------------------------- > > > > MAKEDEV should be copied from src/etc/MAKEDEV to /dev before > > starting the following: > > > > For N in the list of disks > > MAKEDEV N # eg ad0 > > for M in the list of slices > > MAKEDEV NsMa # eg ad0s1a > > How to go about switching over from wd to ad needs to be explained a little > better. After doing the MAKEDEV routine I went and changed all the wd's in my > fstab to ad's. Boy was that a mistake. Now I have to find somthing I can boot > with that will let me mount the root partition read/write so that I can change > fstab back. On top of that my cdrom suddenly decided to non-bootable. Maybe I'm > just having a bad day... > > -Brandon Here's how I fixed that mess so that everybody can see what a dolt I am... When I did the MAKEDEV stuff I forgot to put the 'a' on the end of the device names. I did ad0s3 instead of ad0s3a. Doh! So when I rebooted (after changing fstab) it couldn't mount / read/write cause the device wasn't there. And since it would only mount / read-only I couldn't change fstab back and I couldn't make any new devices. So...I tried booting with my 3.2 cd's...that didn't work. (My 3.2 set has never worked right for anything), Then I dug out my 2.2.8 cd's, booted, did the live filesystem fixit mode thing, changed fstab back, rebooted from the hard drive, made all the right devices, changed fstab back to ad's and then rebooted again. And it finally worked! Woohoo! I've got 4.0 up and running! Now only if I could get arla to build properly... -Brandon -- bfoz@glue.umd.edu "Lead, follow, or get run over" "In life there are those who steer, and those who push" "I'm not impatient, the world is too slow" "Life is short, so have fun, play hard, and leave a good looking corpse" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message