14

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?

GurdeepS
  • 753

2 Answers2

18

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).

slhck
  • 235,242
eprasad
  • 181
15

Why must it be graphical?

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

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

grawity
  • 501,077