Prev | Current Page 791 | Next

Christopher Negus

"Linux Bible, 2008 Edition: Boot up to Ubuntu, Fedora, KNOPPIX, Debian, openSUSE, and 11 Other Distributions"


 You have a separate /boot partition on /dev/hda1.
 Your initrd file in the /boot directory is initramfs-genkernel-x86-2.6.18-
gentoo-r2.
 Your kernel file in the /boot directory is kernel-genkernel-x86-2.6.18-
gentoo-r2.
If any of that information is different for your setup, you need to adapt the following step
appropriately. To configure grub, install it with emerge, run the grub command, and
then create the grub.conf file as follows:
# emerge grub
# grub
grub> root (hd0,0)
grub> setup (hd0)
grub> quit
When you create the grub.conf file, you need to do the following:
# cd /boot/grub
# cp grup.conf.sample grub.conf
# nano -w /boot/grub/grub.conf
399
Running Gentoo Linux 13
default 0
timeout 15
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux
root (hd0,0)
kernel /kernel-genkernel-x86-2.6.18-gentoo-r2 root=/dev/hda0
initrd /initrd-genkernel-x86-2.6.18-gentoo-r2
32. Reboot. Exit from your chroot partition by running umount to unmount all partitions
and then rebooting as follows:
# exit; cd /
# umount /mnt/gentoo/proc /mnt/gentoo
# reboot
Remove the installation disk and allow the computer to boot from hard disk. After a few
moments, you should see the GRUB boot screen. Select Gentoo Linux (press Enter).
From here on, you will be booting from the hard disk and working directly from the
operating system you installed.


Pages:
779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803