How to remove reference to old VBoxGuestAdditions.iso SOLVED
Posted: 26. May 2008, 23:02
I made a mistake somewhere whilst upgrading over the last year from VB 1.4 to 1.5 and now to 1.6.
I seem to have a permanent reference to an old VBoxAdditions.iso from VB1.4. VirtualBox always looks for /opt/VirtualBox-1.4.0/additions//VBoxGuestAdditions.iso. If the file is not there, VB refuses to accept the VM as valid, and will not start it.
I can't see a way to remove the reference. If I go into Virtual Machine Manager, it looks like I should be able to Remove that CD/DVD Image, except the remove option is grayed out. That property sheet shows the old iso linked to the first two of my three snapshots.
Any ideas on how to fix this? I have tried removing references to the old image in the xml config files, but that results in even worst errors. EDIT: see solution below.
If I discard the earlier snapshots will that solve the problem? EDIT: can't discard the snapshot with the link to older iso. See solution below
SOLUTION:
I edited ~.VirtualBox/Machines/Windows XP Home/Windows XP Home.xml.
I edited the DVDDrive section for the old snapshot changing it from this:
<DVDDrive passthrough="false">
<Image uuid="{82d79ffe-c50d-4946-35ae-56d6e2d74429}"/>
</DVDDrive>
so it looks like this:
<DVDDrive passthrough="false">
</DVDDrive>
I seem to have a permanent reference to an old VBoxAdditions.iso from VB1.4. VirtualBox always looks for /opt/VirtualBox-1.4.0/additions//VBoxGuestAdditions.iso. If the file is not there, VB refuses to accept the VM as valid, and will not start it.
I can't see a way to remove the reference. If I go into Virtual Machine Manager, it looks like I should be able to Remove that CD/DVD Image, except the remove option is grayed out. That property sheet shows the old iso linked to the first two of my three snapshots.
Any ideas on how to fix this? I have tried removing references to the old image in the xml config files, but that results in even worst errors. EDIT: see solution below.
If I discard the earlier snapshots will that solve the problem? EDIT: can't discard the snapshot with the link to older iso. See solution below
SOLUTION:
I edited ~.VirtualBox/Machines/Windows XP Home/Windows XP Home.xml.
I edited the DVDDrive section for the old snapshot changing it from this:
<DVDDrive passthrough="false">
<Image uuid="{82d79ffe-c50d-4946-35ae-56d6e2d74429}"/>
</DVDDrive>
so it looks like this:
<DVDDrive passthrough="false">
</DVDDrive>