Fedora Linux Support Community & Resources Center
  #1  
Old 18th February 2012, 07:52 PM
mprabhu Offline
Registered User
 
Join Date: Feb 2012
Location: India
Posts: 25
windows_xp_2003firefox
dual boot - winxp pro and fedora 16

hi,i m trying to dual boot win xp and fedora 16. i have installed grub2 boot loader in linux /boot partition as i don't want to do any change to win xp environment.

I am not able to boot into fedora. pls help
Reply With Quote
  #2  
Old 18th February 2012, 07:58 PM
nonamedotc Offline
Community Manager
 
Join Date: Mar 2011
Location: USA
Posts: 3,857
linuxfirefox
Re: dual boot - winxp pro and fedora 16

What "error" are you seeing? Please provide more information.
Reply With Quote
  #3  
Old 18th February 2012, 08:16 PM
bob Online
Administrator (yeah, back again)
 
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 69
Posts: 22,183
linuxfirefox
Re: dual boot - winxp pro and fedora 16

This MAY work: http://fedorasolved.org/Members/rask...-vista-already F16 has Grub2, so it may not work, but worth a try. Otherwise, try googling 'dual booting XP and grub2' for ideas.
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651


Don't use any of my solutions on working computers or near small children.
Reply With Quote
  #4  
Old 18th February 2012, 08:22 PM
mprabhu Offline
Registered User
 
Join Date: Feb 2012
Location: India
Posts: 25
windows_xp_2003firefox
Re: dual boot - winxp pro and fedora 16

after fedora installation i did reboot.
but the machine boots direct to xp.
so i am not able to boot to fedora nor able to see linux partions (/, /boot,swap) under windows

---------- Post added at 01:52 AM ---------- Previous post was at 01:48 AM ----------

Quote:
Originally Posted by bob View Post
This MAY work: http://fedorasolved.org/Members/rask...-vista-already F16 has Grub2, so it may not work, but worth a try. Otherwise, try googling 'dual booting XP and grub2' for ideas.
hi.i tried that article option..once i do all that settings with grub4dos..i m getting intial boot screen with xp and grub4dos..but once i choose grub4dos..it just takes to one command line page..fedora not loading..

then..regarding googling..all articles talk about dual boot with vista/win7 only..so that they use easy bcd to configure windows boot loader..but easybcd option not working with xp..

pls help
Reply With Quote
  #5  
Old 18th February 2012, 08:34 PM
bob Online
Administrator (yeah, back again)
 
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 69
Posts: 22,183
linuxfirefox
Re: dual boot - winxp pro and fedora 16

WinXP can't recognize linux partitions. It only can understand NTFS and FAT32, so it's not going to see your Fedora install. Fedora 16 uses Grub2, which is different from the legacy Grub that's mentioned in most articles. That's why you're having so many problems.

I'm sure that someone will be able to give you a good suggestion, like putting grub on a removable drive to handle it when you want to boot Fedora, but personally I'd suggest you simply allow Grub2 to install on the mbr and handle the dual-boot, the way it's intended to do. It's pretty easy to reinstall Windows NTDLR if you need to, should you ever decide to delete Fedora: http://pcsupport.about.com/od/fixthe...drntdetect.htm
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651


Don't use any of my solutions on working computers or near small children.
Reply With Quote
  #6  
Old 18th February 2012, 08:57 PM
mprabhu Offline
Registered User
 
Join Date: Feb 2012
Location: India
Posts: 25
windows_xp_2003firefox
Re: dual boot - winxp pro and fedora 16

Quote:
Originally Posted by bob View Post
Fedora 16 uses Grub2, which is different from the legacy Grub that's mentioned in most articles. That's why you're having so many problems.

I'm sure that someone will be able to give you a good suggestion, like putting grub on a removable drive to handle it when you want to boot Fedora, but personally I'd suggest you simply allow Grub2 to install on the mbr and handle the dual-boot, the way it's intended to do. It's pretty easy to reinstall Windows NTDLR if you need to, should you ever decide to delete Fedora: http://pcsupport.about.com/od/fixthe...drntdetect.htm
i am new to fedora so i don't want windows stuff to get altered until i am comfortable with fedora.
Let me see if someone have idea to achieve dual boot fedora16 and xp by installing grub2 in /boot linux partition without affecting mbr

if this works i will be able to move from xp to fedora and avoid moving towards vista/win7
Reply With Quote
  #7  
Old 18th February 2012, 09:11 PM
mwesten Offline
Registered User
 
Join Date: Apr 2010
Location: Massachusetts
Posts: 172
linuxmintfirefox
Re: dual boot - winxp pro and fedora 16

You need to create a text file called menu.lst in C:\ with the following lines:

Code:
title Fedora 16
root (hd0,1)
chainloader +1
If /boot is in the second primary partition on the disk, that should do it.
If not, we'll need to find out where that partition is and adjust the middle line to point at it.
__________________
Mint 13 & 15, Windows XP & 7
Reply With Quote
  #8  
Old 18th February 2012, 09:41 PM
mprabhu Offline
Registered User
 
Join Date: Feb 2012
Location: India
Posts: 25
windows_xp_2003firefox
Re: dual boot - winxp pro and fedora 16

my /boot partition is as "/dev/sda9"
this is my drive structure - as per windows disk management tool

c: primary partition
d,e,f,g (logical partion)== part of extended partion

and then i have free space for fedora which is also part of extended partition..where i have installed fedora which created /boot,/,swap

and i seen /boot is considered as /dev/sds9 when i installed by fedora..

i hope it give you a view about drive structure..

pls help
Reply With Quote
  #9  
Old 18th February 2012, 09:44 PM
mwesten Offline
Registered User
 
Join Date: Apr 2010
Location: Massachusetts
Posts: 172
linuxmintfirefox
Re: dual boot - winxp pro and fedora 16

Make the middle line "root (hd0,8)".
__________________
Mint 13 & 15, Windows XP & 7
Reply With Quote
  #10  
Old 18th February 2012, 10:05 PM
mprabhu Offline
Registered User
 
Join Date: Feb 2012
Location: India
Posts: 25
windows_xp_2003firefox
Re: dual boot - winxp pro and fedora 16

whether i have to edit "boot.ini" or any other changes i have to make in addition to creating the menu.lst file with code

title Fedora 16
root (hd0,8)
chainloader +1

Last edited by mprabhu; 18th February 2012 at 10:13 PM. Reason: explanation
Reply With Quote
  #11  
Old 19th February 2012, 08:33 PM
mprabhu Offline
Registered User
 
Join Date: Feb 2012
Location: India
Posts: 25
windows_xp_2003firefox
Re: dual boot - winxp pro and fedora 16

any help to dual boot xp and fedora16..
Reply With Quote
  #12  
Old 20th February 2012, 03:27 AM
stoat Offline
Registered User
 
Join Date: Jun 2006
Posts: 7,550
linuxopera
Re: dual boot - winxp pro and fedora 16

Okay, okay.

You said you installed Fedora and chose to install the GRUB boot loader in the first sector of the Fedora boot partition.
You said you rebooted and only XP booted.
You said you tried GRUB for DOS and saw it in the XP boot menu, but choosing it led to a command line prompt.

IMO, the steps you followed in that fedoraunity.org article did not work because it was for booting older versions of Fedora that used legacy GRUB, and it depends upon GRUB for DOS searching for Fedora's menu.lst file (a symlink to grub.conf). You have Fedora 16 which uses GRUB 2, so GRUB for DOS will not find a menu.lst file. That would make any kind of GRUB (including GRUB for DOS) stop at a command prompt (what you described).

If Fedora 16's GRUB is still in the boot sector of the Fedora boot partition (important), and if you still want to proceed with GRUB for DOS, then here is what you need to do...
  1. grldr should be in the XP root directory (same place as boot.ini which usually is hidden).
  2. menu.lst should be in the XP root directory. Copy the one that came with GRUB for DOS and edit it to add this at the bottom...
    Code:
    title Fedora
    chainloader (hd0,8)+1
  3. Edit XP's boot.ini file to add this line at the bottom... C:\grldr="GRUB for DOS". For example...
    Code:
    [boot loader]
    timeout=3
    default=multi(0)disk(0)rdisk(0)partition(1)\windows
    [operating systems]
    multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
    C:\grldr="GRUB for DOS"
When you have those things in place, then you should reboot and choose "GRUB for DOS" in the XP menu. See the ridiculously colored GRUB for DOS menu. Before you go blind from looking at that menu, find Fedora at the bottom of the list and click it. See if Fedora boots.

No promises. But this method is an old and well-known method to boot Fedora from the XP boot loader. Since GRUB for DOS is using chainloader in the suggested example, it still will work to launch Fedora 16's GRUB 2 boot loader (if, and only if, GRUB 2 is installed in the first sector of the Fedora boot partition). If it worked, you can further edit the GRUB for DOS menu to remove many of those extraneous menu entries and tone down the colors.
Reply With Quote
  #13  
Old 20th February 2012, 09:58 PM
mprabhu Offline
Registered User
 
Join Date: Feb 2012
Location: India
Posts: 25
linuxfirefox
Re: dual boot - winxp pro and fedora 16

thanks a lot stoat..it worked..
during 1st trial it didn't worked when i selected fedora from grub loader menu..
the machine restarted and took me to again intial windows loader menu..but it worked this time(on 2nd instance)

thanks a lot
Reply With Quote
Reply

Tags
boot, dual, dualboot, fedora, pro, winxp

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
Install Fedora on dual boot WinXP Eee PC mrbrown79 Installation, Upgrades and Live Media 4 16th July 2009 04:19 PM
How to dual-boot Fedora Core 8 and WinXP (winxp installed 1st) LinuxNoobie Installation, Upgrades and Live Media 10 7th November 2008 05:31 AM
WinXP + Fedora dual boot macondo Using Fedora 1 26th August 2007 08:08 PM
Running FC5/WinXP Dual Boot, need to reformat WinXP but keep FC5 SideshowMel EOL (End Of Life) Versions 18 19th February 2007 05:07 PM
Dual Boot WinXp and Fedora 6 clifweb Installation, Upgrades and Live Media 9 3rd December 2006 12:26 AM


Current GMT-time: 18:14 (Thursday, 30-10-2014)

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
Matsue-shi Instagram Photos - Radlin Travel Photos - Alpharetta