#696643 virtualbox-qt: inaccurate error message when fiddling with VDI files

#696643#5
Date:
2012-12-24 19:40:49 UTC
From:
To:
Hi folks,

I'm usually using virtualbox to perform my d-i tests, with mini.iso most
of the time. This works fine, and stopping/starting the VM is sufficient
to get the new mini.iso taken into account.

I've recently needed to use a hard disk image instead, so I've used the
following command to generate a VDI file from the mini.iso image:
  VBoxManage convertfromraw dest/netboot/gtk/mini.iso dest/netboot/gtk/mini.vdi

After a rebuild, I ran it again (removing the old one since VBoxManage
complained about its existing already), and virtualbox was unhappy; I'm
copying-pasting manually since the dialog doesn't allow for text
selection…
| VirtualBox - Error
|
| Failed to open a session for the virtual machine <b>wheezy-test</b>
|
| UUID <i>{foo}</i> of the medium <b>'…/dest/netboot/gtk/mini.vdi'</b>
| does not match the value <i>{bar}</i> stored in the media registry
| (<b>'/home/kibi/.VirtualBox/VirtualBox.xml'</b>).

That's not true; my VMs are stored in ~/vms, and the media registry
appears to be VM-specific, with the {bar} value being stored in:
  ~/vms/wheezy-test/wheezy-test.vbox

under this path:
  Virtualbox/Machine/MediaRegistry/HardDisks/HardDisk

Mraw,
KiBi.

#696643#10
Date:
2012-12-25 16:03:45 UTC
From:
To:
Cyril Brulebois <kibi@debian.org> (24/12/2012):

Mraw,
KiBi.