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?
Asked
Active
Viewed 3.2k times
2 Answers
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).
-
Yup, that's what the man page says. – d-_-b Oct 04 '12 at 01:20
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
-
1It doesn't work in QEMU on MacOS; the right way is to use `vpc` instead of `vhd` – Vito Gentile Nov 09 '13 at 11:24
-