Convert .gho (Ghost) image to .vhd (Virtual Hard Disk)

How to convert a .gho image (Ghost file) to a .vhd (Virtual Hard Disk), P2V for Hyper-V!

Open Disk Management, right click Open Disk Management 🙂 choose ‘Create VHD’, specify the virtual hard disk location:

Create VHD

Right-click the new disk in Disk Management, and select Initialize Disk:

Initialize Disk

Yeah it’s online:

image

Still in Windows, start Ghost DOS version (Ghost32.exe), and do a Disk From Image restore: (Local –> Disk–> From Image)

restore convert .gho Ghost file to .vhd Virtual Hard Disk

Select the .gho Ghost file:

restore convert .gho Ghost file to .vhd Virtual Hard Disk

Choose where to apply the image. We apply the image on the newly created Virtual Hard Disk (VHD file we just created):

restore convert .gho Ghost file to .vhd Virtual Hard Disk Ghost

Ghost Ghosting done

You have a VHD file, converting done.

Install Windows 7 or Server 2008 from USB stick

On your Windows 7 operating system, open an elevated command prompt and type:

DISKPART
LIST DISK
SELECT DISK 1 (depends on your situation!)
CLEAN
CREATE PARTITION PRIMARY
SELECT PARTITION 1
ACTIVE
FORMAT FS=NTFS QUICK
ASSIGN
EXIT

Now that the USB stick is bootable, all you have to do is copy the WinPE source files on the stick and boot from it.

This approach also works for making bootable WinPE harddisk/USB Sticks, just add (G)ImageX.exe and you’re ready to make backups of complete systems (aka Ghost replacement)