I tried to move my activated windows 7 Virtualbox VM without loosing my activation between opensuse 12.1 to a brandnew opensuse12.2 installation. The version of Virtualbox has changed too, to 4.2.4. The old vdi-file was mounted on
This is important: So the *.vbox-file includes the correct pathes
mount /dev/sda1 /suse12.1 mount /dev/sda5 /winvdi
cp /winvdi/win7.vdi /vdiThe harddisk should be busy for a time (on my ssd's it takes 50 seconds for 10 GB). Check the owner!
cp -r /suse12.1/[myhome]/VirtualBox VMs/win7 [myhome]/VirtualBox VMs/
cd [myhome]/.VirtualBox cp VirtualBox.xml VirtualBox.xml.saved
cp /suse12.1/[myhome]/.VirtualBox/VirtualBox.xml ./