default 0
timeout 15
splashimage=(hd0,8)/boot/grub/splash.xpm.gz
# Genkernel generated entry, see GRUB documentation for details
title=Gentoo Linux (2.6.23-gentoo)
root (hd0,8)
kernel /kernel-genkernel-x86-2.6.23-gentoo root=/dev/ram0 init=/linuxrc real_root=/dev/hda1
initrd /initramfs-genkernel-x86-2.6.23-gentoo
#################################################################################################################
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda9 /boot ext2 noauto,noatime 1 2
/dev/hda1 / ext3 noatime 0 1
/dev/SWAP none swap sw 0 0
/dev/hda6 /home/ ext3 default 0 1
/dev/hda10 /var/ ext3 default 0 1
/dev/hda11 /var/log/ ext3 default 0 1
/dev/hda12 /tmp/ ext3 default 0 1
/dev/cdrom /mnt/cdrom audo noauto,ro 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
livecd / # grub-install /dev/hda
Could not find device for /boot: Not found or not a block device.
livecd / #
grub> root (hd,8)
Possible disks are: hd0 hd1
grub> root (hd,8)
Possible disks are: hd0 hd1
grub> root (hd0,8)
Filesystem type is ext2fs, partition type 0x83
grub> setup (hd0,8)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0,8)"... failed (this is not fatal)
Running "embed /boot/grub/e2fs_stage1_5 (hd0,8)"... failed (this is not fatal)
Running "install /boot/grub/stage1 (hd0,8) /boot/grub/stage2 p /boot/grub/menu.lst "... succeeded
Done.
grub>