07.06.2014 Views

2 - Raspberry PI Community Projects

2 - Raspberry PI Community Projects

2 - Raspberry PI Community Projects

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

lrwxrwxrwx 1 root root 10 23 jul. 08:58 scsi-SATA_STM3500418AS_9VM3L3KP-part2<br />

➥ -> ../../sda2<br />

[...]<br />

lrwxrwxrwx 1 root root 9 23 jul. 08:58 scsi-SATA_WDC_WD5001AALS-_WD-<br />

➥ WCAT00241697 -> ../../sdb<br />

lrwxrwxrwx 1 root root 10 23 jul. 08:58 scsi-SATA_WDC_WD5001AALS-_WD-<br />

➥ WCAT00241697-part1 -> ../../sdb1<br />

lrwxrwxrwx 1 root root 10 23 jul. 08:58 scsi-SATA_WDC_WD5001AALS-_WD-<br />

➥ WCAT00241697-part2 -> ../../sdb2<br />

[...]<br />

lrwxrwxrwx 1 root root 9 23 jul. 16:48 usb-LaCie_iamaKey_3ed00e26ccc11a-0:0<br />

➥ -> ../../sdc<br />

lrwxrwxrwx 1 root root 10 23 jul. 16:48 usb-LaCie_iamaKey_3ed00e26ccc11a-0:0-<br />

➥ part1 -> ../../sdc1<br />

lrwxrwxrwx 1 root root 10 23 jul. 16:48 usb-LaCie_iamaKey_3ed00e26ccc11a-0:0-<br />

➥ part2 -> ../../sdc2<br />

[...]<br />

lrwxrwxrwx 1 root root<br />

9 23 jul. 08:58 wwn-0x5000c50015c4842f -> ../../sda<br />

lrwxrwxrwx 1 root root 10 23 jul. 08:58 wwn-0x5000c50015c4842f-part1 -><br />

➥ ../../sda1<br />

[...]<br />

mirexpress:/dev/disk/by-id#<br />

Note that some disks are listed several times (because they behave simultaneously as ATA disks<br />

and SCSI disks), but the relevant information is mainly in the model and serial numbers of the<br />

disks, from which you can find the peripheral file.<br />

The example configuration files given in the following sections are based on the same setup: a<br />

single master IDE disk, where the first partition is an old Windows installation and the second<br />

contains Debian GNU/Linux.<br />

8.8.2. Configuring LILO<br />

LILO (LInux LOader) is the oldest bootloader — solid but rustic. It writes the physical address of<br />

the kernel to boot on the MBR, which is why each update to LILO (or its configuration file) must<br />

be followed by the command lilo. Forgetting to do so will render a system unable to boot if<br />

the old kernel was removed or replaced as the new one will not be in the same location on the<br />

disk.<br />

LILO's configuration file is /etc/lilo.conf; a simple file for standard configuration is illustrated<br />

in the example below.<br />

# The disk on which LILO should be installed.<br />

# By indicating the disk and not a partition.<br />

# you order LILO to be installed on the MBR.<br />

Chapter 8 — Basic Configuration: Network, Accounts, Printing…<br />

163

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

Saved successfully!

Ooh no, something went wrong!