Fedora Linux Support Community & Resources Center
  #1  
Old 5th August 2008, 08:06 PM
prudhviy Offline
Registered User
 
Join Date: Apr 2007
Location: vijayavada,india
Age: 25
Posts: 17
how to install Windows XP ....seems funny? read my problem

mine is a P4 machine with a IDE 80Gb hard disk with fedora 7 installed on entire disk
its /dev/sda
now recently i hav purchased a new SATA 160Gb(empty unpartitioned) ....
now i want to install windows xp on it(new SATA)
my problem is that
if i install windows xp on new SATA...does my grub boot loader gets erased by windows boot loader
how to have both of them accessible(both fedora and Win XP)
old IDE disk is on first channel and
new SATA disk is on third channel..
one of my frds said that if we install Win XP by having old IDE disk as primary and new SATA as secondary or third...it does effect the grub boot loader...is it soo?
help me in this regard

--------------------------------------------------------
where does the grub gets installed actually?
long back when once i have unplugged my hard disk and booted the system
it showed the grub prompt on the screen...
if the grub is installed on Hard disk....then where does that prompt come from
Reply With Quote
  #2  
Old 5th August 2008, 08:50 PM
bingoUV Offline
Registered User
 
Join Date: May 2007
Posts: 245
I don't know which hard disk windows XP will use to install its bootloader. You might be able to save the IDE hard disk from Windows XP by disabling it in BIOS when you install windows. Now you can choose in BIOS which hard disk to give first priority while booting. After windows is installed, you can boot once into linux and fix the grub.conf to enable you to boot into windows as well as linux from the same grub menu.

Grub gets installed on the first sector of the hard disk when you install linux on a hard disk. But it can be installed any where (CD-ROM, USB pen drive, external hard disk etc.). Your grub prompt could have come from any of these sources.
Reply With Quote
  #3  
Old 5th August 2008, 09:55 PM
stoat Offline
Registered User
 
Join Date: Jun 2006
Posts: 7,551
Hello prudhviy,

I agree with bingoUV's idea. In fact, you are kinda backing your way into the the so-called (by me, anyway) Jim Lawrence dual boot method. But I think doing it backwards will still work. I would actually power down, open the case, and pull the power cable to the Fedora drive. Next, install XP on the other drive. You may have to make that drive first in BIOS for XP Setup to proceed with the XP installation. Finish installing XP. Power down and reconnect the Fedora drive. If you changed the BIOS boot order to install XP, change it back now. You should be able to boot into Fedora as though nothing happened. XP will not boot at first, but it should when you add the following section to your Fedora's grub.conf file to boot XP...
Code:
title XP
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
If that doesn't work, come back and post your grub.conf and fdisk result.

See, here's the thing...

First, XP Setup must have a compatible partition (FAT, NTFS) on the drive that boots from BIOS for XP's boot loader files. Currently, that would be your Fedora drive. If there are no FAT or NTFS partitions on that drive, XP Setup will simply stop and refuse to proceed until you create one. So even if you are trying to install XP on a second drive, XP Setup will not do it if there are no partitions on the first drive that it can use for XP's boot loader files. This is how MS systems have booted since forever and still do today even with Vista. But the procedures that I proposed above will cause XP Setup to install XP on the SATA drive by making it the drive that boots from BIOS.

Next, XP Setup always writes new MS boot code to the master boot record of the drive that boots from BIOS. That is currently your Fedora drive. So even if XP Setup finds a partition for the boot loader files, GRUB will be removed from the master boot record, and only XP will boot afterwards. It can be fixed back as bingoUV said, but it can be prevented entirely by the procedures that I proposed above because the Fedora drive will be unplugged while XP is being installed.

Lastly, with a Linux system installed on the drive that currently is first in the BIOS boot order, you are virtually guaranteed to run into the "Balking XP CD" (as I call it). It's a well-known anomaly with the XP CD that sometimes occurs when a Linux system has been installed. When it happens, XP Setup halts immediately after printing "Setup is inspecting your computer's hardware configuration..." and then hangs the computer. The procedures that I proposed above will prevent that from occurring because the drive with Fedora will be unplugged at the time the XP CD boots up and starts XP Setup.

No promises, of course. And you have to know what you are doing there. But it all works in my imagination at the moment. You should try.

Last edited by stoat; 10th January 2009 at 02:12 AM.
Reply With Quote
  #4  
Old 6th August 2008, 05:38 AM
bingoUV Offline
Registered User
 
Join Date: May 2007
Posts: 245
Quote:
Originally Posted by stoat
Hello prudhviy,

Next, XP Setup always writes new MS boot code to the master boot record of the drive that boots from BIOS. That is currently your Fedora drive. So even if XP Setup finds a partition for the boot loader files, GRUB will be removed from the master boot record, and only XP will boot afterwards. It can be fixed back as bingoUV said, but it can be prevented entirely by the procedures that I proposed above because the Fedora drive will be unplugged while XP is being installed.
Yes, seems like it will work.

Note that I mentioned disabling the IDE drive from BIOS during windows installation. This should make windows installer think that there is only one hard disk, and that is the SATA one. Disconnecting the power of the IDE drive is, I think, unnecessary.
Reply With Quote
  #5  
Old 6th August 2008, 09:26 AM
prudhviy Offline
Registered User
 
Join Date: Apr 2007
Location: vijayavada,india
Age: 25
Posts: 17
Quote:
Originally Posted by bingoUV
Yes, seems like it will work.

Note that I mentioned disabling the IDE drive from BIOS during windows installation. This should make windows installer think that there is only one hard disk, and that is the SATA one. Disconnecting the power of the IDE drive is, I think, unnecessary.
thanq for all those who spent thier valuable time in solving this problem
now i'll do it as follows...
i'll connect the sata drive on third channel 0
and i'll unplug the ide drive which is on first channel 0
i'll install Win xp..
after tat i'll connect the ide as primary channel 0
and boot into linux and edit the grub.conf file for windows entry
-----------------
is it ok frds?
Reply With Quote
Reply

Tags
funny, install, problem, read, 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
Funny Story - Why a Windows Admin went Fedora redwarrior Fedora Focus 50 7th December 2007 06:25 AM
Funny - Windows Errors HellMINTH Wibble 10 7th August 2006 04:20 PM
Windows RG (FUNNY) BrokenKingpin Wibble 15 5th July 2005 04:35 PM
funny read 1yippy1 Wibble 4 30th May 2005 07:23 AM


Current GMT-time: 11:58 (Wednesday, 19-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