LinuxQuestions.org
Visit Jeremy's Blog.
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 05-30-2006, 04:39 PM   #1
Miah
LQ Newbie
 
Registered: Apr 2006
Posts: 20

Rep: Reputation: 0
GRUB boots XP RECOVERY partition instead of XP.


After installing Fedora Core-4 on a dual boot hd with XP professional, the default Fedora worked like a charm!(perfect). But when I tried to use windows I could only boot into the recovery partition (which erases everything and reinstalls windows XP ).

I tried hitting "e" for edit and bumping rootnoverify(hd0,0) up to rootnoverify(hd0,1) but it still booted into recovery. I think I tried rootnoverify(hd0,2) but around that point I accidentally entered recovery and wiped everything out.

I then tried deleting the recovery partition (after windows came back) and re-installing Fedora. This worked great and I could boot into either system.

However, I would like to make it work with the recovery partition if possible because it is very fast to recover compared to using DVD.

Does anyone know a (rather simple) workaround for this problem? I don't have a very good understanding of the boot process.

Thank you for any help anyone can give.

Miah in Maine
 
Old 05-30-2006, 08:08 PM   #2
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,091

Rep: Reputation: 45
i multi-boot using grub on a system with xp, and the recovery partition...this is my grub entry for xp:

Quote:
# Other bootable partition config begins
title XP
rootnoverify (hd0,1)
makeactive
chainloader +1
# Other bootable partition config ends

Last edited by detpenguin; 05-30-2006 at 08:10 PM.
 
Old 05-30-2006, 10:03 PM   #3
whipermr5
Member
 
Registered: Dec 2004
Location: Singapore
Distribution: Fedora Core 5 Linux
Posts: 202

Rep: Reputation: 30
Can you post the results of
Code:
fdisk -l
?
 
Old 06-06-2006, 11:00 AM   #4
Miah
LQ Newbie
 
Registered: Apr 2006
Posts: 20

Original Poster
Rep: Reputation: 0
whipermr5: I did not use fdisc,I used QTparted.It showed the recovery partition as the first and XP as the second.

detpenguin: Your information inspired me to keep on with the (hd0,1) idea, even though it did not work when pressing "e" for edit during bootup.

I tried using a shell and vi to make a file that copied your grub entry.When I browsed to the file I was denied access because I was no longer root.You would laugh to see the trouble a newbie had trying to "enter as root".

NEWBIES READ THIS: To "enter as root" (the phrase I've always read) you more specifically (and so simply) type the word root at the prompt for user name--enter as "user name" root.

After becoming root I easily opened the installed grub file and changed the delay to 15 seconds,other to windows XP, and (hd0,0) to (hd0,1) and all worked perfectly. I then experimented until I proved that the critical entry was (hd0,1).Apparently grub did not respond to the temporary editing using "e" at boot time.

Thank you both for responding,it is very selfless for experienced people to take the time to help newbies, and it's nearly impossible to guess what sort of silly mistake an inexperienced person can be making.

Miah in Maine
 
  


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
Fedora picked wrong partition for windows/boots to recovery simeandrews Fedora 6 06-21-2005 01:19 PM
FDC3 only boots to grub prompt klnasveschuk Fedora - Installation 4 04-21-2005 09:57 AM
boot stops at GRUB GRUB linux never boots coffeedemon Slackware 4 11-09-2004 02:20 PM
Grub Boots into Colored Stripes ~zoey~ Linux - Newbie 3 09-30-2004 10:48 AM
rh9 boots to grub> prompt only pvl Linux - Newbie 3 06-27-2003 11:08 PM


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