上網找到的都是舊資料,現在不再需要vditool或qemu,直接利用VirtualBox附的VBoxManage就可以轉換虛擬硬碟的格式。
把vmdk或vhd轉成vdi的指令:
Your are no longer needed to use vditool, the tool "VBoxManage" comes with recent revision VirtualBox.
Just type the command:
把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| [--format VDI|VMDK|VHD|RAW| ] [--variant Standard,Fixed,Split2G,Stream,ESX] [--type normal|writethrough|immutable] [--remember] [--existing]
留言