07.06.2014 Views

2 - Raspberry PI Community Projects

2 - Raspberry PI Community Projects

2 - Raspberry PI Community Projects

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

This requires, however, that lilo be run after each kernel installation. This can be automated,<br />

by setting do_bootloader =yes in /etc/kernel-img.conf.<br />

In most cases, grub will be your bootloader, and the default configuration will execute updategrub<br />

after each installation or removal of a kernel in order for the /boot/grub/grub.cfg file<br />

(or /boot/grub/menu.lst with GRUB Legacy) to be updated. This allows all installed kernels<br />

to be displayed (and available) in the GRUB menu at boot time.<br />

do_symlinks = yes<br />

relative_links = yes<br />

do_bootloader = no<br />

do_bootfloppy = no<br />

do_initrd = yes<br />

link_in_boot = no<br />

postinst_hook = update-grub<br />

postrm_hook = update-grub<br />

Example 8.7<br />

Kernel package configuration file<br />

8.11.2. Installing with dpkg<br />

Using apt-get is so convenient that it makes it easy to forget about the lower-level tools, but the<br />

easiest way of installing a compiled kernel is to use a command such as dpkg -i package.deb,<br />

where package.deb is the name of a linux-image package such as linux-image-2.6.32-falcot_<br />

1_i386.deb.<br />

The configuration steps described in this chapter are basic and can lead both to a server system<br />

or a workstation, and it can be massively duplicated in semi-automated ways. However,<br />

it is not enough by itself to provide a fully configured system. A few pieces are still in need of<br />

configuration, starting with low-level programs known as the “Unix services”.<br />

180 The Debian Administrator's Handbook

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!