-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Moritz Reiter ha scritto:
> Hi list,
>
> I want to unregister a dvd image from VirtualBox because I removed the
> source ISO file an always get an error message about it when starting
> the VBox GUI. But when I try to unregister the image I get an error
> stating that the image is in use. I can't imagine where. I used the
> ISO file just once to install the guest Operating System. I checked
> all the settings of the virtual machine. It's definitely not in use
> anywhere. Could anybody help me to solve this?
>
> Here's some output of VBoxManage:
>
>
>
> $ VBoxManage list dvds
> VirtualBox Command Line Management Interface Version 2.0.6
> (C) 2005-2008 Sun Microsystems, Inc.
> All rights reserved.
>
> UUID: cd24b126-904a-47ba-956f-826a31a4e191
> Path:
/home/mo/en_windows_xp_professional_with_service_pack_3_x86_cd_x14-80428.iso
> Accessible: yes
>
> UUID: f009ca6c-e372-4721-bdde-4f7eaa1d7ba0
> Path: /usr/share/virtualbox/VBoxGuestAdditions.iso
> Accessible: yes
>
> $ VBoxManage unregisterimage dvd cd24b126-904a-47ba-956f-826a31a4e191
> VirtualBox Command Line Management Interface Version 2.0.6
> (C) 2005-2008 Sun Microsystems, Inc.
> All rights reserved.
>
> [!] FAILED calling virtualBox->UnregisterDVDImage(uuid,
> dvdImage.asOutParam()) at line 6759!
> [!] Primary RC = NS_ERROR_FAILURE (0x80004005) - Operation failed
> [!] Full error info present: true , basic error info present: true
> [!] Result Code = NS_ERROR_FAILURE (0x80004005) - Operation failed
> [!] Text = The CD/DVD image with the UUID
> {cd24b126-904a-47ba-956f-826a31a4e191} is currently in use
> [!] Component = VirtualBox, Interface: IVirtualBox,
> {557a07bc-e6ae-4520-a361-4a8493199137}
> [!] Callee = IVirtualBox, {557a07bc-e6ae-4520-a361-4a8493199137}
>
>
>
> Cheers
Hi, you can search in the file .VirtualBox/VirtualBox.xml and delete
the section DVDImages, eg:
<DVDImages>
<Image uuid="{cd24b126-904a-47ba-956f-826a31a4e191}"
location="/home/ISO/file.iso"/
</DVDImages>
and make the same in the file Machines/machine.xml
<DVDDrive passthrough="false">
<Image uuid="{cd24b126-904a-47ba-956f-826a31a4e191}"/>
</DVDDrive>
You can search the UUID by the commands:
grep 156f7991 .VirtualBox/*xml
grep -r 156f7991 .VirtualBox/Machines/*
Of course all th VM and VB should be stopped ;)
best regards,
Antonio
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkky+eAACgkQd/eBSx+n1Dpj3ACePHLuZxZX3kcuswmAfZHsXgNO
eNYAnRgg+WOjKdHXWMmwUbVaAeRFp2JQ
=9g2i
-----END PGP SIGNATURE-----
_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users