12

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?

niutech
  • 1,051
  • 1
  • 10
  • 18
GurdeepS
  • 733
  • 3
  • 12
  • 24

2 Answers2

17

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
  • 223,558
  • 70
  • 607
  • 592
eprasad
  • 171
  • 1
  • 2
14

Why must it be graphical?

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

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

u1686_grawity
  • 426,297
  • 64
  • 894
  • 966