Tested with Fedora 15 + Oracle Virtual Box + Win2008 Vm
Simple copy through UUID error. You can't open/create new VM's
Following steps help me to clone VM.
1) Shut-down Original VM.
2) Find your orginal vdi location.
like mine :- [root@ramank win2008]# pwd
/home/ramank/VirtualBox VMs/win2008
3) Run following command to Clone VDI.
[root@ramank win2008]# vboxmanage clonehd win2008.vdi win2008_r2.vdi
this takes few accordig to VM size.
4) Now create 2nd VM, & make sure choose new VDI location.
Ref:- http://www.virtualbox.org/manual/ch08.html#vboxmanage-clonevm
Work like charm.
Enjoy
Simple copy through UUID error. You can't open/create new VM's
Following steps help me to clone VM.
1) Shut-down Original VM.
2) Find your orginal vdi location.
like mine :- [root@ramank win2008]# pwd
/home/ramank/VirtualBox VMs/win2008
3) Run following command to Clone VDI.
[root@ramank win2008]# vboxmanage clonehd win2008.vdi win2008_r2.vdi
this takes few accordig to VM size.
4) Now create 2nd VM, & make sure choose new VDI location.
VBoxManage clonehd|
[--format VDI|VMDK|VHD|RAW|]
[--variant Standard,Fixed,Split2G,Stream,ESX]
[--existing]
The disk image to clone as well as the target image must be described either by its UUIDs (if the mediums are registered) or by its filename. Registered images can be listed by
VBoxManage list hdds (see the section called “VBoxManage list” for more information). A filename must be specified as valid path, either as an absolute path or as a relative path starting from the current directory.The following options are available:
- format
- Allow to choose a file format for the output file different from the file format of the input file.
- variant
- Allow to choose a file format variant for the output file. It is a comma-separated list of variant flags. Not all combinations are supported, and specifying inconsistent flags will result in an error message.
- existing
- Perform the clone operation to an already existing destination medium. Only the portion of the source medium which fits into the destination medium is copied. This means if the destination medium is smaller than the source only a part of it is copied, and if the destination medium is larger than the source the remaining part of the destination medium is unchanged.
Note
For compatibility with earlier versions of VirtualBox, the "clonevdi" command is also supported and mapped internally to the "clonehd" command.
Ref:- http://www.virtualbox.org/manual/ch08.html#vboxmanage-clonevm
Work like charm.
Enjoy
0 comments:
Post a Comment