Windows XP with 2 harddisks, first contains boot sector, second the O/S files, how can I make the second disk the bootable disk?

I have a PC running Win XP Pro with 2 hard disks installed (both on the second IDE bus, the first IDE bus just contains CDROM).

Drive C (first disk): contains the boot sector and data.
Drive D: (second disk): contains the O/S and program files.

How can I make the current D: drive become the C: drive and have both the boot sector and O/S files, and make the C: drive the new D: drive containing just data?
I don't want to have to reinstall Windows if possible, just move the boot sector.

(Both harddisks do not have jumpers plugged in b.t.w..)
chris_wrenAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

chris1317Commented:
You can try partition magic to swap the drive letters over or have you tried just booting with drive (D:\) plugged in to seee if windows re-assigns it letter C
chris_wrenAuthor Commented:
Drive D: doesn't have a boot partition.........
CallandorCommented:
You are out of luck - the Windows registry is full of references to where the Windows system directory is, including the drive.  It would be a mammoth undertaking to change them by hand, and there's always the chance that you missed a critical one.  You're better off backing up your data and reinstalling from scratch - the boot directory is not easily changed.
Your Guide to Achieving IT Business Success

The IT Service Excellence Tool Kit has best practices to keep your clients happy and business booming. Inside, you’ll find everything you need to increase client satisfaction and retention, become more competitive, and increase your overall success.

chris_wrenAuthor Commented:
Well ok, I can't change the drive letters - that's fair enough. Could I move the boot sector on to drive D: though? The idea is to remove the C: drive because it's gonna go pop soon, and I can't just take it out as it's got the boot sector on it so I'll have a non-bootable XP installation on drive D:.
CallandorCommented:
You can install a boot sector by booting to the WinXP CD and choosing the recovery console.  At the command prompt, type FIXMBR and then FIXBOOT.  You will also need to edit the boot.ini file to reflect the drives found: http://support.microsoft.com/default.aspx?scid=kb;EN-US;q289022

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
chris_wrenAuthor Commented:
Thanks, I'll give that a try.
If I take out the C: drive, add a boot sector to the D: drive with a correct boot.ini, what will happen if I plug the C: drive back in (assuming I've got it set to slave)? Will it still be called C: drive in windows?
CallandorCommented:
Once the WinXP disk has been set to D:, it should remain as D:, so Windows should see C as free and assign it to the next drive that it detects.  You can try it before wiping out the old drive.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Hardware

From novice to tech pro — start learning today.