VirtualBox import error Cannot register the DVD im

2020-05-29 19:56发布

I'm running v 4.2.6. Starting this morning, I can't import some VMs, and some of my existing VMs are showing up as inaccessible and have the following error showing in the UI,

The same error too when i took the vm to another PC and try to open it with virtual box (v 5.0.10):

Cannot register the DVD image

'C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso' {f5022f2e-0adc-4767-879d-65058a5578c5} because a CD/DVD image

'C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso' with UUID {fc087cbc-df04-47b4-b42f-25f614463f78} already exists. Result Code: E_INVALIDARG (0x80070057) Component: VirtualBox Interface: IVirtualBox {3b2f08eb-b810-4715-bee0-bb06b9880ad2}

标签: virtualbox
3条回答
Anthone
2楼-- · 2020-05-29 20:22

I solved it by open the file win 7 64.vbox with text editor and remove the tag:

<DVDImages>
   <Image uuid="{fd686a98-c1a6-42d9-82aa-67728b524d53}" location="C:/Program Files/Oracle/VirtualBox/VBoxGuestAdditions.iso"/>
</DVDImages>

Know that by removing the tag it will be added as empty tag. and reopent the vm of virtual box again. and it worked

查看更多
做个烂人
3楼-- · 2020-05-29 20:25

I had 2 virtual machines XP-x86 and Win7-x64 and precisely removing tag image uuid the issue got fixed and was able to add the new pre-created VM.

查看更多
霸刀☆藐视天下
4楼-- · 2020-05-29 20:47

Open the .VBOX file in any text editor of your choice.
find the following lines:

[...]
<DVDImages>
        <Image uuid="{b058bc48-c451-4cff-9db0-d01c70e99c28}"
location="/usr/share/virtualbox/VBoxGuestAdditions.iso"/>

[...]

Delete all entries between and section. After deleting the contents, your .VBOX file will look like below.

<DVDImages>
</DVDImages>

Save and close the file.

That’s it. Now, you can load the virtual machine without any issues.

查看更多
登录 后发表回答