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.

kernel /vmlinuz root=/dev/sda2<br />

initrd /initrd.img<br />

# Old kernel (if the most recent doesn't boot)<br />

title GNU/Linux OLD<br />

root (hd0,1)<br />

kernel /vmlinuz.old root=/dev/sda2<br />

initrd /initrd.img.old<br />

# Only for dual boot, Linux/Windows<br />

title Microsoft Windows<br />

rootnoverify (hd0,0)<br />

makeactive<br />

chainloader +1<br />

Example 8.4<br />

GRUB configuration file<br />

8.8.5. For Macintosh Computers (PowerPC): Configuring Yaboot<br />

Yaboot is the bootloader used by old Macintosh computers using PowerPC processors. They do<br />

not boot like PCs, but rely on a “bootstrap” partition, from which the BIOS (or OpenFirmware)<br />

executes the loader, and on which the ybin program installs yaboot and its configuration file.<br />

You will only need to run this command again if the /etc/yaboot.conf is modified (it is duplicated<br />

on the bootstrap partition, and yaboot knows how to find the position of the kernels on<br />

the disks).<br />

Before executing ybin, you must first have a valid /etc/yaboot.conf. The following is an example<br />

of a minimal configuration.<br />

# bootstrap partition<br />

boot=/dev/sda2<br />

# the disk<br />

device=hd:<br />

# the Linux partition<br />

partition=3<br />

root=/dev/sda3<br />

# boot after 3 seconds of inactivity<br />

# (timeout is in tenths of seconds)<br />

timeout=30<br />

install=/usr/lib/yaboot/yaboot<br />

magicboot=/usr/lib/yaboot/ofboot<br />

enablecdboot<br />

166 The Debian Administrator's Handbook

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

Saved successfully!

Ooh no, something went wrong!