BSOD due to RAID to AHCI

pooze

New member
Local time
12:01 PM
Messages
3
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 My Computer

At a glance

64 bit Windows 7 Enterprisei7 5600 @ 2.6ghz16gbIntel
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell Latitude E7450
OS
64 bit Windows 7 Enterprise
CPU
i7 5600 @ 2.6ghz
Motherboard
OEM Dell Latitude
Memory
16gb
Graphics Card(s)
Intel
Hard Drives
256GB SSD
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 My Computer

At a glance

Win7 pro x64stock i7 7700kCorsair Vengeance LPX 16GB (2x8GB) DDR4 @ 320...integrated Intel HD 630
Computer type
PC/Desktop
Computer Manufacturer/Model Number
diy
OS
Win7 pro x64
CPU
stock i7 7700k
Motherboard
Gigabyte Z270N-WIFI mini-ITX
Memory
Corsair Vengeance LPX 16GB (2x8GB) DDR4 @ 3200MHz
Graphics Card(s)
integrated Intel HD 630
Sound Card
onboard Realtek ALC1220
Monitor(s) Displays
two vertically mounted samsung 55" 4k un55mu8000
Screen Resolution
1920x1280
Hard Drives
256GB Samsung EVO 960 M.2 pci-e NVMe SSD
PSU
SilverStone Nightjar ST45NF 450Watt Fanless
Case
No case. Motherboard is mounted directly onto power supply
Cooling
Evercool low profile 815EP with Panaflow 12L fan at 7v
Keyboard
Ortek MCK-86 mini
Mouse
Belkin 5-button USB
Internet Speed
spectrum 400mbps
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 My Computer

At a glance

64 bit Windows 7 Enterprisei7 5600 @ 2.6ghz16gbIntel
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell Latitude E7450
OS
64 bit Windows 7 Enterprise
CPU
i7 5600 @ 2.6ghz
Motherboard
OEM Dell Latitude
Memory
16gb
Graphics Card(s)
Intel
Hard Drives
256GB SSD
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 My Computer

At a glance

Win7 pro x64stock i7 7700kCorsair Vengeance LPX 16GB (2x8GB) DDR4 @ 320...integrated Intel HD 630
Computer type
PC/Desktop
Computer Manufacturer/Model Number
diy
OS
Win7 pro x64
CPU
stock i7 7700k
Motherboard
Gigabyte Z270N-WIFI mini-ITX
Memory
Corsair Vengeance LPX 16GB (2x8GB) DDR4 @ 3200MHz
Graphics Card(s)
integrated Intel HD 630
Sound Card
onboard Realtek ALC1220
Monitor(s) Displays
two vertically mounted samsung 55" 4k un55mu8000
Screen Resolution
1920x1280
Hard Drives
256GB Samsung EVO 960 M.2 pci-e NVMe SSD
PSU
SilverStone Nightjar ST45NF 450Watt Fanless
Case
No case. Motherboard is mounted directly onto power supply
Cooling
Evercool low profile 815EP with Panaflow 12L fan at 7v
Keyboard
Ortek MCK-86 mini
Mouse
Belkin 5-button USB
Internet Speed
spectrum 400mbps
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 My Computer

At a glance

64 bit Windows 7 Enterprisei7 5600 @ 2.6ghz16gbIntel
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell Latitude E7450
OS
64 bit Windows 7 Enterprise
CPU
i7 5600 @ 2.6ghz
Motherboard
OEM Dell Latitude
Memory
16gb
Graphics Card(s)
Intel
Hard Drives
256GB SSD
Back
Top