-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Sep 01, 2010 at 06:24:16PM +0200, mattias wrote:
> I have a vm in virtualbox now i have create it on windows
> But i paln to reinstall centos on the server
> So how to register the vm on the new centos?
> Must i have both the xml file and vdi file?
> Or are it 2 xml files?

Yes, you need guest_name.xml, and guest_name.vdi, where guest_name is
the name of the virtual machine. In order to register the machine, you
need to have all media detached from the ide/sata/fdd controllers,
else virtualbox will fail to register the machine in my
experience. Also, previous posts to this list seem to indicate that
you can't take an xml file from one host platform, and register it on
another (I.E. you won't be able to take the xml file created in
windows, and register it on a linux host). So, given all that, your
best bet is probably to create a new vm with the same config as the
original, and just attach your old vdi file to the new vm. If you do
want to try registering the original xml file, you need to create a
folder vm_name in your machines folder, and put the xml file in that
folder. Once you've done that, you can do

VBoxManage registervm machines\vm_name\vm_name.xml

On windows, the machines folder is in documents and
settings\user\.virtualbox. HTH.

Greg


- -- 
web site: http://www.romuald.net.eu.org
gpg public key: http://www.romuald.net.eu.org/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)

- --
Free domains: http://www.eu.org/ or mail [email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkx+rcEACgkQ7s9z/XlyUyBO+wCfSqEqgKv6IUPfLK3ApGvG0TFy
P/kAoMhGu+OZ40DbqJw6EEsf+c/YVhcb
=EMGx
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
VBox-users-community mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vbox-users-community

Reply via email to