开发者

Virtualbox - how to move virtual machine to another PC [closed]

开发者 https://www.devze.com 2023-01-27 06:37 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.

Closed 9 years ago.

Improve this question

Can't m开发者_开发百科ove virtual machine to another PC, have copied turnkey-core-2009.10-2-hardy-x86.vmdk to folder .VirtualBox -> HardDisks.

Created new machine, pointed to copied file.

Started created machine and it drops this error after a while(5 mins)

http://img547.imageshack.us/img547/8650/box0.jpg

As i understand, there is some difference in uniq ids, but how to handle it?

Thanks ;)


Go to File->Export Appliance and export the virtual machine, that will create .ovf and .vmdk files you can then import on another machine.


I had similar problem yesterday (but not the same).

It is not a vBox problem, it is that when you created new machine with VBox, and copied the disk using VBox you have changed the UUID of the disk.

And in you system (whatever it is), you have your old UUID in /etc/fstab. You have to boot this new machine from a rescue CD (maybe ubuntu, or dsl. Anything that supports the filesysytem you have on that vritual disk). Then check UUID of your disk using blkid command as root. And put this new UUID in fstab, in an entry that specified the boot disk. Maybe you are also using UUID in some other place, that you have to change too.

Another solution is: try to COPY all the virtual disks for this VM and the virtualmachine definition files in your host system, using any copy mechanism you have, but not the VirtualBox Clone or export. And open this machine on new PC (but it will only work on another PC, not on the same). If that does not work, then I do not know.

Additional question: did you try cloning the VM to the same PC. Clone the disk using VirtualBox clone, then create new machine, and update the /etc/fstab?

Hint: in VirtualMachines you can switch from UUID entries in fstab to old /dev/sda entries.

Another idea: If you are using LargeVolumeManager then you have setup that too. And I do not know how to do it, because I am not using LVM.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号