We help IT Professionals succeed at work.

VirtualBox VHD file giving BSOD

We have created a VM using disktovhd of  an SBS2008 server but we are getting a BSOD when we try and run it in VirtualBox. We have tried changing it to an IDE drive instead of SATA and some of the various settings e.g. ICH6, PIIX3 etc but still get the same error

We have done this process on other servers and it has worked well so a bit stumped :-)

I have attached an image of the BSOD

Any ideas would be welcome?

Thanks
VirtualBox-Error.png
Comment
Watch Question

Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
Stop 0x7B is Inaccessible Boot Disk.

The driver which is in the VM, does not match the hardware - storage controller.

All you've done is jus clone the disk of the physical server, and present to different hardware, which will result in a BSOD, unless the image/clone disk is converted.
Scott SilvaNetwork Administrator

Commented:
What you need to do is to boot from the setup DVD, System repair CD or from a "WinPE 3.0" and use the DISM command to inject the storage controller driver . You will find more info in the below links. Extract the storage driver from the virtualbox support tools.

 

http://christian.hofstaedtler.name/blog/2013/01/using-dism-to-add-drivers.html

 

http://forums.overclockersclub.com/?showtopic=192550

I haven't done this in years, but it worked for me in the past.
hecgomrecNetwork Administrator

Commented:
Have you tried to boot to SAFE MODE.  If it does, just remove the actual storage controller and reboot.

Author

Commented:
We are at the stage not where we have mounted the vhd image and run the command below to inject the correct drivers but get the error attached

We have tried to inject generic storage drivers with a DISM command
dism /image:d:\ /add-driver /driver:d:\windows\inf\mshdc.inf /forceunsigned
DISM.png

Author

Commented:
Would we have to use WinPE instead of just mounting the VHD file?
Scott SilvaNetwork Administrator

Commented:
I see you used the commands EXACTLY as they were in the howto. Are those paths actually where your system partition is mounted?

Sometimes the locations mount in different spots... You have to look at which drive actually has your old Windows directory.

Author

Commented:
Yep checked and even change the mount point but still getting the error 50

dism /image:d:\ /add-driver /driver:d:\windows\inf\megaraid.inf /forceunsigned

I believe the SBS server that the image was taken from was an HP with RAID1

Thanks
VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017
Commented:
I would recommend you use  Veeam Agent, to create your  P2V.

see my EE Article

HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).

It's simple create the recovery media on the destination VM, e.g. Virtualbox, tick the box which then captures ALL the drivers you need for the VM.

Backup your physical server to a USB or NAS...

Then restore to your VM, Veeam Agent will convert the OS to match the VM..

Simple - The End