Re: Grub install problem

Kerin Millar <[email protected]> Fri, 1 Nov 2002 12:15:08 +0000
Newsgroups gmane.linux.gentoo.newbies
Organization Recruit2Recruit.NET Ltd
Message-ID <[email protected]>
On Thu, 31 Oct 2002 23:32:46 -0600
"Joe Brault" <[email protected]> wrote:

> Hello,
> 
>     While installing Gentoo tonight I encountered a problem in my grub install.  I followed in provided instructions, and set it up as follows...
> 
> grub> root (hd0,1)    // this is my /dev/hda2  boot partition
> grub> setup (hd0)
> grub> quit
> 
> Then I went on to make the grub.conf file:
> 
> default 0
> timeout 30
> splashimage=(hd0,1)/boot/grub/splash.xpm.gz
> 
> title=Gentoo Linux
> root (hd0,1)
> kernel /boot/bzImage root=/dev/hda4  // this is my / partition
> 
> title=Windoze
> root (hd0,0)    // this is my /dev/hda1 windows partition
> chainloader +1
> 
> **Note, the // and following text above are explanations and not included in my files on my box.
> 
> All of this was entred without a problem, but now when I restarted, I am dropped to the grub> prompt again, no choices or anything.  I'm wondering what I did wrong??  And how can I go about fixing this without being on gentoo to edit files..?  Thanks in advance!

Boot from the LiveCD again, then do this (change the /dev/hda1 to whatever your Gentoo boot partition is):

   mkdir /mnt/boot
   mount /dev/hda1 /mnt/boot
   cd /mnt/boot/
   ln -s grub.conf menu.lst
   cd /
   umount /dev/hda1
   reboot

It's some transitional thing for the grub config file. The instructions used to say to create a menu.lst file, but now it's changed to grub.conf. Seems that Grub is still looking for menu.lst though. The instructions do mention this, but it could be a bit more prominent, I missed the recommendation to make a symbolic link also ...

--kerframil