>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 3/16/00, 2:52:36 AM, Brandon Fosdick <[EMAIL PROTECTED]> wrote 
regarding Re: HEADS UP: 3.x -> 4.0-STABLE upgrade instructions:


> Warner Losh wrote:
> >
> > In message <[EMAIL PROTECTED]> 
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


Dear Brandon Fosdick,

the (almost complete) updating procedure lies before you [was: Nature 
;-)]. I am afraid the difficulties do NOT consist in making the 
devices nodes and the related slice entries. The following questions 
arise spontaneously. 

Q0) Have you been reading the -CURRENT mailing list archives for a 
while? In particular, have you read the letters posted in the last few 
weeks ?

Q1) Did you exactly do as described in the procedure ? That is, if 
your disk is ,say, wd0, did you make an ad0 device node ? Did you make 
the *slice* entries, in our example ad0s1a (which makes ados1a through 
ad0s1h), as indicated there ? Did you update your /etc/fstab 
accordingly ? Did you substitute ad* for wd* in all your configuration 
files ?

Q2) Have you read the very recent letters on the updating procedure 
(as of yesterday and today) ?

Q3) Have you appropriately used the -k (ie force) option when making 
installworld ?   

Mind you, I missed the "cleaning" issue (you should not use the clean 
target in genassym etc. when making your first 4.0 kernel.) 

However, I succeeded in upgrading (though not all components were 
actually built). I did not care. Rather, I made the world again and 
checked my install logs (and they looked ok): now my 4.0-CURRENT (or 
should I say 4-STABLE ;-) seems to work like charm. At least, so far 
...

Good luck
Salvo





To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to