1000字范文,内容丰富有趣,学习的好帮手!
1000字范文 > 在虚拟机VirtualBox 中如何把IMG文件转换成它的虚拟磁盘文件VDI

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

时间:2022-03-25 17:32:51

相关推荐

在虚拟机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 mentionedChromeOS Cherryfrom .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 tocreate a shortcut to launch Virtual Machines without opening the VirtualBox GUI(for both Windows and Linux)

翻译如下:

转换在Linux VDI的img文件,这样您就可以直接使用在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文件。

你可能也想看看如何创建一个快捷方式,启动虚拟机,而无需打开VirtualBox的GUI(Windows和Linux)

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。