Date: Fri, 19 Aug 2005 14:26:40 -0700 From: "Kevin Oberman" <oberman@es.net> To: daniel@unixcore.com Cc: freebsd-stable@freebsd.org Subject: Re: update from 5.4RELESE to 5.4RELEASEP1 how Message-ID: <20050819212640.EE97B5D07@ptavv.es.net> In-Reply-To: Your message of "Fri, 19 Aug 2005 20:39:00 %2B0200." <2985.83.109.138.110.1124476740.squirrel@www.hostex.no>
next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Fri, 19 Aug 2005 20:39:00 +0200 (CEST) > From: daniel@unixcore.com > Sender: owner-freebsd-stable@freebsd.org > > I'm sorry, I wrote the last mail a little quickly, and forgot a very > important point! > > > (if no cvsup is installed) # pkg_add -r cvsup-without-gui > > (norwegian cvsup mirror) # cvsup -h cvsup.no.freebsd.org > > /usr/share/examples/cvsup/stable-supfile > > # cd /usr/src > > # make buildworld -j 4 > > # make buildkernel KERNCONF=mykernel > > # make installkernel KERNCONF=mykernel > > # mergemaster -p > > # make installworld > > # reboot > > > > should be: > > # cvsup -h cvsup.no.freebsd.org /usr/share/examples/cvsup/stable-supfile > # cd /usr/src > # make buildworld -j 4 > # make buildkernel KERNCONF=mykernel > # make installkernel KERNCONF=mykernel > # mergemaster -p > # make installworld > # mergemaster > # reboot > > Sorry for the type-o/mistake. This works, but it is not safe. The documented procedure is: # make buildworld # make buildkernel KERNCONF=mykernel # make installkernel KERNCONF=mykernel # mergemaster -p # shutdown -r now reboot to single user mode! # adjkerntz -i # swapon -a # mount -a -t ufs # cd /usr/src # make installworld # mergemaster # reboot The added reboot allows you to confirm that the new kernel is OK before installing the new system. If you have installed world and then cant boot the new kernel, you might being very bad shape, depending on what has changed between the new and old system. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050819212640.EE97B5D07>