Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jun 2003 11:34:18 -0700
From:      Joshua Oreman <oremanj@webserver.get-linux.org>
To:        "Thomas T. Veldhouse" <veldy@veldy.net>
Cc:        questions@freebsd.org
Subject:   Re: Upgrading 5.0 -> 5.1
Message-ID:  <20030612183418.GB7415@webserver.get-linux.org>
In-Reply-To: <011101c330fa$8a4cebc0$d037630a@dh.com>
References:  <200306120805.45148.andrewr@uidaho.edu> <011101c330fa$8a4cebc0$d037630a@dh.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 12, 2003 at 10:51:50AM -0500 or thereabouts, Thomas T. Veldhouse seemed to write:
> You will need a whole new world as well.
> 
> cvsup
> (cd /usr/src && make world)
> (cd /usr/src/sys/i386/conf && config GENERIC && cd ../compile/GENERIC &&
> make all install)
> reboot
> 
> 
> Approximately.  I guess there is a way to make the kernel from the top level
> tree, but I have always done it that above way and don't plan to change
> unless I must.

You should *really* use 'make buildkernel' in the toplevel if you're
combining it with a world update. Recommended procedure:
~# cvsup /my/5.1.supfile
~# cd /usr/src
/usr/src# make buildworld
/usr/src# make buildkernel KERNCONF=<yourKERNELname>
/usr/src# make installkernel KERNCONF=<yourKERNELname>
/usr/src# reboot
OK boot -s
# fsck -p && mount -a
# ( cd /usr/src && make installworld )
# reboot
OK boot

Also read chapter 21 of the Handbook.

-- Josh

> 
> Tom Veldhouse
> 
> ----- Original Message -----
> From: "Andrew Robinson" <andrewr@uidaho.edu>
> To: <freebsd-questions@freebsd.org>
> Sent: Thursday, June 12, 2003 10:05 AM
> Subject: Upgrading 5.0 -> 5.1
> 
> 
> > Hi all,
> >
> > I'm trying to figure out what options I have for upgrading from 5.0 to
> 5.1.
> > Can I just use csvup to change my local copy of the source code, and
> > recompile?  Ie do the same steps that I've done to upgrade after security
> > announcements?  Would that just entail editing my standard-supfile to
> replace
> >
> > *default release=cvs tag=RELENG_5_0
> >
> > with
> >
> > *default release=cvs tag=RELENG_5_1
> >
> > and running csvsup, then compiling a new kernel?
> >
> > I'd appreciate confirmation, cautions, or tips.
> >
> > Thanks!
> >
> > Andrew
> > --
> > Andrew Robinson                      Ph: 208 885 7115
> > Department of Forest Resources       Fa: 208 885 6226
> > University of Idaho                  E : andrewr@uidaho.edu
> > PO Box 441133                        W : http://www.uidaho.edu/~andrewr
> > Moscow ID 83843                      Or: http://www.biometrics.uidaho.edu
> > No statement above necessarily represents my employer's opinion.
> >
> > _______________________________________________
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"
> >
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



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