Unix Technical Forum

grub doesn't work

This is a discussion on grub doesn't work within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I installed WinXP, Slackware, and Fedora Core. I installed Fedora last hoping that grub would install and detect everything. ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 04:54 PM
Mike
 
Posts: n/a
Default grub doesn't work

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


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 04:54 PM
Tommy Reynolds
 
Posts: n/a
Default Re: grub doesn't work

On Mon, 25 Oct 2004 14:21:46 -0500, Mike wrote:

> 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.


Known problem with FC2 distribution. Should be fixed with FC3 due in
a couple of weeks. In the meanwhiles, google.com is your friend.
Search for "re-install grub" and visit the SECOND RESPONSE:

http://www.desktop-linux.net/grub.htm

HTH.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 04: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.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-19-2008, 04:54 PM
Mike
 
Posts: n/a
Default Re: grub doesn't work


"m.marien" <mm AT RiverCityCanada DOT com> wrote in message
news:10nr0nhluct4i23@corp.supernews.com...
>
> "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.
>
>


If the RAID is confusing GRUB, then WHAT?


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-19-2008, 04:54 PM
m.marien
 
Posts: n/a
Default Re: grub doesn't work


"Mike" <someone@your.house> wrote in message
news:d4Kdnaegod6JI-DcRVn-qQ@midco.net...
>
> "m.marien" <mm AT RiverCityCanada DOT com> wrote in message
> news:10nr0nhluct4i23@corp.supernews.com...
>>
>> "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.
>>
>>

>
> If the RAID is confusing GRUB, then WHAT?
>
>


Then you probably can't use it for booting your system without some
tweaking. That's maybe why it didn't install properly. You're at the point
of installing so losing the installs shouldn't be a big problem.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-19-2008, 04:56 PM
someone@nospam.demon.co.uk
 
Posts: n/a
Default Re: grub doesn't work

On Mon, 25 Oct 2004 14:21:46 -0500, "Mike" <someone@your.house> wrote:

>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:



It sounds that you have more than the usual FC2 - XP clash.
However it would be worth checking out the problem of how when
installing GRUB on the MBR FC" writes a cylinder head sector
setup that Window can't handle.

If this was your only problem then everything would work but
XP. However it might be contributing to your problem and the
workaround - giving the right CHS value at the beginning
of the installation is very simple

eg: linux hda=14593,255,63

This is clearly not your most important problem
but it may be contributing to it.

David


daividb2000 at yahoo.com

English Spelling Reform:
http://www.barnsdle.demon.co.uk/spell/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-19-2008, 04:57 PM
Matt
 
Posts: n/a
Default Re: grub doesn't work

Mike wrote:
> I installed WinXP, Slackware, and Fedora Core.


My uninformed guess is that Fedora was confused by the use of RAID and
wrote grub.conf incorrectly.

1) Were you able to boot Slackware before installing Fedora?

2) GRUB has a pretty good manual that is only something like eight pages
long. Get familiar that and make a stand-alone generic GRUB boot floppy
or CD (maybe you have to dd or rawrite a floppy or CD image?). Boot
that and get to know the interactive GURB system. It has facilities for
listing the contents of disk partitions. You should be able to boot XP
easily from the GRUB prompt. See that you understand GRUB's
nomenclature for referring to drives and partitions and files. Then see
that the contents of grub.conf is consistent with that.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-19-2008, 04:57 PM
Kadaitcha Man
 
Posts: n/a
Default Re: grub doesn't work

Matt, <matt@themattfella.zzzz.com>, the downcast, substandard fruitcake, and
keeper of service animals, choked out:

> Mike wrote:
>> I installed WinXP, Slackware, and Fedora Core.

>
> My uninformed guess is that Fedora was confused by the use of RAID and
> wrote grub.conf incorrectly.
>
> 1) Were you able to boot Slackware before installing Fedora?
>
> 2) GRUB has a pretty good manual that is only something like eight
> pages long. Get familiar that and make a stand-alone generic GRUB
> boot floppy or CD (maybe you have to dd or rawrite a floppy or CD
> image?). Boot that and get to know the interactive GURB system. It
> has facilities for listing the contents of disk partitions. You
> should be able to boot XP easily from the GRUB prompt. See that you
> understand GRUB's nomenclature for referring to drives and partitions
> and files. Then see that the contents of grub.conf is consistent
> with that.


Wouldn't it be fucking sweet if grub was consistent with everything else,
eh. They should name it GRUBB. GRand Unified Bullshit Bootloader, with
fucked up disk referencing. I suppose that's what happens with totally
aimless software... some cunt goes off the rails and everyone else has to
follow. Oh well, that's Open Source for you.

--
Red Hat, Fedora, SuSE and Mandrake are for n00bs.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-19-2008, 04:57 PM
Matt
 
Posts: n/a
Default Re: grub doesn't work

Matt wrote:
> Mike wrote:
>
>> I installed WinXP, Slackware, and Fedora Core.

>
>
> My uninformed guess is that Fedora was confused by the use of RAID and
> wrote grub.conf incorrectly.


Or it wrote the MBR incorrectly.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-19-2008, 05:02 PM
rtoledo@verizon.net
 
Posts: n/a
Default Re: grub doesn't work

On Mon, 25 Oct 2004 22:03:51 -0500, "Mike" <someone@your.house> wrote:

>
>"m.marien" <mm AT RiverCityCanada DOT com> wrote in message
>news:10nr0nhluct4i23@corp.supernews.com...
>>
>> "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.
>>
>>

>
>If the RAID is confusing GRUB, then WHAT?
>

I'm as confused as GRUB is. (no offense), I'm not familiar with a RAID
3 set up as I only use RAID 0(for my movie crunching, RAID 0 gives the
speed but not so much security, but that's not important to me for
this use) but from your explanation above it sounds like you used one
drive for each operating system?

or is this what you see reported when the kernel is booting?

do you really have a RAID 3 partition ? if so

do you have *any* hard drives in the built in IDE controller
channels > hda hdb hdc hdd ?

did you install to any of these?

usually in a one drive one cd burner configuration you will have a the
multi-boot OS in HDA(master on first channel) and the burner will be
HDC (master on second channel)

then you add during the install a driver for your raid card or you
compile it after you boot into your system

in my home movie box winxp/gentoo/fedora 3 ALL reside in
hda1/hda3/hda5 respectively (hda1 is primary ntfs, hda 2 is swap hda3
is ext3 primary for Gentoo, hda5 is ext3 *extended* and hda6 is swap
for Fedora)


when you see that GRUB> command do a FIND /boot (read the fine
manual on this) it will show you where those 2 Linux distro's are at

you can manually boot up by hand typing the same commands found in
grub.conf or menu.lst found in the /boot directory of Fedora since
that's the last one you installed and I'm assuming you let it install
grub.

don't forget to subtract 1 from whatever hda# you saw when you
partitioned using fdisk or disk druid for GRUB or you will get a error
message cause it's being pointed to the wrong partition.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:20 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com