LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 02-26-2005, 01:55 PM   #1
dikadika
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
http://www.ogmack.org/linux

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

Rep: Reputation: 47
man fdisk


http://man.linuxquestions.org/index....ction=0&type=2
 
Old 02-26-2005, 04:56 PM   #3
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
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
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,353

Rep: Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042
No, it seems grub is installed o.k. - menu is apparently being shown.
From a Linux console try
Code:
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
dikadika
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.
 
  


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


All times are GMT -5. The time now is 04:28 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