引用
http://blog.tenyi.com/2009/12/conver...di-format.html
上網找到的都是舊資料,現在不再需要vditool或qemu,直接利用VirtualBox附的VBoxManage就可以轉換虛擬硬碟的格式。
把vmdk或vhd轉成vdi的指令:
VBoxManage clonehd source.vmdk target.vdi --format VDI
--format
是指target的格式,source的格式似乎會自動判斷
Your are no longer needed to use vditool, the tool "VBoxManage" comes with recent revision VirtualBox.
Just type the command:
VBoxManage clonehd source.vmdk target.vdi --format VDI
- format
refers to the target format, source format seems to be automatically determined.
VirtualBox Command Line Management Interface Version 3.1.0 (C) 2005-2009 Sun Microsystems, Inc. All rights reserved. Usage: VBoxManage clonehd <uuid>|<filename> <outputfile> [--format VDI|VMDK|VHD|RAW|<other>] [--variant Standard,Fixed,Split2G,Stream,ESX] [--type normal|writethrough|immutable] [--remember] [--existing]</other></outputfile></filename></uuid>
VMDK 跟VHD互轉 可使用Winimage 請參考虛擬先生
http://vaemon.com/article/819.html