VBoxManage clonehd "source.vmdk" "cloned.vdi" --format vdi
VBoxManage modifyhd "cloned.vdi" --resize 51200
VBoxManage clonehd "cloned.vdi" "resized.vmdk" --format vmdk
This is intended to be a resource mainly for myself... to keep notes on things I've worked on or figured out. This way I can easily look things back up after I have forgotten the details. This will also allow me to easily send pointers to others when I want to share what I've found.
Showing posts with label vmware. Show all posts
Showing posts with label vmware. Show all posts
Tuesday, December 23, 2014
Resize VirtualBox vmdk disk
(From http://stackoverflow.com/questions/11659005/how-to-resize-a-virtualbox-vmdk-file)
Migrate VMWare box to VirtualBox
(from http://ctors.net/2014/07/17/vmware_to_virtualbox)
The instructions below will guide you through the converting process.
VMWare
- Boot the VM
- Uninstall vmware tools
- Shutdown
- Edit VM settings -> remove the HD
- Edit the_machine.vmdk
- change ddb.adapterType from "buslogic" or "lsilogic" to "ide"
- Edit VM settings -> add an HD, type IDE from existing file the_machine.vmdk
- Boot the VM
- Shutdown
Now you can convert the box from VMWare to Open Virtualization Format.
$ ovftool -o the_machine.vmx the_machine.ovf
Opening VMX source: the_machine.vmx
Opening OVF target: the_machine.ovf
Writing OVF package: the_machine.ovf
Transfer Completed
Completed successfully
VirtualBox
The last step is to import the OFV in VirtualBox and install guest additions.
- File -> import appliance -> the_machine.ovf
- VM settings -> storage -> add attachment -> CD drive
- Boot the VM
- install guest additions from CD
Subscribe to:
Posts (Atom)