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 03-24-2004, 06:31 PM   #1
Gaweph
LQ Newbie
 
Registered: Mar 2004
Distribution: Redhat 9
Posts: 13

Rep: Reputation: 0
GRUB GRUB GRUB GRUB "Whats Going on?"


Everything was working fine. I have XPand redhat9 on the same HDD and the dual boot was working fine.

IO added a second HDD and now instead of grub loading giving me the choice of which OS to boot, it just keeps saying GRUB GRUB GRUB over and over again, i cannot type anything.

I chacked and yes the new HDD is set to slave.
 
Old 03-24-2004, 08:16 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,579

Rep: Reputation: 187Reputation: 187
"IO added a second HDD and now instead of grub loading giving me the choice of which OS to boot, it just keeps saying GRUB GRUB GRUB over and over again, i cannot type anything."

I think that the BIOS is reading the MBR over and over. This could be either a hardware/BIOS problem or perhaps the MBR is screwed up.

If it is a screwed up MBR then you could try using a rescue CD to boot into Red Hat. Inspect grub.conf and if everything is OK then run grub-install to recreate the MBR.

To test if this is a hardware problem you could disconnect the new hard drive and see if the problem goes away.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 03-25-2004, 02:16 PM   #3
Gaweph
LQ Newbie
 
Registered: Mar 2004
Distribution: Redhat 9
Posts: 13

Original Poster
Rep: Reputation: 0
Not a hardware problem.

I disconnected the second drive. Its not a hardware problem. When the second drive is disconnected grub loades.

Now it doesnt load XP, when i select in grub it doesnt go to windows it just does nothing and the time goes back to 20 seconds.

How do i format just the windwos partition, and the reinstall it without getting rid of linux?

I looked at the grub code and i cant see anything wrong with grub.conf

Any help would be much apreciated.
 
Old 03-25-2004, 04:51 PM   #4
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,579

Rep: Reputation: 187Reputation: 187
"How do i format just the windwos partition, and the reinstall it without getting rid of linux?"

The only way that installing Windows will affect Linux is that Windows will take over the MBR and you cannot then boot Linux. So before you install Windows make yourself a boot floppy for Linux and make sure it works. You can then use the boot floppy to get into Linux no matter what Windows does to the MBR. After you install Windows then boot into Linux and set the MBR back the way that you want it.

I know very little about installing Windows. Other than the MBR the only thing to do is to not allow Windows to touch the partition table and not allow it to format any partition other than the one that Windows is being installed to.

Can some one who is familiar with Windows installs add anything to what I said?

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 03-26-2004, 04:13 AM   #5
Gaweph
LQ Newbie
 
Registered: Mar 2004
Distribution: Redhat 9
Posts: 13

Original Poster
Rep: Reputation: 0
Reinstalling Grub

I think that ive fixed windows. The only problem now is that i cannot try it until grub is either taken away or fixed. How do i take away grub, and then reinstall it again.

Would it work if i just delete the /boot partition

Or would this hurt my linux installation

Last edited by Gaweph; 03-26-2004 at 04:22 AM.
 
Old 03-26-2004, 11:07 AM   #6
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,579

Rep: Reputation: 187Reputation: 187
"Would it work if i just delete the /boot partition

Or would this hurt my linux installation"

Deleting the /boot partition will destroy Linux.

"The only problem now is that i cannot try it until grub is either taken away or fixed. How do i take away grub, and then reinstall it again."

You fix grub by booting into your Linux system, fixing grub by editing your grub.conf file, and then running the grub-install command to rewrite grub to the MBR.

To boot into your Red Hat system boot the Red Hat install CD into rescue mode. When you get a command prompt then issue the following commands. I am assuming that your Red Hat partition is /dev/hda3 and that you have an ext3 file system. Adjust these commands if my assumptions are wrong:

mkdir /pogo
mount -t ext3 /dev/hda3 /pogo
chroot /pogo

Then edit /boot/grub/grub.conf if it is set up incorrectly.

Then issue this command:
grub-install

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 03-26-2004, 11:40 AM   #7
thehundredthone
Member
 
Registered: Nov 2003
Distribution: Fedora Core 1
Posts: 76

Rep: Reputation: 15
why all the complication?
go into win XP recovery console and type in fixboot /mbr or fixmbr and then fixboot. then you can go into linux and reinstall grub with grub-install!
 
  


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
Gentoo... grub problems... "/boot/grub/stage1" exists... no halo14 Gentoo 5 02-06-2011 05:50 PM
Grub freezes with "GRUB" text on HP Visualize X-Class trainpic Linux - General 3 10-27-2009 02:32 AM
GRUB bootloader spits out "GRUB hard disk error" Crampedson Linux - Software 2 01-26-2005 07:34 PM
GRUB just says "GRUB " on boot. HELP!! battousai9439 Linux - Software 5 11-06-2004 08:34 PM
GRUB says "GRUB" and then locks up dmhLQ Linux - Software 1 01-24-2002 01:11 PM


All times are GMT -5. The time now is 02:33 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration