On 10/29/06, Jeff Cranmer <[EMAIL PROTECTED]> wrote:
swapspace is on /dev/sda2, /boot is on /dev/sda1, and root is on /dev/sda6
[snip]
My grub.conf file is as follows: default=0 timeout=30 splashimage=(hd0,5)/boot/grub/splash.xpm.gz title=Gentoo Linux 2.6.17-r8 root (hd0,5) kernel /boot/kernel-genkernel-x86_64-2,6,17-gentoo-r8 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda6 udev vga=0x318 video=vesafb:mtrr:3,ywrap doscsi initrd /boot/initramfs-genkernel-x86_64-2.6.17-gentoo-r8
You have a separate /boot partition, so you should reference things on *that* partition. So your grub.conf should be: default=0 timeout=30 splashimage=(hd0,0)/grub/splash.xpm.gz title=Gentoo Linux 2.6.17-r8 kernel (hd0,0)/kernel-genkernel-x86_64-2,6,17-gentoo-r8 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda6 udev vga=0x318 video=vesafb:mtrr:3,ywrap doscsi initrd (hd0,0)/initramfs-genkernel-x86_64-2.6.17-gentoo-r8
When I run grub-install /dev/sda, it reports no errors. The device.map file contains the following (hd0) /dev/sda
This is correct if the BIOS is setup to boot from the SATA drive before any IDE hard disks. I never really liked grub-install. Try: cat << EOF | grub --device-map=/boot/grub/device.map root (hd0,0) setup (hd0) EOF The most important line from the above is one that looks like this: Running "install /boot/grub/stage1 (hd0) (hd0)1+18 p (hd0,0)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded If you don't see this, post what you do see. -Richard -- gentoo-user@gentoo.org mailing list