6

I'm building a server for a client who was previously running on an old dell optiplex XP Machine that was used for data/database storage. These are all legacy apps that won't run on modern operating systems so I wanted to create a VHD via disk2vhd. So I ran the software hoping to take the image back to my place for testing but I forgot to tick that little "prepare for virtual PC box." No surprise that the image doesn't boot in virtual box.

  1. Is checking that box neccesary in order to run inside a VM and...

  2. Is there any other way to test this virtual hard disk or perhaps convert it to a VM compatible image?

3
  • It is indeed required to check the box, although, I can't image its not possible to make the modification yourself. Although how quickly you can do that is likely less time it would take to just generate the image the correct way.
    – Ramhound
    Commented May 8, 2013 at 0:09
  • Thats the thing, my client is an hour away and since I don't have a car that means I get up at 5am an hop on a bus. But your right, that would be easier if I had the resources readily available.
    – Scandalist
    Commented May 8, 2013 at 3:41
  • It's common for older versions of Windows (7 and earlier) to throw 0x0000007b on boot when trying to run as a VM. The solution is typically to use the Registry Editor to enable a number of services, as in superuser.com/a/1032769/19792. It can be done virtually from a Windows Installer ISO if you load in the HKLM Registry hive.
    – mwfearnley
    Commented Jan 31 at 15:38

1 Answer 1

6

According to the command-line help, this option tells Disk2vhd to install a HAL driver compatible with Virtual PC, if the OS (WinXP/Server 2003) does not support it by default.

-h Fix up the HAL in the VHD to be compatible with Virtual PC (Windows XP and Windows Server 2003 only).

(Note that it specifically refers to Microsoft Virtual PC, not Oracle VirtualBox nor any other virtualization software! It is not needed for Hyper-V, either.)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .