actual uuid of hard disk image does not match uuid stored in registry.
Does anyone know how I might change this?
actual uuid of hard disk image does not match uuid stored in registry.
Code: Select all
myron@ubuntu:~$ ls -ir /mnt/sdb1
13504 Myron.vdi
myron@ubuntu:~$ ls -IR /mnt/sdb1
Myron.vdi
myron@ubuntu:~$ ls -IR /home/myron
Code: Select all
ls -lRCode: Select all
-rwxrwxrwx 1 sasquatch sasquatch 452 2008-06-28 12:06 New Text Document.txtCode: Select all
myron@ubuntu:~$ ls -l /mnt/sdb1
total 10647432
-rwxrwxrwx 1 root root 10949291008 2008-08-18 11:24 Myron.vdi
So are you saying that you have a rawvmdk mapping /mnt/sdb5 that you are also trying to mount? This will fail for a user account unless you have access to the device. Clearly root does. Devices are typically owned by the group disk so adding your account to this group will achieve what you need, but this is a dangerous weapon: any process you run can write to and corrupt any of your file systems. As the manual says: using raw partitions is an advanced topic.The same hard drive had another partition, which I mounted to /mnt/sdb5. This partition had all of my storage files from my old windows xp native system. I left this intact and created a file share partition (one that both linux and my VM could access.)
Code: Select all
VM cannot start because the hard disk '/mnt/sdb1/Myron.vdi' is not accessible (Actual UUID {95cbd806-afa0-4db1-c3a7-9e2aab9cc05a} of the hard disk image '/mnt/sdb1/Myron.vdi' doesn't match UUID {45f64a35-9bb7-49b5-37af-6ac44a2c49f0} stored in the registry).
Result Code:
0x80004005
Component:
Console
Interface:
IConsole {d5a1cbda-f5d7-4824-9afe-d640c94c7dcf}
Code: Select all
<DiskRegistry>
<HardDisks>
...
<HardDisk uuid="{45f64a35-9bb7-49b5-37af-6ac44a2c49f0}" type="normal">
<VirtualDiskImage filePath="/mnt/sdb1/Myron.vdi"/>
</HardDisk>
...
</HardDisks>
...
</DiskRegistry>
*(whooosh) - that flew right over my head.In this case you need to unregister the root VM and VDI (make sure you don't delete it!). You need to sudo chown all the file back to you own UID:GID ownership. You need to (temporarily) remove the VDI from you home user VM; unregister the VDI; register it; and add it back to the VM. This "bounce" will reset the UUIDs correctly.
Code: Select all
sudo chown -r myusername /mnt/sdb1 && chown -r myusername /mnt/sdb1/XP.vdiCode: Select all
sudo chown -R myusername:myusergroup /mnt/sb1/myusername