From 7420a30685122aa6ef6b44768d95b8f05a32c0f8 Mon Sep 17 00:00:00 2001 From: Frans Pop Date: Sun, 31 Dec 2006 03:03:35 +0000 Subject: The kernel-img.conf created during installation of a kernel package is incomplete; provide an example and some additional info --- en/appendix/chroot-install.xml | 56 ++++++++++++++++++++++++++++++++++-------- 1 file changed, 46 insertions(+), 10 deletions(-) (limited to 'en/appendix/chroot-install.xml') diff --git a/en/appendix/chroot-install.xml b/en/appendix/chroot-install.xml index 14b749980..d4a637da2 100644 --- a/en/appendix/chroot-install.xml +++ b/en/appendix/chroot-install.xml @@ -441,22 +441,58 @@ and a boot loader. Identify available pre-packaged kernels with: # apt-cache search linux-image -Then install your choice using its package name. + + +If you intend to use a pre-packaged kernel, you may want to create the +configuration file /etc/kernel-img.conf before you +do so. Here's an example file: -# aptitude install linux-image-&kernelversion;-arch-etc +# Kernel image management overrides +# See kernel-img.conf(5) for details +do_symlinks = yes +relative_links = yes +do_bootloader = yes +do_bootfloppy = no +do_initrd = yes +link_in_boot = no - - + -The configuration file /etc/kernel-img.conf influences -the installation and upgrade of pre-packaged Debian kernels. A default file -will be created when you first install a Debian kernel image. For additional -information about this file, consult its man page which will be available -after installing the kernel-package package. +For detailed information about this file and the various options, consult +its man page which will be available after installing the +kernel-package package. We recommend that you check +that the values are appropirate for your system. - + + +If you intend to use grub as your bootloader, you +can set the do_bootloader option to no. +To automatically update your /boot/grub/menu.lst on +installation or removal of Debian kernels, add the following lines: + + +postinst_hook = update-grub +postrm_hook = update-grub + + +For the lilo bootloader, the value of +do_bootloader needs to be yes. + + + +Then install the kernel package of your choice using its package name. + + +# aptitude install linux-image-&kernelversion;-arch-etc + + +If you did not create a /etc/kernel-img.conf before +installing a pre-packaged kernel, you may be asked some questions during +its installation that refer to it. + + -- cgit v1.2.3