diff options
author | Frans Pop <elendil@planet.nl> | 2006-04-28 19:31:36 +0000 |
---|---|---|
committer | Frans Pop <elendil@planet.nl> | 2006-04-28 19:31:36 +0000 |
commit | f6fe47e9d11f883fab2044bf914486078ff3e07c (patch) | |
tree | 788ebfcd1aa3b81681299a636343cfff4bf4bae8 /nl/post-install | |
parent | 3adc31626659f915b9ae9959c08fba7ef0c80a95 (diff) | |
download | installation-guide-f6fe47e9d11f883fab2044bf914486078ff3e07c.zip |
Update of original English docs
Diffstat (limited to 'nl/post-install')
-rw-r--r-- | nl/post-install/kernel-baking.xml | 33 |
1 files changed, 15 insertions, 18 deletions
diff --git a/nl/post-install/kernel-baking.xml b/nl/post-install/kernel-baking.xml index c106274db..433375fd7 100644 --- a/nl/post-install/kernel-baking.xml +++ b/nl/post-install/kernel-baking.xml @@ -1,5 +1,5 @@ <!-- retain these comments for translator revision tracking --> -<!-- original version: 36614 untranslated --> +<!-- original version: 36730 untranslated --> <sect1 id="kernel-baking"><title>Compiling a New Kernel</title> <para> @@ -137,42 +137,39 @@ parameters. To do that, do <userinput>make-kpkg clean</userinput>. </para><para> Now, compile the kernel: -<userinput>fakeroot make-kpkg --revision=custom.1.0 kernel_image</userinput>. +<userinput>fakeroot make-kpkg --initrd --revision=custom.1.0 kernel_image</userinput>. The version number of <quote>1.0</quote> can be changed at will; this is just a version number that you will use to track your kernel builds. Likewise, you can put any word you like in place of <quote>custom</quote> (e.g., a host name). Kernel compilation may take quite a while, depending on the power of your machine. -</para><para condition="supports-pcmcia"> - -If you require PCMCIA support, you'll also need to install the -<classname>pcmcia-source</classname> package. Unpack the gzipped tar file -as root in the directory <filename>/usr/src</filename> (it's important that -modules are found where they are expected to be found, namely, -<filename>/usr/src/modules</filename>). Then, as root, do <userinput>make-kpkg -modules_image</userinput>. - </para><para> Once the compilation is complete, you can install your custom kernel -like any package. As root, do <userinput>dpkg -i +like any package. As root, do +<phrase condition="classic-kpkg"> +<userinput>dpkg -i ../kernel-image-&kernelversion;-<replaceable>subarchitecture</replaceable>_custom.1.0_&architecture;.deb</userinput>. +</phrase> +<phrase condition="common-kpkg"> +<userinput>dpkg -i +../linux-image-&kernelversion;-<replaceable>subarchitecture</replaceable>_custom.1.0_&architecture;.deb</userinput>. +</phrase> The <replaceable>subarchitecture</replaceable> part is an optional sub-architecture, <phrase arch="i386"> such as <quote>i586</quote>, </phrase> depending on what kernel options you set. -<userinput>dpkg -i kernel-image...</userinput> will install the +<userinput>dpkg -i</userinput> will install the kernel, along with some other nice supporting files. For instance, the <filename>System.map</filename> will be properly installed (helpful for debugging kernel problems), and <filename>/boot/config-&kernelversion;</filename> will be installed, containing your current configuration set. Your new -<classname>kernel-image-&kernelversion;</classname> package is also clever -enough to automatically use your platform's boot-loader to run an -update on the booting, allowing you to boot without re-running the -boot loader. If you have created a modules package, e.g., if you have -PCMCIA, you'll need to install that package as well. +kernel package is also clever enough to automatically update your boot +loader to use the new kernel. If you have created a modules package, +<phrase condition="classic-kpkg">e.g., if you have PCMCIA,</phrase> +you'll need to install that package as well. </para><para> |