From: matthias Date: Wed, 18 Feb 2009 18:40:50 +0000 (-0800) Subject: markup X-Git-Url: https://gitweb.dragonflybsd.org/ikiwiki.git/commitdiff_plain/f54e19cec9c090ee56f827557fd3c4076e8e934d markup --- diff --git a/docs/handbook/handbook-updating-makeworld.mdwn b/docs/handbook/handbook-updating-makeworld.mdwn index a1bcc369..2eb74c80 100644 --- a/docs/handbook/handbook-updating-makeworld.mdwn +++ b/docs/handbook/handbook-updating-makeworld.mdwn @@ -1,38 +1,33 @@ - - -## Updating the System - -Updating the system is a relatively simple process. As root, in `/usr/src`: - - - % make buildworld - % make buildkernel KERNCONF=GENERIC - % make installkernel KERNCONF=GENERIC - % make installworld - % make upgrade - (reboot) - - -An explanation of each step follows. - - -* `make buildworld` : This command rebuilds all userland programs. This is the most time-consuming step. - -* `make buildkernel KERNCONF=GENERIC` : This builds the kernel using the config file specified by KERNCONF. If you've created a different kernel configuration file as detailed in [Chapter 9](kernelconfig.html), use that instead of GENERIC. If KERNCONF isn't specified, the GENERIC configuration file (installed by default) is used. - -* `make installkernel KERNCONF=GENERIC` : This installs the kernel using the config file specified by KERNCONF. The value of KERNCONF must match what was specified in the make buildkernel command, so that files that match this configuration can be installed correctly. As with make buildkernel, KERNCONF will be set to GENERIC if not otherwise specified. - -* `make installworld` : This copies all the files built in the buildworld step (i.e. everything that is not the kernel) to the proper places in the filesystem. - -* `make upgrade` : This cleans out any files made unnecessary by this upgrade. - -* (reboot) : Reboot the computer to load the new kernel and use the new files installed as part of this process. - -If your computer fails to reboot, check the [Section 9.6](kernelconfig-trouble.html) section of the handbook. - - **NOTE** : You should never run `make upgrade` before having installed the new kernel and world because your system might (in the worst case) be rendered useless if you do so. This can happen because `make upgrade` might remove something that the old system still needs for functioning correctly! - -A more in-depth explanation of the build process is described in [build(7)](http://leaf.dragonflybsd.org/cgi/web-man?command#build§ion7) - -CategoryHandbook -CategoryHandbook-updating +## Updating the System + +Updating the system is a relatively simple process. As root, in `/usr/src`: + + % make buildworld + % make buildkernel KERNCONF=GENERIC + % make installkernel KERNCONF=GENERIC + % make installworld + % make upgrade + (reboot) + +An explanation of each step follows. + + + + +* `make buildworld` : This command rebuilds all userland programs. This is the most time-consuming step. + +* `make buildkernel KERNCONF=GENERIC` : This builds the kernel using the config file specified by KERNCONF. If you've created a different kernel configuration file as detailed in chapter 10, use that instead of GENERIC. If KERNCONF isn't specified, the GENERIC configuration file (installed by default) is used. + +* `make installkernel KERNCONF=GENERIC` : This installs the kernel using the config file specified by KERNCONF. The value of KERNCONF must match what was specified in the make buildkernel command, so that files that match this configuration can be installed correctly. As with make buildkernel, KERNCONF will be set to GENERIC if not otherwise specified. + +* `make installworld` : This copies all the files built in the buildworld step (i.e. everything that is not the kernel) to the proper places in the filesystem. + +* `make upgrade` : This cleans out any files made unnecessary by this upgrade. + +* (reboot) : Reboot the computer to load the new kernel and use the new files installed as part of this process. + + + +If your computer fails to reboot, check the troubleshooting section of chapter 10 of the handbook. **NOTE** : You should never run `make upgrade` before having installed the new kernel and world because your system might (in the worst case) be rendered useless if you do so. This can happen because `make upgrade` might remove something that the old system still needs for functioning correctly! + +A more in-depth explanation of the build process is described in [build(7)](http://leaf.dragonflybsd.org/cgi/web-man?command#build§ion7)