When installing a new hard drive, I accidentally formatted it using 'Disk Management' and set it up as my primary active partition, even though it isn't the system drive. Then, when I restarted my machine, Windows wouldn't boot, citing a missing or corrupt SYSTEM folder.

How do I re-enable the system hard drive as my primary active partition? Any help would be greatly appreciated.

link|improve this question
@querty2: Welcome to SuperUser. In the future, when you post a question on an incorrect sister site (Stack Overflow, Server Fault), it will be closed and migrated automatically. So, this means you do not have to post the same question again. Under your account page, under the 'accounts' tab, you can associate your accounts across all the sites and you will be able to see any migrated questions. Check out the faq for more information about Super User: superuser.com/faq – Troggy Mar 25 '10 at 14:36
feedback

5 Answers

Most computers allow you to manually select a boot drive. Usually after the computer posts, immediately after the BIOS screen. Consult your documentation on how to do this (although sometimes the keypress is listed in the BIOS screen). This would allow you to boot using your original drive and fix the problem.

Update:

Use fdisk or an equivalent disk tool to set the system partition as active, and unset the active flag on any data partitions.

link|improve this answer
I can boot to either drive easily, the problem is the system drive has been changed to the secondary partition; and the newly installed hard drive as primary. – user32220 Mar 24 '10 at 19:52
feedback

What is the Operating System on the Primary Hard drive?

If it's Windows XP try booting from a startup disk (like Windows 98SE Bootable), use the FDISK command and choose the option to set the required parition ACTIVE.

link|improve this answer
The OS on the system hard drive is XP. The new hard drive I just installed (and partitioned as PRIMARY) is empty. I don't have a startup disk? Do you mean something like my XP installation CD? I don't have anything like that unfortunately – user32220 Mar 24 '10 at 19:52
No, you can search for Boot images and burn it to a CD. look in bootdisk.com – Srin Mar 24 '10 at 20:48
No boot CDs seem to work. I don't think it is recognising my system drive because I have changed the partition type, and made the new, empty drive the primary partition. – user32220 Mar 24 '10 at 22:48
You may need to change the boot order in your BIOS settings to place your CD drive above your HDDS, thus forcing your computer to attempt to boot from a CD rather than your HDDs. – Emory Bell Mar 25 '10 at 2:01
feedback

If you disconnect the disk does the system boot as normal?

link|improve this answer
Unfortunately not. When I start the machine up it says: "Drive 1 not found, Serial ATA, SATA-1. Failed to detect one or more drives during POST. Pressing F1 to continue, it just comes up with the same error message as before. I assume when I went into disk management, and changed my new drive to primary and therefore changing my system drive to secondary, it made it unbootable. – user32220 Mar 24 '10 at 19:50
That's when you disconnected it, power and SATA? – Cry Havok Mar 24 '10 at 20:42
1  
Then you have a bigger problem and it suggests that something else must have changed. – Cry Havok Mar 24 '10 at 21:26
2  
There are only primary and extended partitions. No secondary partitions. Further, formatting disk A won't change disk B. Indeed, with SATA there are no longer master and slave disks. What makes you think that your OS disk has become a secondary partition? – Cry Havok Mar 24 '10 at 23:18
1  
When you removed the SATA cable for your new HDD, did you also remove it from the motherboard? Another question: is the HDD you want to boot off of connected to the first SATA port on your motherboard? – Emory Bell Mar 25 '10 at 2:03
show 7 more comments
feedback

It sounds as if your BIOS is trying to BOOT from the "new" harddrive.

Try unplugging it, to see if that helps with your problem. In that case, try modifying the BOOT order in you BIOS.

Otherwhise it could be just normal wear-and-tear on the drive and it's begun to go bad. In that case you can try running harddrive maintenance utilities such as SpinRite

link|improve this answer
feedback

Repairing the boot.ini file through the recovery console seems to have done the trick. I ran CHKDSK which fixed a couple of bad sectors as well. Thanks everyone for your help

link|improve this answer
feedback

Your Answer

 
or
required, but never shown