timeout 5 default 0 fallback 1 splashimage=(hd0,0)/boot/grub/splash.xpm.gz title=Gentoo Linux genkernel x86_64-2.6.19-gentoo-r5 root (hd2,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 Windows NT or Windows95 #title Windows NT / Windows 95 boot menu #rootnoverify (hd3,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 -------------------------------------------------------------------------------------------- livecd boot # ls System.map-genkernel-x86_64-2.6.21-ck2 grub kernel-genkernel-x86_64-2.6.21-ck2 boot initramfs-genkernel-x86_64-2.6.21-ck2 lost+found ----------------------------------------------------------------------------------------------- /dev/evms/boot /boot ext2 noauto,noatime 1 2 /dev/mapper/root / reiserfs noatime 0 0 /dev/mapper/decryptswap none swap sw 0 0 /dev/mapper/decryptusr /usr reiserfs noatime 0 2 /dev/mapper/decryptopt /opt reiserfs noatime 0 2 /dev/mapper/decryptvar /var reiserfs noatime 0 2 /dev/mapper/decrypthome /home reiserfs noatime 0 2 /dev/cdroms/cdrom0 /mnt/cdrom auto noauto,ro,user 0 0 /dev/cdrw /mnt/cdrw auto noauto,user 0 0 proc /proc proc defaults 0 0 shm /dev/shm tmpfs nodev,nosuid,noexec 0 0 -------------------------------------------------------------------------------------------------------- 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