grub> root (hd0,0)
root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
grub> setup (hd0)
setup (hd0)
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)"... 15 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 (hd0) (hd0)1+15 p (hd0,0)/boot/grub/stage2 /boot/grub/menu.lst"... failed
Error 22: No such partition
grub>
/boot/grub/grub.conf
#
# Sample boot menu configuration file
#
# Boot automatically after 30 secs.
timeout 5
# By default, boot the first entry.
default 0
# Fallback to the second entry.
fallback 1
# Splash image to show behind grub.
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title=Gentoo Linux genkernel-x86_64-2.6.21-ck2
root (hd0,0)
kernel /kernel-genkernel-x86_64-2.6.21-ck2 root=/dev/ram0 init=/linuxrc ramdisk=8192 crypt_root=/dev/evms/slash real$
initrd /initramfs-genkernel-x86_64-2.6.21-ck2
# For booting Gentoo with the static rescue shell
#title Gentoo (rescue shell)
#root (hd0,0)
#kernel /vmlinuz root=/dev/hdb1 init=/bin/bb
# For booting Windows NT or Windows95
#title Windows NT / Windows 95 boot menu
#rootnoverify (hd2,0)
#makeactive
#chainloader +1
# For loading DOS if Windows NT is installed
# chainload /bootsect.dos
# For installing GRUB into the hard disk
title Install GRUB into the hard disk
root (hd0,0)
setup (hd0)
# Change the colors.
title Change the colors
color light-green/brown blink-red/blue