Login  Register

Re: Migrating VM from one oda box to other

Posted by Ekamjot on Nov 09, 2015; 9:28am
URL: http://erman-arslan-s-oracle-forum.124.s1.nabble.com/Migrating-VM-from-one-oda-box-to-other-tp439p442.html

These are the steps:

 Change the directory at which the repository is mounted, e.g.:
# cd /to/path/to/repo

3. Create the raw format .img disk image, e.g. initiating 4 GB Virtual Disk:
# dd if=/dev/zero of=newdisk.img bs=1M count=4096

The above img file will be new file without any data. How will it get data from the vdisk copied from the older box.

4. Then add new disk image to disk = [ ] section of vm.cfg file of a Virtual Machine. Format:
disk = [ 'file:/mnt/el4u5_64_hvm//system.img,hda,w' ]