Now that your kernel is configured and compiled and the necessary system
configuration files are filled in correctly, it is time to install a
program that will fire up your kernel when you start the system. Such a
program is called a
On Linux/PPC64 we have only yaBoot as a bootloader untill grub2 is finished.
There are two ways to configure yaBoot for your system. You can use the
new and improved
To use
# emerge --update yaboot-static
Now run
You might want to verify the contents of
Now continue with
First make sure you have the latest
# emerge --update yaboot-static
Below you find a completed
## /etc/yaboot.conf ## ## run: "man yaboot.conf" for details. Do not make changes until you have!! ## see also: /usr/share/doc/yaboot/examples for example configurations. ## ## For a dual-boot menu, add one or more of: ## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ ## our bootstrap partition: boot=/dev/sda2## ofboot is the openfirmware way to specify the bootstrap partition. ## If this isn't defined, yaboot fails on the G5 (unless you pass the necessary ## arguments to the mkofboot/ybin program). ## hd:X means /dev/sdaX (or /dev/hdaX). ## ## G5 users should uncomment this line!! ofboot=hd:2##hd: is open firmware speak for sda device=hd: partition=4 delay=5 defaultos=macosx timeout=30 install=/usr/lib/yaboot/yaboot magicboot=/usr/lib/yaboot/ofboot################# ## This section can be duplicated if you have more than one kernel or set of ## boot options ################# image=/boot/kernel-2.6.7-gentoo-r8 label=Linux root=/dev/sda4 sysmap=/boot/System.map-2.6.7 read-only################## macos=hd:5 macosx=hd:6 enablecdboot enableofboot
Once
For more information on yaboot, take a look at the
On IBM hardware you cannot run yabootconfig or ybin. You have to proceed the folowing steps:
Exit the chrooted environment and unmount all mounted partitions. Then type in
that one magical command you have been waiting for:
# exit cdimage ~# cd cdimage ~# umount /mnt/gentoo/boot /mnt/gentoo/proc /mnt/gentoo cdimage ~# reboot
Of course, don't forget to remove the bootable CD, otherwise the CD will be booted again instead of your new Gentoo system.
Once rebooted in your Gentoo installation, finish up with