Click to See Complete Forum and Search --> : Gentoo install trouble


yawningdogge
01-03-2005, 10:54 AM
Let's start with Grub. My grub.conf file isn't working. I'm setting up a dual boot system with w2k pro. I boot up to a grub prompt instead of a splash screen. I can boot either OS using grub commands, but that sucks. The file reads thus


default 0
timeout 30
splashimage=(hd0,1)/grub/splash.xpm.gz

title=Gentoo Linux 2.4.26-r14
root (hd0,1)
kernel /kernel-2.4.26-gentoo-r6 root=/dev/hda4

title=Windows 2k pro
rootnoverify (hd0,0)
makeactive
chainloader +1

NTFS partition is /dev/hda1
boot partition is /dev/hda2 mounted at /boot
root partition is /dev/hda4 mounted at /
/dev/hda3 is swap

The commands in the file are exactly the commands I use to start the systems manually. What gives?

je_fro
01-03-2005, 11:05 AM
You installed grub wrong.
Follow the manual. Make sure /boot is mounted and do it again...
grub
root (hd?,?)
setup (hd0) <--this is key
quit

yawningdogge
01-03-2005, 04:25 PM
Still not working. when I enter #mount, I get this line among the others listed.
/dev/hda2 on /boot type ext2 (rw,noatime)
That means my boot partition is mounted, right? Then I install grub...

# grub
grub> root (hd0,1)
Filesystem type is ext2fs, partition type 0x83
grub> 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/d2fs_stage1_5 (hd0)"...22 sectors are embedded. succeeded
Running "install /boot/grub/stage1 (hd0) (hd0)1+22p (hd0,1)/boot/grub/stage2 /boot/grub/menu.lst... succeeded
Done.
grub> exit


It all looks good to me, but still I get a grub prompt at boot. :confused: I've followed the manual as best as I understand it. Any more ideas? Thanks a lot.