diff options
author | Joey Hess <joeyh@debian.org> | 2006-04-21 21:29:43 +0000 |
---|---|---|
committer | Joey Hess <joeyh@debian.org> | 2006-04-21 21:29:43 +0000 |
commit | c25dad3d4e0a9ec30e325ea7909e99846cbc296b (patch) | |
tree | 894f278951b0dc678f18a8cfa0d564942ced99cf /en/post-install/kernel-baking.xml | |
parent | 92fe0741a0d1813b4e2e7c2b50caf890e7bda680 (diff) | |
download | installation-guide-c25dad3d4e0a9ec30e325ea7909e99846cbc296b.zip |
* Update kernel building section to conditionalise some more 2.4 kernel
stuff.
* Suggest passing --initrd to make-kpkg since the docs say nothing about
compiling disk drivers into the kernel.
Diffstat (limited to 'en/post-install/kernel-baking.xml')
-rw-r--r-- | en/post-install/kernel-baking.xml | 31 |
1 files changed, 14 insertions, 17 deletions
diff --git a/en/post-install/kernel-baking.xml b/en/post-install/kernel-baking.xml index 5b53006f0..8871fb075 100644 --- a/en/post-install/kernel-baking.xml +++ b/en/post-install/kernel-baking.xml @@ -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> |