After installing Windows 7 on a Crucial M4 SSD, I installed the rEFInd boot manager on the Crucial's ESP. I then connected an OCZ Vertex 4 SSD (and disconnected the Crucial) and installed Xubuntu on the OCZ, with /swap and /var on a 400GB WD drive. After reconnecting the Crucial SSD, I am unable to boot Windows 7 (prior to connecting the OCZ SSD, it booted fine from rEFInd). I end up in a Windows Error Recovery loop. I should note that Xubuntu booted fine from rEFInd when both disks were connected.
Disconnecting the OCZ SSD, I am able to reach Startup Repair. An automatic repair is attempted but fails with the following details:
Problem signature:
Problem Event Name: StartupRepairOffline
Problem Signature 01: 6.1.7600.16385
Problem Signature 02: 6.1.7600.16385
Problem Signature 03: unknown
Problem Signature 04: 1
Problem Signature 05: AutoFailover
Problem Signature 06: 1
Problem Signature 07: BadDriver
OS Version: 6.1.7600.2.0.0.2561
Locale ID: 1033
#Diagnosis and repair details:
Root cause found:
-------------------
A recent driver installation or upgrade may be preventing the system from starting.
Repair action: System files integrity check and repair:
Result: Failed. Error code: 0x490
Time taken: 144629ms
After I reboot, however, Windows boots fine. Reconnecting the OCZ SSD (or a Western Digital 400GB drive - EDIT: removing all Linux partitions - /swap and /var - from the WD drive allows Windows to boot without Startup Repair) results in the same situation all over again .
How can I fix this?