diff --git a/en_US.ISO8859-1/books/handbook/kernelconfig/chapter.sgml b/en_US.ISO8859-1/books/handbook/kernelconfig/chapter.sgml index 4490777632..67bdb45f42 100644 --- a/en_US.ISO8859-1/books/handbook/kernelconfig/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/kernelconfig/chapter.sgml @@ -1,7 +1,7 @@ @@ -127,16 +127,26 @@ section slowly and carefully. - If you are trying to upgrade your kernel from an older version - of FreeBSD, you will probably have to get a new version of - &man.config.8; from the same place you got the new kernel sources. - It is located in /usr/src/usr.sbin, so you - will need to download those sources as well. Re-build and install - it before running the next commands. + Be sure to always check the file + /usr/src/UPDATING, before you perform any update + steps! In this file all important issues with updating FreeBSD + are written down. /usr/src/UPDATING always fits + to your version of the FreeBSD source, and is therefore more accurate + for those information than the handbook. When you are finished, type the following to compile and install - your kernel: + your kernel if you are using FreeBSD prior FreeBSD 4.0 and don't + want to upgrade to FreeBSD 4.0 or higher with this step. + + + If you are trying to upgrade your kernel from an older version + of FreeBSD, you will probably have to get a new version of + &man.config.8; from the same place you got the new kernel sources. + It is located in /usr/src/usr.sbin, so you + will need to download those sources as well. Re-build and install + it before running the next commands. + &prompt.root; /usr/sbin/config MYKERNEL &prompt.root; cd ../../compile/MYKERNEL @@ -144,6 +154,14 @@ &prompt.root; make &prompt.root; make install + For FreeBSD 4.x or later (or upgrading from FreeBSD 3.x to + FreeBSD 4.x or higher), use the following commands (be sure you + have built world before!): + + &prompt.root; cd /usr/src +&prompt.root; make buildkernel KERNEL=MYKERNEL +&prompt.root; make installkernel KERNEL=MYKERNEL + The new kernel will be copied to the root directory as /kernel and the old kernel will be moved to /kernel.old. Now, shutdown the system and diff --git a/en_US.ISO_8859-1/books/handbook/kernelconfig/chapter.sgml b/en_US.ISO_8859-1/books/handbook/kernelconfig/chapter.sgml index 4490777632..67bdb45f42 100644 --- a/en_US.ISO_8859-1/books/handbook/kernelconfig/chapter.sgml +++ b/en_US.ISO_8859-1/books/handbook/kernelconfig/chapter.sgml @@ -1,7 +1,7 @@ @@ -127,16 +127,26 @@ section slowly and carefully. - If you are trying to upgrade your kernel from an older version - of FreeBSD, you will probably have to get a new version of - &man.config.8; from the same place you got the new kernel sources. - It is located in /usr/src/usr.sbin, so you - will need to download those sources as well. Re-build and install - it before running the next commands. + Be sure to always check the file + /usr/src/UPDATING, before you perform any update + steps! In this file all important issues with updating FreeBSD + are written down. /usr/src/UPDATING always fits + to your version of the FreeBSD source, and is therefore more accurate + for those information than the handbook. When you are finished, type the following to compile and install - your kernel: + your kernel if you are using FreeBSD prior FreeBSD 4.0 and don't + want to upgrade to FreeBSD 4.0 or higher with this step. + + + If you are trying to upgrade your kernel from an older version + of FreeBSD, you will probably have to get a new version of + &man.config.8; from the same place you got the new kernel sources. + It is located in /usr/src/usr.sbin, so you + will need to download those sources as well. Re-build and install + it before running the next commands. + &prompt.root; /usr/sbin/config MYKERNEL &prompt.root; cd ../../compile/MYKERNEL @@ -144,6 +154,14 @@ &prompt.root; make &prompt.root; make install + For FreeBSD 4.x or later (or upgrading from FreeBSD 3.x to + FreeBSD 4.x or higher), use the following commands (be sure you + have built world before!): + + &prompt.root; cd /usr/src +&prompt.root; make buildkernel KERNEL=MYKERNEL +&prompt.root; make installkernel KERNEL=MYKERNEL + The new kernel will be copied to the root directory as /kernel and the old kernel will be moved to /kernel.old. Now, shutdown the system and