分享

在虚拟机VirtualBox 中如何把IMG文件转换成它的虚拟磁盘文件VDI

 有你最好DOC 2016-10-15

 在虚拟机VirtualBox 中如何把IMG文件转换成它的虚拟磁盘文件VDI

 

原文如下:

To convert an .img file to .vdi in Linux, so that you can directly use it in VirtualBox, open a terminal and paste this:

VBoxManage convertdd  file.img file.vdi

 




For instance, to convert the recently mentioned
 ChromeOS Cherry from .img to .vdi:

VBoxManage convertdd ChromeOS-Cherry.img ChromeOS-Cherry.vdi



To do this is Windows (I haven't tested it but it should work), open cmd.exe (Start > Run, enter: cmd.exe), navigate to "C:\Program Files\innotek VirtualBox" (using the "cd" command), then run this (after placing the .img file inside the "C:\Program Files\innotek VirtualBox" folder):

VBoxManage.exe convertdd file.img file.vdi


Please let us know if you have tried this in Windows and rather or not it worked.

To use it in VirtualBox, create a new Virtual Machine, select "Use existing hard disk" and browse for the recetly converted .vdi file:



You may also want to check out how to
 create a shortcut to launch Virtual Machines without opening the VirtualBox GUI (for both Windows and Linux)

 

 

 


翻译如下:

转换在Linux VDIimg文件,这样您就可以直接使用在VirtualBox中,打开一个终端,并贴上此: 

VBoxManage convertdd file.img file.vdi

 




例如,从图到VDI 樱桃最近提到的ChromeOS转换: 

 VBoxManage convertdd ChromeOS-Cherry.img ChromeOS-Cherry.vdi



要做到这一点是Windows(我没有测试,但它应该工作),打开CMD.EXE(开始>运行,输入:CMD.EXE),浏览到“C\程序文件\伊诺特VirtualBox(使用“ cd“命令),然后运行后,把里面的img文件的”C\ Program Files文件\伊诺特VirtualBox文件夹: 

 VBoxManage.exe convertdd file.img file.vdi


请让我们知道,如果你已经尝试在Windows,而不是或不工作。 

VirtualBox中使用它,创建一个新的虚拟机,选择使用现有的硬盘,并浏览recetly转换VDI文件。 



你可能也想看看如何创建一个快捷方式,启动虚拟机,而无需打开VirtualBoxGUI WindowsLinux

 

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多