Fedora Linux Support Community & Resources Center
  #1  
Old 24th August 2009, 04:16 PM
miros84 Offline
Registered User
 
Join Date: Aug 2009
Posts: 102
linuxfedorafirefox
Cannot boot windows and Fedora dual boot (solved)

Hello
I have installed windows xp on my PC.
Later I installed Fedora, and now I can only boot fedora. I cannot boot XP anymore.
I added windows Xp in menu.lst but no results.

Code:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/sda2
#          initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=0
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.29.6-217.2.8.fc11.i586)
	root (hd0,0)
	kernel /vmlinuz-2.6.29.6-217.2.8.fc11.i586 ro root=UUID=e732e9d7-0b83-4c6b-8f72-201c97b5ce2f rhgb quiet
	initrd /initrd-2.6.29.6-217.2.8.fc11.i586.img
title Fedora (2.6.29.6-217.2.7.fc11.i586)
	root (hd0,0)
	kernel /vmlinuz-2.6.29.6-217.2.7.fc11.i586 ro root=UUID=e732e9d7-0b83-4c6b-8f72-201c97b5ce2f rhgb quiet
	initrd /initrd-2.6.29.6-217.2.7.fc11.i586.img
title Fedora (2.6.29.6-217.2.3.fc11.i586)
	root (hd0,0)
	kernel /vmlinuz-2.6.29.6-217.2.3.fc11.i586 ro root=UUID=e732e9d7-0b83-4c6b-8f72-201c97b5ce2f rhgb quiet
	initrd /initrd-2.6.29.6-217.2.3.fc11.i586.img

title Microsoft Windows xp
root (hd0,2)
savedefault
makeactive
chainloader +1
Any advice?

Last edited by miros84; 24th August 2009 at 05:35 PM.
Reply With Quote
  #2  
Old 24th August 2009, 04:48 PM
stoat Offline
Registered User
 
Join Date: Jun 2006
Posts: 7,551
linuxfedorafirefox
Quote:
Originally Posted by miros84

title Microsoft Windows xp
root (hd0,2)
savedefault
makeactive
chainloader +1
Hello miros84,

My best guess is the (hd0,2) is the wrong partition. Maybe posting your fdisk report would be helpful.

P.S.: The root command makes GRUB attempt to mount the partition, but it cannot mount an NTFS partition which is likely the Windows partition type in your case. It will work as you have it, but the rootnoverify command is traditionally used instead when GRUB cannot mount the partition. No use making GRUB attempt to mount a partition that it cannot mount. The savedefault command only works when the default=0 command is set to saved. It's a neat idea that makes the last chosen OS the new default, but it's doing nothing at the moment. So you can remove that. And the makeactive command is an archaic command that was only needed by ancient operating systems like DOS. It's never needed by a modern Windows system. You should remove it, too.

Last edited by stoat; 24th August 2009 at 04:55 PM.
Reply With Quote
  #3  
Old 24th August 2009, 04:56 PM
miros84 Offline
Registered User
 
Join Date: Aug 2009
Posts: 102
linuxfedorafirefox
The problem I have is when I run my computer, I dont see any menu to can choose.
In ubuntu, when I add some OS to menu.lst if it is wrong, at least I see the menu.
I will write the menu as you said.

title Microsoft Windows xp
rootnoverify (hd0,2)
chainloader +1

Last edited by miros84; 24th August 2009 at 05:00 PM.
Reply With Quote
  #4  
Old 24th August 2009, 05:03 PM
stoat Offline
Registered User
 
Join Date: Jun 2006
Posts: 7,551
linuxfedorafirefox
Quote:
Originally Posted by miros84

The problem I have is when I run my computer, I dont see any menu to can choose
That is being caused by this...
Code:
timeout=0
Change that value to a number (in seconds) to give you time to press a key to see the menu.

If you want to see the menu automatically without having to press a key, then comment out (with the # character) the hidddenmenu command. Like this...
Code:
#hiddenmenu
Reply With Quote
  #5  
Old 24th August 2009, 05:06 PM
stoat Offline
Registered User
 
Join Date: Jun 2006
Posts: 7,551
linuxfedorafirefox
Quote:
Originally Posted by miros84

I will write the menu as you said.

title Microsoft Windows xp
rootnoverify (hd0,2)
chainloader +1
That looks right to me now. So I misunderstood, and (hd0,2) may be the correct partition after all. Booting now?
Reply With Quote
  #6  
Old 24th August 2009, 05:11 PM
miros84 Offline
Registered User
 
Join Date: Aug 2009
Posts: 102
linuxdebianmozilla
Oo, STOAT, thank you again
I can boot now

Fedora like me every day more and more
Reply With Quote
  #7  
Old 24th August 2009, 06:01 PM
060456F's Avatar
060456F Offline
Registered User
 
Join Date: Jan 2009
Location: Colombo
Age: 26
Posts: 12
windows_xp_2003firefox
Question

Hi micro84

I wonder how the timeout became 0, When you install Fedora to a machine containing Windows, the timeout period is set t0 5s by default. Did you changed it? Rebooting immediately after Fedora installation takes you to the Grub menu list. Isn't it?
__________________
060456F

BSc Engineering Undergraduate
Reply With Quote
  #8  
Old 24th August 2009, 06:14 PM
miros84 Offline
Registered User
 
Join Date: Aug 2009
Posts: 102
linuxdebianmozilla
No, I didnot change it.
Now I remember first I installed Fedora and later Windows XP, but I recover fedora grub menu by SGD.
Reply With Quote
Reply

Tags
boot, dual, fedora, windows

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create a dual-boot (dual boot) with Windows XP Home Edition and Fedora Core 5: Genecks Guides & Solutions (No Questions) 5 18th October 2011 01:05 PM
Windows XP & Fedora 11 dual-boot problem (using Windows bootloader) zmdmw52 Installation and Live Media 7 9th August 2009 07:29 AM
Dual boot FC5 and WinXP MediaCenter failing to boot Windows Ophychius EOL (End Of Life) Versions 2 24th January 2007 08:23 PM
Dual Boot probl Win XP and FC 3: no boot menu and automatical boot to windows siwask Installation and Live Media 1 18th February 2005 03:57 AM
dual boot windows xp and fedora 2 shibby1011ph Installation and Live Media 5 2nd October 2004 09:57 PM


Current GMT-time: 04:52 (Tuesday, 18-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat