Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to convert a VHD file (Hyper-V VM) to the Linux raw format. Is there a tool which can do this which is graphical?

share|improve this question
up vote 6 down vote accepted

Why must it be graphical?

qemu-img convert -f vpc -O raw something.vhd something.raw

(Edit: Fixed -f vhd to -f vpc.)

share|improve this answer
It doesn't work in QEMU on MacOS; the right way is to use vpc instead of vhd – Vito Gentile Nov 9 '13 at 11:24
on the linux there is no vhd format, use vhd instead – andrej Aug 20 '15 at 10:08

The correct format is:

qemu-img convert -f vpc -O raw lamp-3-x86.vhd lamp.raw

From the manpages of qemu-img:

qemu-img convert -f vpc -O raw lamp-3-x86.vhd lamp.raw
vpc – VirtualPC compatible image format (VHD).

share|improve this answer
Yup, that's what the man page says. – d-_-b Oct 4 '12 at 1:20

You must log in to answer this question.

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