How to Register Copied Machines and Hard Drives?

Discussions related to using VirtualBox on Windows hosts.
Post Reply
pistolpete_1980
Posts: 9
Joined: 6. Jul 2009, 04:54
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Windows Xp

How to Register Copied Machines and Hard Drives?

Post by pistolpete_1980 »

I copied the machines Directory and the hard drives directory to another computer that has virtual box instal, however when i open virtual box it doesnt recognize these machines.
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: How to Register Copied Machines and Hard Drives?

Post by vbox4me2 »

Re-create the VM(settings), then use the Menu's of VBox GUI and select the virtual disk manager, there you can register the VDI's before attaching them.
ltorrent
Posts: 11
Joined: 6. Jul 2009, 14:25
Primary OS: MS Windows XP
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Fedora, Windows XP, Windows Vista, Windows 2000, Windows Me, DOS and so on

Re: How to Register Copied Machines and Hard Drives?

Post by ltorrent »

Try open file %userprofile%\.VirtualBox\VirtualBox.xml on computer where VM copied from, find the entry

<MachineRegistry>
...
<MachineEntry uuid="{...}" src="..."/>
...
</MachineRegistry>

copy the whole line corresponds to copied VM to the file VirtualBox.xml on computer you have copied VM to.the corresponded place. Edit src="..." string to make sure it link to valid VM configuration file.

Repeat the save things with Virtual Hard Disk and Virtual DVD-ROM entry.

I know, what I saying it is not recommended, but 100% you will find the VM on new computer. But it's not 100% it'll work, probably u'll have to edit VM's .xml file too.

And VM may not boot up if destination computer have much different configuration.

On fact edition VirtualBox .xml files is not difficult, but not recommended, I dunno why.
Post Reply