Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Mar 2000 11:14:42 -0500
From:      Brandon Fosdick <bfoz@glue.umd.edu>
To:        Warner Losh <imp@village.org>, Doug Barton <Doug@gorean.org>, Josef Karthauser <joe@pavilion.net>, Ruslan Ermilov <ru@FreeBSD.ORG>, stable@FreeBSD.ORG
Subject:   Re: HEADS UP: 3.x -> 4.0-STABLE upgrade instructions
Message-ID:  <38D3AB72.366D851D@glue.umd.edu>
References:  <Pine.BSF.4.21.0003151354390.1980-100000@dt051n0b.san.rr.com> <200003152159.OAA89926@harmony.village.org> <38D03E64.3D17FC34@glue.umd.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Brandon Fosdick wrote:
> 
> Warner Losh wrote:
> >
> > In message <Pine.BSF.4.21.0003151354390.1980-100000@dt051n0b.san.rr.com> 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
> >         <follow directions to build/install a kernel>
> >         <follow rebuild disk /dev entries above>        [*]
> >         reboot
> >         <in single user>
> >         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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38D3AB72.366D851D>