LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-09-2006, 08:59 PM   #1
Duck2006
Member
 
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346

Rep: Reputation: 33
how do i dual boot xp and fedora core 4


I have windows xp on the c: drive ide and fedora core 4 on the d: drive ide and would like to know how to dual boot the system can any one help
 
Old 09-10-2006, 06:49 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
How did you manage to get fedora installed, and not set up the boot loader to boot either xp or fedora? It should have been presented as an option during installation, to install grub to the MBR. Grub would have been automagically configured to offer you the option to boot xp or fedora.

Alternatively, I beleive you can configure the xp bootloader to offer fedora in a boot menu.
 
Old 09-10-2006, 03:22 PM   #3
Duck2006
Member
 
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346

Original Poster
Rep: Reputation: 33
Thats the way it should work but it does not, it asked the set up the boot loader but that just never worked.
there is an alternative way but i don't know how to set that up that way.
 
Old 09-10-2006, 05:14 PM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
The alternative ways are: manually set up the bootloader (xp loader or grub).

For information on using the xp loader, check the microsoft help files.

For information on manually setting up grub, read the grub manual. It has step by step procedures, with examples.
 
Old 09-10-2006, 09:44 PM   #5
Duck2006
Member
 
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346

Original Poster
Rep: Reputation: 33
Thanks will read up on that and let you know how it goes
 
Old 09-10-2006, 11:22 PM   #6
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Maybe it helps if you tell us what the exact problem is? What do you get when booting? Straight WinXP, straight fedore, a bootloader (probably Grub) or does the system not boot at all? If you get a bootloader, can you boot WinXP or fedora or none of them?

If your system takes you straight to WinXP, I think that you've installed the bootloader in the wrong place.
During the installation you probably had a question where you wanted the bootloader to be installed. One option would be to install the bootloader in the MBR (probably with a remark that that's possibly unsafe). That's what I've always used and it always worked.
If you have installed the bootloader somewhere else (maybe on drive D), you can try to make that drive bootable instead of drive C. Not sure if that will work.

I'm not familiar with Fedora, but when you boot from CD, there is a rescue option that might allow you to fix the problem. It might require some knowledge commandline tools like fdisk/cfdisk and grub configuration

PS I suppose that you made backups of important data before you installed FC4. If not, do it now before you start fiddling with your harddisks.
 
Old 09-11-2006, 07:40 AM   #7
Merlin Whitewolf
Member
 
Registered: Mar 2006
Location: Cookeville, Tennessee
Distribution: Fedora Core 5 and PCLinuxOS
Posts: 75

Rep: Reputation: 15
Quote:
Originally Posted by Wim Sturkenboom
Maybe it helps if you tell us what the exact problem is? What do you get when booting? Straight WinXP, straight fedore, a bootloader (probably Grub) or does the system not boot at all? If you get a bootloader, can you boot WinXP or fedora or none of them?

If your system takes you straight to WinXP, I think that you've installed the bootloader in the wrong place.
During the installation you probably had a question where you wanted the bootloader to be installed. One option would be to install the bootloader in the MBR (probably with a remark that that's possibly unsafe). That's what I've always used and it always worked.
If you have installed the bootloader somewhere else (maybe on drive D), you can try to make that drive bootable instead of drive C. Not sure if that will work.

I'm not familiar with Fedora, but when you boot from CD, there is a rescue option that might allow you to fix the problem. It might require some knowledge commandline tools like fdisk/cfdisk and grub configuration

PS I suppose that you made backups of important data before you installed FC4. If not, do it now before you start fiddling with your harddisks.
If Fedora boots first, grub is in the MBR. When the Fedora screen appears, hit any key. You should be presented with a screen that gives you the choice to boot Fedora or 'other'. 'Other' would be your XP. Use your up and down arrow keys to choose the one you want and hit 'enter'. By default, you have 5 seconds to make that first keystroke when the Fedora screen first appears.
If you do not have choices listed and Fedora boots up, open a terminal and type 'gedit /boot/grub/menu.lst'. If you are using KDE, rather than Gnome, type 'kwrite' instead of 'gedit'. The editor will open and display your boot information. Copy and paste that info here. When we see what you have, we can give some advice on how to proceed.

Merlin
 
Old 09-11-2006, 09:52 PM   #8
Duck2006
Member
 
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346

Original Poster
Rep: Reputation: 33
I installed windows XP on to C:\ which Linux see as (hd0,0) Then i installed Fedora core 4 and sent it to the D:\ which Linux see as (hd1,0 root and hd1,1 as the install) It did ask about the boot i left as default Then when i rebooted the system it go's to windows XP but with no OS loader. The boot.ini file has not been changed at all

[boot loader]
timeout=30
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" /fastdetect /NoExecute=OptIn

On the linux drive

memu.lst'

#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/VolGroup00/
LogVol00
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.11-1.1369_FC4
root (hd0,0)
Kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=/dev/
VolGroup00/LogVol00 rhgb queit
initrd/initrd-2.6.11-1.1369_FC4.img
the only way i can get in to Fedora is make the Linux drive the c:\ drive
 
Old 09-11-2006, 10:07 PM   #9
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
You can search the internet for grub mbr. One of de links might describe how to get grub in the MBR.
e.g. This one for Ubuntu but the principle should be the same.
Hope this helps.
 
Old 09-11-2006, 11:32 PM   #10
Merlin Whitewolf
Member
 
Registered: Mar 2006
Location: Cookeville, Tennessee
Distribution: Fedora Core 5 and PCLinuxOS
Posts: 75

Rep: Reputation: 15
Quote:
Originally Posted by Duck2006
I installed windows XP on to C:\ which Linux see as (hd0,0) Then i installed Fedora core 4 and sent it to the D:\ which Linux see as (hd1,0 root and hd1,1 as the install) It did ask about the boot i left as default Then when i rebooted the system it go's to windows XP but with no OS loader. The boot.ini file has not been changed at all

[boot loader]
timeout=30
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" /fastdetect /NoExecute=OptIn

On the linux drive

memu.lst'

#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/VolGroup00/
LogVol00
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.11-1.1369_FC4
root (hd0,0)
Kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=/dev/
VolGroup00/LogVol00 rhgb queit
initrd/initrd-2.6.11-1.1369_FC4.img
the only way i can get in to Fedora is make the Linux drive the c:\ drive
If you have Fedora on the 'C' (hd0) and windows on 'D' (hd1), you can use grub that you installed with Fedora to boot both. Open a terminal, type 'su -' (without the quote marks), hit enter, give your root password, type 'gedit /boot/grub/grub.conf' and hit enter. (Note that if you get an error when using this command, you can substitute 'menu.lst' in the place of 'grub.conf'.)
Your text editor will open up your grub configuration or list.
At the bottom, be sure there is a blank line. Click to put your cursor there and hit enter. This will be to insure that the blank spacer line is between entries.
Enter this --
Quote:
title XP
rootnoverify (hd1,0)
chainloader +1
(The 2nd and 3rd line should line up under "XP" with blank spaces to their left.)
hit enter to add a blank line at the bottom and click "save". Close gedit and exit root (type 'exit', hit enter) and then close the terminal. Reboot. When the Fedora boot image appears, hit any key. You should see a list of choices open up. Use the up and down arrow keys to select the one you want to boot up and hit enter.
**You can use whatever name you like after 'title'. This will be what you see on the list of choices at boot. If windows is not on the first partition of hd1, then substitute the correct number in place of the '0' that I gave here. In grub, partitions are counted starting from '0' and going up, so that the second partition is '1' and so on.

If you would like to have the menu be shown always, when you are adding the windows install to grub, place a number sign (#) in front of the line that reads 'hiddenmenu'. This will cause the menu to be shown at every boot up.
You have 5 seconds by default to make a choice from the menu or Fedora boots automatically. If that isn't enough time, when you are making the above changes, change the number on the line that reads 'timeout=5' to an amount you feel comfortable with. I use '9'. This number is the amount of time in seconds you have to choose which system to boot.

Good luck. Let us know how this works out for you. You may want to check out this page, also --
http://www.gnu.org/software/grub/manual/grub.html

Merlin
 
Old 09-12-2006, 09:53 AM   #11
Duck2006
Member
 
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346

Original Poster
Rep: Reputation: 33
Placed
title XP
rootnoverify (hd1,0)
chainloader +1
In the menu.lst' and yes it gives me a choice, but when i select XP it just hangs up
Is this because windows likes to be C:\ if so where do i place a swap line in the menulst' ?
 
Old 09-12-2006, 10:09 AM   #12
Duck2006
Member
 
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346

Original Poster
Rep: Reputation: 33
after

Title XP
rootnoverify (hd1,0)
chainloader +1

i placed

map (hd0) (hd1)
map (hd1) (hd0)

and that fixed the problem
i can now boot to Fedora and windows XP with this menu
Thanks for your help
 
Old 09-12-2006, 12:15 PM   #13
Merlin Whitewolf
Member
 
Registered: Mar 2006
Location: Cookeville, Tennessee
Distribution: Fedora Core 5 and PCLinuxOS
Posts: 75

Rep: Reputation: 15
Smile

Quote:
Originally Posted by Duck2006
after

Title XP
rootnoverify (hd1,0)
chainloader +1

i placed

map (hd0) (hd1)
map (hd1) (hd0)

and that fixed the problem
i can now boot to Fedora and windows XP with this menu
Thanks for your help
You are quite welcome. Please, be sure to add the word 'Solved' to the title of this thread.

Merlin
 
Old 09-12-2006, 05:34 PM   #14
Duck2006
Member
 
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346

Original Poster
Rep: Reputation: 33
problem solved
 
  


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
dual boot fedora core 1 JEZABEL Fedora 1 04-23-2005 01:09 AM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 01:44 PM
fedora core 3 - dual boot mashenka Linux - Software 8 01-10-2005 06:04 PM
dual boot xp fedora core 2 linuxlikeworms Linux - Newbie 2 01-04-2005 07:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:26 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration