- 1、本文档共4页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
vmdk转vdi
vmdk/vhd 转 vdi(vmdk/vhd to vdi)、vdi 转 vmdk/vhd(vdi to vmdk/vhd)一步完成
2010-05-24 11:37
?????? 最近由于要把 vmdk 转成 vdi 格式(本来想继续用 VMware 的,但由于 VMware 的无缝模式没有 VirtualBox 好,且内存、CPU 占有太高,所以又换回了 VirtualBox。换来换去,换了好几次了,我是不折腾会死星人( ̄▽ ̄)),想上网找一下有没有比上一篇文章提到的更简单的方法。搜索了一下,除了上一篇写的要用到 qemu 软件进行两次转换外,还真让我找到了一个一步转换完成的方法。
????? 原来新版的 VirtualBox 附带的 VBoxManage 已经可以实现转换虚拟磁盘格式的功能,不再需要借助 qemu 等第三方软件( HYPERLINK /2009/12/convert-from-vmdkvhd-to-vdi-format.html 將vmdk/vhd轉換為VDI格式)。
????? 把 vmdk 转成 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
?
??????? VBoxManage 的其他参数可以通过在命令提示符中输入 VBoxManage 或 E:\Program Files\VirtualBox\VBoxManage.exe(VBoxManage.exe 文件路径) 来获取。
D:\Backup\我的文档\Virtual Machines\UbuntuE:\Program Files\VirtualBox\VBoxManage.exe
Oracle VM VirtualBox Command Line Management Interface Version 3.2.0
(C) 2005-2010 Oracle Corporation
All rights reserved.
Usage:
VBoxManage [-v|--version] print version number and exit
VBoxManage [-q|--nologo] ... suppress the logo
VBoxManage list [--long|-l] vms|runningvms|ostypes|hostdvds|hostfloppies|
bridgedifs|hostonlyifs|dhcpservers|hostinfo|
hostcpuids|hddbackends|hdds|dvds|floppies|
usbhost|usbfilters|systemproperties
VBoxManage showvminfo
文档评论(0)