View Single Post

   
  #3 (permalink)  
Old 02-19-2008, 03:54 PM
m.marien
 
Posts: n/a
Default Re: grub doesn't work


"Mike" <someone@your.house> wrote in message
news:kO-dncxEet9azODcRVn-ug@midco.net...
>I installed WinXP, Slackware, and Fedora Core. I installed Fedora last
> hoping that grub would install and detect everything. The grub.conf file
> appears to have everything in it, but I have a bigger problem. When the
> computer starts up and the bios finishes the last thing that displays is:
>
> GRUB
>
> The computer stops there. alt+ctrl+del doesn't work, I have to turn it
> off.
> I'm using a Promise TX2000 raid adapter in a Raid3,0 array (3 drives)
> Linux
> detected the drives as hde, hdf, and hdg. Windows is on hde, Fedora on hdf
> and Slackware on hdg.
>
> How do I manually install Grub or LiLo?
>
> TIA
> Mike
>


There are a couple of ways to reinstall GRUB. One is with the
/sbin/grub-install script. Just specify which device is your boot device
or --help for options. The other is manually. Type /sbin/grub at the command
line to enter the grub command line. Specify the root directory partition
and then use setup to install the files:

[root]#grub
grub> root (hd1,0)
grub> setup (hd0)
grub> quit

This specifies that the first partition on drive 2 (/dev/hdf1 in your case)
is where the root is. And then installs grub to the MBR of the first drive
(/dev/hde). Grub starts counting the drives from zero.

If you installed GRUB to the Fedora partition, then setup (hd1,0) would be
the command to use.

The problem may also be the RAID is confusing GRUB.


Reply With Quote