我们在使用VirtualBox的时候,如果非正常关闭虚拟机,极有可能出现虚拟机不可使用的情况,
提示的错误如下:
"Cannot attach medium '...xxx.iso' {...}: medium is already associated with the current state of machine uuid {...}!".
下面给出解决办法:
1、找到用户目录下的VBOX文件并用文本编辑器打开,
如:C:\Users\Administrator\VirtualBox VMs\centos7-03\centos7-03.vbox
养成良好的习惯,编辑前先把这个文件备份一下;
2、找到下列代码
<AttachedDevice passthrough="false" type="DVD" port="1" device="0">
<Image uuid="{0a87233c-485f-4827-bcd5-e5f0ad6306b6}"/>
</AttachedDevice>替换成
<AttachedDevice passthrough="false" type="DVD" port="1" device="0"> </AttachedDevice>
3、关闭并重新打开VirtualBox,问题解决。

fffffasdfasdfasdfasdfas;kdfjlaskl;dfjaskl;dfjakls;dfjkal;sfdjlaks;df als;dfj awkls;dfj asl;dfj aslk;dfjaskl;dfjas;ldf
访客评论