LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-03-2003, 07:15 PM   #1
sean21
LQ Newbie
 
Registered: Nov 2003
Location: Detroit
Posts: 3

Rep: Reputation: 0
Exclamation GRUB Error


On my system i have

Two harddisk (each 19gb)
PRIMARY Harddisk :Windows98
Secondary Harddisk: Red Hat 9.0
Memory:384 MB

Installation of Red Hat Linux 9.0 went fine without any error.

When i rebooted my system (which by now i have done many times),
it is giving me the following message and halts there

GRUB Loading Stage2.......

[Minimal BASH - Like line editing is supported.For the first word,TAB lists possible comman completions.Anywhere else TAB lists the possible completions of device/filename.]

GRUB>


However, i can boot to Linux by using my boot diskette.

Any ideas on this ........ why i am not getting the option window for choosing the OS?

Infact during installation i did choose DOS as my primary/default OS option.
 
Old 11-03-2003, 07:57 PM   #2
TheRealDeal
Member
 
Registered: Jun 2003
Location: Central Coast, NSW, Australia
Distribution: Gentoo
Posts: 438

Rep: Reputation: 30
Hi.

If I were you I would edit your grub.conf file and reinstall grub. It is really good that you created a boot disk

This is what you'll need to do...

1. Boot from your boot disk into RH9.
2. Open a terminal and as root, type vi /etc/grub.conf
3. Check out what you have in the file. Do you have 1 or 2 different entries? You should have two, one for you Win98 /dev/hda1 most likely, and the second for your RH9 install /dev/hdb1 probably.
4. After you edit anything you need, type grub-install /dev/hda

Before you do this you'll need to know what your hard drives are set to, eg. Primary Master, Seconday Slave etc. Also how many partitions on each.

If your Win98 is set to Primary Master and it is installed to your first partition you should have an entry similar to....

/dev/hda1 pointing to your Win98 (DOS) boot.

Let me know how you go.

Regs
Craig
 
Old 11-03-2003, 10:18 PM   #3
sean21
LQ Newbie
 
Registered: Nov 2003
Location: Detroit
Posts: 3

Original Poster
Rep: Reputation: 0
Hi Crag,

Thanks for the reply.

Well before I go ahead and take action as suggested by you, I wanted you to have a look at the contents of /boot/grub/grub.conf file

#boot=/dev/hda
default = 1
timeout = 10

splashimage=(hd1,0) /grub/splash.xmp.gz
title Red Hat Linux (2.4.20-0)
root (hd1,0)
kernel /vmlinuz-2.4.20-0 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.20-0.img

title DOS
rootnoverify (hd0,0)
makeactive <------------this line was added later by me
chainloader +1


------------------------------------------------------------------------------

Contents of /boot/grub/device.map are

(fd0) /dev/fd0
(hd0) /dev/hda
(hd1) /dev/hdb

--------------------------------------------------------------------------------
I have two seprate hard disk (19 GB each)

/dev/had----------------------has win98
/dev/hdb---------------------- Red Hat Linux 9

I have three partitions for Linux

/
boot
swap


Where should I run the command grub-install /dev/had

Thanks in advance
 
Old 11-03-2003, 11:12 PM   #4
x4n0b1
Member
 
Registered: Oct 2003
Posts: 43

Rep: Reputation: 15
grub-install executable file should be in /sbin, otherwise use whereis grub-install to located it ...
not a clever sugs, huh
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub error 17, and wont reinstall using grub-install! chiefreborn Linux - General 6 06-06-2007 11:29 AM
Grub Error 17: Cannot mount selected partition and other Grub problems Sebastian Naitsabes Linux - General 1 07-05-2005 09:33 AM
GRUB bootloader spits out "GRUB hard disk error" Crampedson Linux - Software 2 01-26-2005 07:34 PM
GRUB Section2 load error, partition error. Ryle Linux - General 1 06-27-2004 03:55 PM
GRUB error? DriveReady SeekComplete DataRequest Error sth Linux - Hardware 3 02-26-2003 06:10 PM


All times are GMT -5. The time now is 05:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration