How to install RAID drivers on already installed Windows 7?

9

4

  • 64-bit Windows 7 Ultimate
  • 6GB RAM
  • Intel i7 920
  • Intel X25-M SSD 80GB 2,5"
  • Club 3D Radeon HD5750
  • GA-EX58-UD4P Motherboard

I've been running fine with Windows 7 installed on the SSD. I wanted to create an mirrored Raid-1 setup for backups using two hard disks, so I ordered two Samsung HD203WI.

This motherboard supports two different RAID controllers, the Intel's ICH10R and Gigabyte's SATA2 SATA controller. There are 6 SATA ports behind the ICH10R and 2 SATA ports for the Gigabyte controller. I googled around and seemed that the ICH10R is a better choice and since then I've been trying to make it work.

When I activate the [RAID] mode from BIOS, the Windows 7 gives BSOD exactly as described by this guy: "Windows 7 will start to boot, it gets to the screen where there are 4 colors coming together and it blue screens and restarts no matter what I do."

First thing I did: turned off the RAID and booted to Windows and tried to install the SATA RAID drivers from Gigabyte. I launch the driver installation program and it gives "This computer does not meet the minimum requirements for installing the software" error. I then tried Intel's Rapid Storage Technology drivers (which apparently is the same as the one offered at Gigabyte's site), but it resulted in exactly the same error.

I then detached the new Samsung hard disks from the SATA ports, but left the [RAID] enabled in BIOS. To my surprise, it still BSOD'd, so at this point I knew it is an OS/driver issue. Also, I tried with the Gigabyte's RAID enabled (while the ICH10R RAID disabled) and it booted just fine.

So then I thought, that maybe I can't install the RAID drivers from within the OS. So I caused the BSOD on purpose once again, and then with ICH10R RAID activated and Samsung hard disks attached, I choose the Windows 7 Recovery mode in the boot menu. It sees some problem(s), tries to repair, does not succeed and does not ask for drivers (which I put on a USB stick) to install. I also tried to use the command-line in the recovery: "rundll32 syssetup, SetupInfObjectInstallAction DefaultInstall 128 iaStor.inf" but it gave "Installation failed."

So I'm clueless how should I proceed. Do I really need to re-install Windows 7 and load RAID drivers in the Win7 setup? I don't want to install any OS on the RAID, the Windows 7 is and will be on the SSD. I just want to have a RAID-1 backup using those two hard disks.

I mean why would I need to re-install operating system to add RAID setup?

happysencha

Posted 2010-06-23T21:43:48.277

Reputation: 91

Which controller is the SSD attached to? The ICH or Gigabyte's? – Ƭᴇcʜιᴇ007 – 2010-06-23T22:57:37.797

It is attached to ICH. – happysencha – 2010-06-24T00:13:50.517

Answers

8

Change the BIOS back to IDE Enhanced so Windows can boot.

In the Windows\System32\Drivers folder is a file called iaStorV.sys installed by OS by default.

Into the registry we go.

Navigate to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\iaStorV

Change REG_DWORD "Start" from 3 to 0

Reboot

Go into the BIOS and change Sata Configured To to RAID

Windows should boot as normal, no lockups or BSODs and you should see it installing Device Drivers followed by Device Installed Successfully.

I tested it prior to installing the Intel Storage Matrix v8.7.0.1007 (current as @ 18/2/09) and it worked fine.

I installed the Intel Storage Matrix software anyway to gain access to the Storage Console component and on reboot it worked just as good.

Long story short, ICH10R with Windows 7 required the modification of a single digit to enable RAID functionality right out of the box. No reg. keys, no copy/pastes, no prayers.

Anyway I think that wraps it up, try at your own risk and always backup first.

Source: http://forums.overclockers.co.uk/showpost.php?s=69448c6b35756aeb127dd4559ce9b431&p=13940673&postcount=3

Walt

Posted 2010-06-23T21:43:48.277

Reputation: 81

2Link only posts are and are strongly discouraged on all stack exchange sites, since links often go stale. If you could summarise the pertinent information from the linked to page then at least if the link does die, people will have some idea what earlier visitors found useful. – Mark Booth – 2012-03-03T21:53:08.920

7

From How to enable AHCI/RAID mode without reinstalling windows (P35/ICH9/ICH9R) as suggested by Walt:


Wanting to add a RAID array to an existing system configured with an IDE mode boot drive, the poster found that once the BIOS was changed to RAID, the system started in safe mode.

To get around this, they switched the BIOS back to IDE, booted windows, went into the registry editor, navigated to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iaStorV and changed the REG_DWORD Start from 3 to 0 before rebooting and configuring RAID in the BIOS again.


Note, as always, I would highly recommend doing a full disk backup of your system before trying this, and at the very least back up your registry before editing it.


Further information

As suggested by tanantish this is also documented in the Microsoft Knowledgebase article Error message occurs after you change the SATA mode of the boot drive (KB922976)

Let me fix it myself

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base: * 322756 How to back up and restore the registry in Windows

To resolve this issue yourself, enable the AHCI driver in the registry before you change the SATA mode of the boot drive. To do this, follow these steps:

  1. Exit all Windows-based programs.
  2. Click Start, type regedit in the Start Search box, and then press ENTER.
  3. If you receive the User Account Control dialog box, click Continue.
  4. Locate and then click one of the following registry subkeys:
    • HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Msahci
    • HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\IastorV
  5. In the pane on the right side, right-click Start in the Name column, and then click Modify.
  6. In the Value data box, type 0, and then click OK.
  7. On the File menu, click Exit to close Registry Editor.

In addition, answers to the question Changing from RAID to AHCI on the Microsoft community forum suggest that other registry keys might need to be modified as well or instead of these, depending on your hardware. Possibilities include:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\atapi
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\nvstor
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\nvraid
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\amdsata 
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\iastor 

Mark Booth

Posted 2010-06-23T21:43:48.277

Reputation: 2 324

Just as well to add in more linky-type refrences, this is actually in an MSKB 92297 which tells you to make the change and gives explanation why it flames out (basically, on install time, it disables any drivers it didn't need, but since you've enabled the raid controller, it needs to be told load up iastore.)

– tanantish – 2012-12-05T07:23:16.643

oops, my bad - managed to wipe out the trailing 6 on the KB reference :P – tanantish – 2012-12-08T16:13:01.773

@tanantish - No problem. *8') – Mark Booth – 2012-12-10T12:24:19.640

3

For those of you (like me) who have an AMD system with an SB8xx or SB9xx controller (and possibly other models as well), try this guide: http://www.wikihow.com/Enable-RAID-or-AHCI-without-Reinstalling-Windows-(for-AMD-SB85-or-SB8XX-Controllers)

This process worked for me. I have a MSI 990FXA-GD80 with an AMD CPU running Windows 7 64-bit.

The guide is pretty detailed, so I will only summarize it here.

  1. Set your BIOS to AHCI or RAID mode (whichever will be your final selection).

  2. Boot into linux (a live CD is sufficient) and run the command lspci -vvnn. This lists all PCI devices. Find your RAID controller and write down the vendor ID (4 digits), device ID (4 digits), and subsystem ID (8 digits with a colon). I found this list of PCI vendor IDs informative: http://www.pcidatabase.com/vendors.php?sort=id.

  3. Change the BIOS back to IDE mode.

  4. In Windows, copy your RAID driver (probably named ahcix64s.sys) to C:\Windows\System32\drivers.

  5. Import the registry information below (create a text file with the .reg extension). Be sure to set the vendor ID, device ID, and subsystem ID.

  6. Set your BIOS to AHCI/RAID mode.

Registry information:


Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\CriticalDeviceDatabase\pci#ven_1002&dev_4393&cc_0104]
"ClassGUID"="{4d36e97b-e325-11ce-bfc1-08002be10318}"
"Service"="ahcix64s"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ahcix64s]
"Type"=dword:00000001
"Start"=dword:00000000
"ErrorControl"=dword:00000001
"Tag"=dword:00000001
"ImagePath"="system32\\drivers\\ahcix64s.sys"
"Group"="SCSI Storport"
"DisplayName"="AMD AHCI Compatible RAID Controller"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ahcix64s\Parameters]
"BusType"=dword:00000008
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ahcix64s\Parameters\PnpInterface]
"5"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ahcix64s\Settings]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ahcix64s\Settings\CAM]
"EnableALPEDisableHotplug"=dword:00000000
"EnableCCC"=dword:00000000
"CCCTimeoutValue"=dword:0000000a
"CCCCompletionValue"=dword:00000020
"NCQEnableDiskIDBits"=dword:ffffffff
"EnableHIPM"=dword:00000000
"EnableDIPM"=dword:00000000
"EnableHDDParking"=dword:00000001
"CAMTimeOutValue"=dword:00000005
"EnableAN"=dword:00000001
"EnableAPS"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ahcix64s\Enum]
"0"="PCI\\VEN_1002&DEV_4393&SUBSYS_43931849\\3&13c0b0c5&0&FA"
"Count"=dword:00000001
"NextInstance"=dword:00000001

Erik W

Posted 2010-06-23T21:43:48.277

Reputation: 31

3

How to convert an existing Windows 7 installation from IDE to RAID

I have successfully converted a pre-existing Windows 7 IDE installation to a RAID 0 configuration. It was actually not that difficult. I read hundreds of posts on multiple forums and was never able to find a solution, so I figured it out myself. Below are the steps to accomplish the task. Note: If your current OS hard drive will be used in the RAID array, you must first clone your operating system partition to a hard drive that will not be used in the RAID array.

  1. Prerequisites: You must have the hard drives you will be using in your RAID, a different hard drive with your current Windows 7 installation, and an external hard drive for an OS image (DVDs or Blu-Rays would work, but much more time consuming).

  2. In the Windows start menu search box type "regedit" (without the quotes) then right click the entry and click "Run as Administrator" then enter your user credentials for the UAC prompt then click yes to open regedit.

  3. In regedit navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\msahci, in the right pane right click "start" then click "modify"

  4. In the window that opens change the hexadecimal value to "0" and click OK. Close regedit click "File" at the top left and click "Exit".

  5. Restart your computer. Enter the BIOS and change your SATA configuration to AHCI. Save settings and exit BIOS.

  6. When the computer boots up, Windows 7 will install the AHCI drivers automatically. A prompt will tell you that your computer needs to restart.

  7. Restart your computer. After booting up you should receive no hardware installation prompts. If you do, restart again.

  8. Once there are no hardware installation prompts or restart notifications. Shut down your computer.

  9. Most motherboards and RAID cards have an option to run specific SATA ports as IDE in RAID mode.

  10. Verify/Connect your hard drive to a SATA RAID port that supports IDE (refer to your BIOS or motherboard manual to determine port, on my board it was SATA 5 & 6).

  11. Power on your system, enter the BIOS, and change SATA operation to RAID, but change the mode to IDE (RAID is turned on, but will be running in IDE mode on the specified ports). Save BIOS settings and exit.

  12. Boot into Windows 7 and you should be prompted to restart. Restart your computer.

  13. You should now have a RAID controller that requires drivers. Install your RAID drivers. Restart computer.

  14. Verify that your computer boots up and all hardware is installed and there are no prompts to restart. If asked to restart again, restart computer.

  15. Check the device manager and verify that everything is installed properly and functioning. Shut down the computer.

  16. Connect your OS hard drive to a different SATA port not assigned to the RAID. Connect the hard drives you want to use in the RAID to the proper SATA ports (I set up a RAID 0 with two identical 1 terabyte drives on SATA ports 5 & 6).

  17. Power on computer and enter the BIOS. Go to SATA operation and change the mode from IDE to RAID (Should now have RAID enabled and mode set to RAID). Save changes and exit BIOS.

  18. During boot up, press the key combination to enter the RAID configuration utility (mine was Ctrl-F). Create your RAID. Save changes and exit.

  19. Boot up to Windows and, using Windows Disk Management (right click Computer and choose Manage, then click Disk Management), initialize the drive and partition/format if desired/required.

  20. If the OS or RAID drives contain multiple partitions, go to the next step. If cloning drive follow this step and skip the next step. Using your favorite image creating software (I use Acronis or Ghost), clone the OS drive to the RAID drive. This can be tricky if there are multiple partitions on the OS drive or the RAID drive. If the OS drive and RAID drive both utilize a single partition, cloning is the best option. After cloning drive, reboot computer.

  21. Skip this step if you cloned the OS drive to the RAID drive. Using your favorite image creating software (I use Acronis or Ghost), create an image of your Windows 7 partition and restore the image to the desired partition on your newly created RAID. Reboot computer.

  22. Enter your system BIOS and change your hard drive boot priority to start with your RAID drive. Save changes and exit BIOS.

  23. Boot in to Windows and verify that the RAID drive is now your C:\ drive. Using Windows Disk Management, re-partition/format original OS drive, or if no longer needed in system, shut down computer and disconnect original OS drive.

  24. If all went well, you should now be running Windows 7 on your newly created RAID drive and your original OS drive is either blank and available as a backup/storage drive or no longer installed in the computer.

icupn

Posted 2010-06-23T21:43:48.277

Reputation: 31

1

I found a really tricky way to install Raid drivers into a already Windows 7 system with AHCI as default settings. Firstly have a spare hard drive that you will use to install a fresh copy of Windows 7 on it (but with RAID option set in the BIOS important!). Disconnect your main Windows 7 from your system before to install a fresh copy of Windows 7 on the spare hard drive. Now that you have done your fresh installation. Reconnect your main Windows 7 and let the RAID option set in the BIOS. Reboot your machine but force jump into BIOS to select which drive your main Windows 7 is on and choose to boot it now! Windows 7 will look for missing drivers (raid) and find those into your fresh install and finally install those (instead of getting BSOD) from your fresh install. Cannot be easier than that :)

lost

Posted 2010-06-23T21:43:48.277

Reputation: 11

0

Most easy way to install drivers to offline target OS is the following:

1) Download and burn live WinPE image...
2) Boot with this image and install drivers to view your RAID partitions.
3) Run program InfToReg.. Open inf file of your RAID drivers in this program and save .reg file. Copy inf and sys files (select checkbox and specify correct path to target offline Windows). Or you can copy inf and sys files manually.
4) Open Regedit (target offline OS) and do Import of reg file.
5) Reboot...

All of that is available in Multiboot 2k10 ISO. But some programs are not in English.

P.S. Just tried it on SB950 RAID. All was done seamlessly...

Maxim

Posted 2010-06-23T21:43:48.277

Reputation: 191

0

Re-install is never an option! :)

Hey buddy - I just pretty much went through this exact scenario except I have taken 2 x RAID 0 disks from failed external Lacie drive and have plugged them into my desktop hoping to salvage my data.

Since your system disk will not be RAID, you need to move the drive you are booting from OFF of the ICH controller, and boot that disk on that controller in IDE mode.

So:

  • System HDD, on ICH controller, in IDE mode = good (but can't install RAID driver as device needs to be present for driver to install - STUPID Intel, but I'm sure there is a technical reason for it)
  • System HDD, on ICH controller, in RAID mode = bsod (can't boot as windows doesnt have RAID driver, catch 22 really)
  • System HDD, on OTHER controller, in IDE mode and ICH controller in RAID mode = bootable, and able to install

Test successful boot once moved to OTHER controller, reboot, go into BIOS and enable RAID for the ICH controller. Since you are booting using other controller, it's all hunky dory! Now when Windows is loaded, you can install appropriate driver package for your ICH controller.

Note that the first time I booted into Win7 with my ICH controller set to RAID, I could not successfully install driver (some sort of time out) and it took a long time to shut down and eventually BSOD - a subsequent reboot and was all good.

Note for the Intel ICH controllers, recommend you use Intel Rapid Storage Technology package which includes appropriate 32/64bit drivers as well as the Intel Rapid Storage Technology utility to configure your RAID volumes (basically same as CTRL-I during POST). It took me a fair bit of Googling to decode Intel's crazy package/release system and it seems their storage controller chipset line went though a rename at some stage. I recommend using this package which was released 23 Mar 2010.

Once you see a RAID controller in device manager, you are hot to trot. Plug your RAID disks into appropriate ports on mobo, and away you go.

Only downside about this config: usually the other controller is slower than the ICH and is built for some other task. My board (ASUS p5q3) has both JMicron JMB322 and ICH10R. I have not done any benchmarking, but from what I have researched...

Anyway, here are some helpful links I found when researching this problem:

user44363

Posted 2010-06-23T21:43:48.277

Reputation: 1

-1

For me it was: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\intelide I was restoring a backup from Hardware to Hyper-V VM.

OboNet

Posted 2010-06-23T21:43:48.277

Reputation: 1