Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 02-26-2005, 01:55 PM   #1
LQ Newbie
Registered: May 2004
Distribution: Fedora Core 3 64 bit
Posts: 13

Rep: Reputation: 0
Grub stuck in an endless loop.

I am having issues getting grub to load windows, when i tell it to boot windows all it does is reload grub. It sounds like i may have accidently configured grub on the windows drive and it just points back to itself. Is tehre a way to undo that? is there a way to fix it? I am also having issues getting fixmbr to work in the xp rescue mode.... it doesnt recognize the drive that i need to fixmbr on... ugh frustration.

Anyone have any suggestions?

here is my menu.lst file

thanks in advance for your help
Old 02-26-2005, 04:51 PM   #2
Senior Member
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
man fdisk
Old 02-26-2005, 04:56 PM   #3
Senior Member
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
You should be able to boot with the xp cdrom and use some tools. I can't remember for sure but it seems they are called fixboot and fixpart or similar.

Then, when you go to fix the grub boot loader, be sure to put it into /dev/hda and NOT /dev/hda1 .
Old 02-26-2005, 06:43 PM   #4
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,799

Rep: Reputation: 2158Reputation: 2158Reputation: 2158Reputation: 2158Reputation: 2158Reputation: 2158Reputation: 2158Reputation: 2158Reputation: 2158Reputation: 2158Reputation: 2158
No, it seems grub is installed o.k. - menu is apparently being shown.
From a Linux console try
fdisk -l (that's l for list)
I'm wondering if you have a vendor "recovery" partition on that first disk.
Maybe try rootnoverify (hd0,1) instead - depends on where your XP partition is, of course.
Old 02-27-2005, 07:46 PM   #5
LQ Newbie
Registered: May 2004
Distribution: Fedora Core 3 64 bit
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks for all the helpfull suggestions. It was apparently an issue with grub being written to the boot sector of the partition (where my windows installation was located) rather then the MBR of the drive.

I fixed the issue by using the recovery console in windows XP to fix the boot sector and the mbr for the drive. then using the FC3 recovery console to chroot to the image, then grub-install /dev/sda

once i did this everything was working like it should. The issue i was having was finding the drivers for my SATA controller on the internet. Once i found them the process was smooth.

Thanks again for the help everyone.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hotplug endless loop AzCoder Ubuntu 4 04-30-2005 01:56 PM
Bizarre endless login loop CelticWhisper Slackware 6 04-06-2005 06:39 PM
Mandrake 10.1 Install endless loop SteveI Mandriva 2 12-30-2004 09:56 AM
Linux Boot stuck in endless loop. gbarcalo Linux - Software 1 12-03-2003 01:42 PM
HELP- endless loop contrasutra Linux - Software 2 04-26-2003 11:25 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:26 AM.

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