Date: Fri, 1 Feb 2008 15:14:59 +0100 From: Erik Trulsson <ertr1013@student.uu.se> To: freebsd-questions@freebsd.org Subject: Re: CVSup update or upgrade Message-ID: <20080201141459.GA36143@owl.midgard.homeip.net> In-Reply-To: <20080201074124.53afe5e3@scorpio> References: <1201823233.15358.40.camel@Caffiend.org> <20080131195749.0b6f551d@makeworld.com> <20080201074124.53afe5e3@scorpio>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 01, 2008 at 07:41:24AM -0500, Gerard wrote: > On Thu, 31 Jan 2008 19:57:49 -0600 > Chris <racerx@makeworld.com> wrote: > > > Assuming you went from 6.3-RELEASE to 6.3-STABLE and also assuming you > > do not have customization in /etc - here's what I do... > > > > After a cvsup of the src tree (ensuring I want the STABLE branch > > (*default release=cvs tag=RELENG_6) > > > > # cd /usr/src > > # make buildworld > > # make buildkernel KERNCONF=GENERIC (Assuming you use GENERIC) > > # make installkernel KERNCONF=GENERIC (Assuming you use GENERIC) > > # shutdown -r now (no need for Single-User Mode if YOU are the only > > user) > > You can just type: "shutdown now" to go into single user mode. It > avoids the reboot sequence. Going to single user mode is the less important part of rebooting. The other part is that after the reboot you will be running the *new* kernel which might possibly be needed for a successful installworld. It is also a good test that the new kernel actually work. If the new kernel should fail to work it is fairly easy to use the old kernel instead. If you have already overwritten all userland programs with ones which require the new (non-working) kernel it can be difficult to recover from. Just going to single user mode without rebooting misses the point. The important thing is not to go into single user mode, it is to *reboot* into single user mode (or even into multi-user mode if you want to, but there are fewer things that can go wrong when going to single user mode.) > > > # cd /usr/src > > # make installworld > > I prefer to use the following after "make installworld" > > mergemaster -i -v -U > > Read the man pages for mergemaster for further details. > > > # shutdown -r now > > After rebooting, you might want to cd to the /usr/src directory and > run: "make delete-old-libs" to clear out any garbage. It is not > actually required however. > > -- > > Gerard > gerard@seibercom.net > > In the long run we are all dead. > > John Maynard Keynes > -- <Insert your favourite quote here.> Erik Trulsson ertr1013@student.uu.se
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080201141459.GA36143>