Date: Sun, 26 Dec 2010 21:25:50 +0100 From: Polytropon <freebsd@edvax.de> To: Grant Peel <gpeel@thenetnow.com> Cc: freebsd-questions@freebsd.org Subject: Re: Updating. Message-ID: <20101226212550.d7fcaf76.freebsd@edvax.de> In-Reply-To: <690996CCDF2D4E51B5B661ECE9443807@GRANTDESKTOP> References: <690996CCDF2D4E51B5B661ECE9443807@GRANTDESKTOP>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 26 Dec 2010 15:11:54 -0500, "Grant Peel" <gpeel@thenetnow.com> wrote: > After running cvsup to obtain the new source, is it generally > considered OK to run the maike buildworld in multiuser mode, > or, are the dangers to doing this? Seems to be no problem, as /usr/src/Makefile states this as the default order: For individuals wanting to upgrade their sources (even if only a delta of a few days): 1. `cd /usr/src' (or to the directory containing your source tree). 2. `make buildworld' 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). [steps 3. & 4. can be combined by using the "kernel" target] 5. `reboot' (in single user mode: boot -s from the loader prompt). 6. `mergemaster -p' 7. `make installworld' 8. `make delete-old' 9. `mergemaster' (you may wish to use -U or -ai). 10. `reboot' 11. `make delete-old-libs' (in case no 3rd party program uses them anymore) > Of course, after that step, one would drop to single user > mode to buildkernel, installkernel, and installworld. No, buildkernel, as all build activities, can be safely performed in multi-user mode. There are just restrictions in when to actually INSTALL built stuff. The kernel can be installed in multi-user mode (but should be okay in single-user mode, too), THEN the reboot into that new kernel is performed, in single-user mode of course, and finally the world is installed in this "construction environment". After that, the system is rebooted again to start into multi-user mode again with the fully updated system (kernel AND world). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101226212550.d7fcaf76.freebsd>