LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 11-12-2005, 11:17 AM   #1
kt8993
Member
 
Registered: Sep 2004
Posts: 34

Rep: Reputation: 15
Dual Boot Windows XP & FC4 with FC4 already installed


May I know how do I install Windows XP for Dual Boot Windows XP & FC4 when I FC4 already installed. I have a partition that I can format for Windows XP.

I just need to know how to make it dual boot after installing Windows...

I know it's easier to install Windows XP first and then Install FC4, but I already have apps and configs under current FC4 that will take time for me to reconfigure...

Thanks.
 
Old 11-12-2005, 11:25 AM   #2
apepost
Member
 
Registered: Oct 2003
Distribution: Fedora core 4
Posts: 113

Rep: Reputation: 15
You'll need to install Windows as usual. It'll overwrite your mbr, so you'll have to fix that manually afterwards.
 
Old 11-12-2005, 11:45 AM   #3
kt8993
Member
 
Registered: Sep 2004
Posts: 34

Original Poster
Rep: Reputation: 15
How do I fix the MBR manually after work? Do I do the FC4 installation disk to correct it?

Thanks.
 
Old 11-12-2005, 03:03 PM   #4
apepost
Member
 
Registered: Oct 2003
Distribution: Fedora core 4
Posts: 113

Rep: Reputation: 15
Boot the FC4 installation disk.

type "linux rescue" and push enter when the prompt arrives.
Choose your language and keyboard layout.

Choose "NO" when it asks you about networking.

Push "Continue" on the next box about mounting your partitions.

type "chroot /mnt/sysimage/"
type "grub-install"
 
Old 10-18-2006, 11:01 AM   #5
zaken
LQ Newbie
 
Registered: Jul 2004
Location: kent
Distribution: Fedora
Posts: 5

Rep: Reputation: 0
Thankyou very much!

I think my mind is going, Dave, I can feel it... I can feel it...
 
Old 10-18-2006, 01:21 PM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Or......
Write the Linux mbr to a floppy. This will boot the FC4. Once everything else is working, then you can copy it back.

Assume that you have one hard drive---/dev/hda:
Put mbr on a floppy:
dd if=/dev/hda of=/dev/fd0 bs=512 count=1

Put it back:
dd if=/dev/fd0 of=/dev/hda bs=512 count=1
 
Old 10-18-2006, 01:40 PM   #7
sn68
Member
 
Registered: Oct 2005
Distribution: FC5
Posts: 338

Rep: Reputation: 30
@Pixellany
Will the method described (floppy & dd) dual boot or futher editing of grub.conf is required to dual boot?
If it is simply restoring previously installed grub which had no knowledge of windows installation then I think it will not dual boot.
 
Old 10-18-2006, 04:13 PM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
You have to edit the config file: /boot/grub/menu.lst (aka /boot/grub/grub.conf)

The exact entries will depend on how your disk is setup.

Running in Linux, do "fdisk -l" as root, and post the output here. Tell us which partition is (or will be) windows.

One nice thing about installing Windows first is that the typical Linux installer detects the Windows install and automatically sets up grub.
 
Old 10-18-2006, 04:26 PM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,763

Rep: Reputation: 719Reputation: 719Reputation: 719Reputation: 719Reputation: 719Reputation: 719Reputation: 719
If using the dd method you only want bs=446 not 512. The partiton table starts at 446 bytes. In your case it doesn't matter since you have an existing parition already for windows. However, if you did make any changes using the dd will overwrite the new table. Once you restore grub you will need to add an entry to the /etc/grub.conf file for windows.
 
  


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
FC4 and Windows XP Dual boot help XeroxONE Linux - Newbie 2 10-30-2005 05:58 AM
Windows, FC4 dual boot problems ZeroIdea Fedora 3 10-26-2005 03:25 PM
Dual Boot XP and FC4 Metal Militia Fedora 4 10-15-2005 09:31 PM
Trying to Dual boot Win XP & FC4. Grub doesnt come up at all. Gordon99 Fedora - Installation 3 10-05-2005 09:09 AM
Formatted & installed FC4: no password Nathan1993 Fedora 2 09-22-2005 07:29 PM


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