LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Share Virtual Machines between Linux and Windows (http://www.linuxquestions.org/questions/linux-software-2/share-virtual-machines-between-linux-and-windows-4175448667/)

fakie_flip 02-05-2013 05:05 AM

Share Virtual Machines between Linux and Windows
 
1 Attachment(s)
I created these Virtual Machines (in screenshot) under Windows 8 on a spare drive that both Linux and Windows (dual boot) can access. After using one of the VMs from Linux (created it in Windows), I can no longer use it under Windows. I get the error (shown in screenshot also):

Quote:

Machine UUID {da9b7479-92e7-46bb-b587-4c51765af741} in 'G:\VirtualBox VMs\BackTrack 5R3\BackTrack 5R3.vbox' doesn't match its UUID {031c9ff2-5fb0-4c00-8667-ee15e0a14264} in the registry file 'C:\Users\Tux/.VirtualBox\VirtualBox.xml'. Result Code:
E_FAIL (0x80004005)
Component:
Machine
Interface:
IMachine {22781af3-1c96-4126-9edf-67a020e0e858}

acid_kewpie 02-05-2013 10:36 AM

There is some useful tips about manipulating disk uuid's here: https://forums.virtualbox.org/viewtopic.php?p=33678 I'd guess that the unrgister / register command is probably the best as it's easier to script:

Code:

VBoxManage modifyvm vmachine -hda none
VBoxManage unregisterimage disk /mnt/drive1/vbox/image.vdi
VBoxManage modifyvm vmachine -hda /mnt/drive1/vbox/image.vdi
VBoxManage startvm vmachine


jefro 02-05-2013 02:39 PM

I can't see how the drive uuid would change. I use vm's and move them all the time. I could see making it under one OS and then fails on another but not in the way you suggest.

When you imported the vm to linux, did it ask if this was a move or copy or some such question.

As acid_kewpie suggests, making it generic may fix it.


All times are GMT -5. The time now is 11:32 AM.