Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Apr 1998 13:40:13 -0500
From:      "Juan C. Vazquez" <jcvp@dextracode.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: 2.2.5 How to upgrade to 2.2.6
Message-ID:  <352BC48C.B48C782B@dextracode.com>
References:  <199803312342.PAA29815@tao.thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Gary Kline wrote:

> According to Randy Katz:
> > Hi,
> >
> > I have found, if you're connected to the 'net, to like this procedure:
> >
> > 1. pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/CVSup/cvsupit.tgz
> > 2. Say yes to everything except to do the Update and the firewall, ports
> > as you wish...
> > 3. vi /etc/cvsupfile
> > 4. change RELENG_2_2 to RELENG_2_2_6_RELEASE
> > 5. cvsup -L 2 -g /etc/cvsupfile
> > 6. cd /usr/src
> > 7. make world (do not reboot afterwards, this takes a long time).
> > 8. backup /etc/ (cd /etc; tar cvf /tempdir/etcback.tar)
> > 9. cd /usr/src/sys/i386/conf
> > 10. cp GENERIC MYKERNEL (your kernel)
> > 11. vi MYKERNEL (edit as desired)
> > 12. config MYKERNEL
> > 13. cd ../../compile/MYKERNEL
> > 14. make depend; make; make install
> > 15. cd /usr/obj/etc (not sure on this one, pulling from memory)
> > 16. rm master.passwd, group, rc.conf (look at this one and merge where
> > necessary), and whichever other files you have modified.
> > 17. copy to /etc the rest (with subdirectories).
> > 18. vi /etc/fstab
> > 19. change wd0a to wd0s1a
> > 20. reboot the beast
> >
> > You could most likely do the same from the CD and a boot floppy (the latest).
> >
>
>         This is the kind of cookbook files that I'll salt away in
>         my ~/.HowTo file.
>

You bet!

>         Not being familiar with cvsup, I haven't a clue where your
>         first 5 steps are correct... .   There is one way to find
>         out.
>

It worked!

>         Comments?  Can anybody expand upon this list?
>

I would like to add as 21. makewhatis as an optional step. My box had a nasty hang
when I ran apropos before this, just before the upgrade.

Also, on 19 in my case I had to change to wd0s2a, as I have the OS on a second
slice.


-jc-




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?352BC48C.B48C782B>