BSOD due to RAID to AHCI


  1. Posts : 3
    64 bit Windows 7 Enterprise
       #1

    BSOD due to RAID to AHCI


    So, I need some adult help here... let me explain my problem:

    I have a Win 7 64 bit enterprise install on a Dell Latitude E7450--it's an MBR install with legacy mode enabled in the BIOS and 'RAID' selected for the SSD.

    I need to image this machine as is and transfer it to different one--I've tried to this with various options (Clonezilla, Acronis, AOMEI) with the various 'recovery' options and always wind up with a BSOD 7B error.

    I've narrowed down the reason for it being that the Latitude is said to RAID and the other machine (although it also has RAID options in the BIOS) is incompatible no matter how I set it (SATA or RAID, M2 etc);

    Working on the other machine I've tried just about everything I could find online (about 2 weeks so far now at this) including as previously mentioned using things like ACRONIS recovery, the registry editing of controlset drivers, etc. nothing works--same BSOD.

    Let me be clear--I cannot do a clean install, because I need the image as is for reasons I cannot elaborate on. I was able in testing to do a clean install of Win7 on the new machine and it works fine.

    Now, working on JUST the Latitude, I figure if I can get the thing to boot properly with AHCI enabled instaed of RAID, the image should function on the other machine--but I can't even get this to work.

    I've tried the Win7 repair disk trick, as mentioned enabling pretty much every driver through the registry by setting the start keys to 0 and booting multiple times, into safe mode (which also crashes on both machines, every single time when reaching classpnp.sys or some other driver).

    At my wits end here--nothing seems to enable win7 to boot when changing RAID to AHCI in the bios, no matter how I prep the machine. I also cannot do a sysprep /generalize because it will destroy what I'm trying to achieve here which is a full transfer of my existing system including domain accounts.

    Any ideas? I've tried going to GPT/UEFI, messing with BCD, to no avail. I even took the entire registry (controlset) from the clean win7 install that worked, along with the sys32 drivers and copied that to the non-working install--that managed to get windows to boot past the moving fire balls but stalled anyways. In safe mode it just hangs on classpnp.sys and won't go any further. I've tried the control+break trick and it doesn't do anything.

    FYI--I've also tried all the scripts and so forth to install and enable pretty much every driver (resulting in very long safemode boots)--but it still hangs. Just can't get this to work.

    Also--this laptop does not have IDE mode available, only RAID or AHCI--and a single SSD installed.
      My Computer


  2. Posts : 1,363
    Win7 pro x64
       #2

    I agree with your idea of getting it working in AHCI mode as a first step. RAID aside, the most common reason I've found that a windows drive won't boot on another motherboard is hard drive controller incompatibility, and the solution is to switch the drive controller driver to the generic controller. That is, when you switch from RAID to AHCI in bios, you have to change your drive controller driver first. So here are several methods, try each individually
    ------------------------------------
    1. Run MSCONFIG
    2. Enable Safe Boot (minimal)
    3. Reboot into UEFI/BIOS and change to AHCI
    4. Boot up into safe mode
    5. Run MSCONFIG and disable Safe Boot.
    6. Reboot
    -----------------------------
    1. change the START value to 0 in each of these keys
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\msahci
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\atapi
    2. then reboot and change to AHCI in bios
    --------------------------------
    1. go into device manager and change your hard drive controller to "Standard AHCI 1.0"
    2. then reboot and set AHCI in bios
    ----------------------------
      My Computer


  3. Posts : 3
    64 bit Windows 7 Enterprise
    Thread Starter
       #3

    So I've tried this and it doesn't work.

    If I do steps 1-3, it won't boot into safe mode, I get a BSOD on step 4.

    I've done steps 1-2 below, rebooted multiple times to allow windows to 'load' the drivers, then tried changing to AHCI, BSOD's.

    Can't change the SCSI adapter in the device manager to AHCI. Can't add the AHCI controller.
      My Computer


  4. Posts : 1,363
    Win7 pro x64
       #4

    Somehow you've got to rid of that scsi driver. Somehow.

    Yeah my bad, the ahci driver is not going to load as long as you have booted with raid selected in bios. Have you tried removing the scsi driver from device manager but NOT replacing it, just immediately restarting? Or removing it then immediately restarting into safe mode? Or removing it while in safe mode, shut down, then select ahci in bios, then powering up?
      My Computer


  5. Posts : 3
    64 bit Windows 7 Enterprise
    Thread Starter
       #5

    Well I've taken the working image on the Latitude, installed all the drivers (including the disk controllers) for the other machine (a thinkpad), imaged that, copied it over and it still BSOD's no matter how I set the controller in the BIOS.

    In Safe mode it makes it to disk.sys then crashes... before it that it appears to succesfully load just about every SCSI / sata driver there is... so not sure what the hanging point is now. I did install the intel chipset drivers for this as well...

    I should mention one other thing I guess in terms of combinations:

    The host computer that is being imaged has RAID mode with 'legacy' MBR boot;

    The new computer does NOT allow this combination. If I select RAID (either SATA or M.2) it defaults to UEFI ONLY with supposed legacy support (CSM). If I disable RAID, then it allows me a different option in the BIOS for full legacy support and the ability to choose it in preference to UEFI.

    Wonder if this is an issue? I have converted the imaged disk to UEFI by creating new partitions and re-creating the BCD--it's the only way I could get it to boot with RAID enabled (which the host machine had by default).

    Stupid.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 02:10.
Find Us