Virtual box: Difference between revisions

From Federal Burro of Information
Jump to navigationJump to search
(Created page with "resizing a disk under windows: <pre> "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" clonehd "C:\data\VirtualBox VMs\hardened\hardened.vmdk" "C:\data\VirtualBox VMs\har...")
 
No edit summary
 
Line 4: Line 4:
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" clonehd  "C:\data\VirtualBox VMs\hardened\hardened.vmdk"  "C:\data\VirtualBox VMs\hardened\cloned.vdi"  --format vdi
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" clonehd  "C:\data\VirtualBox VMs\hardened\hardened.vmdk"  "C:\data\VirtualBox VMs\hardened\cloned.vdi"  --format vdi
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" modifyhd "C:\data\VirtualBox VMs\hardened\cloned.vdi" --resize 10000
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" modifyhd "C:\data\VirtualBox VMs\hardened\cloned.vdi" --resize 10000
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" clonehd  "C:\data\VirtualBox VMs\hardened\cloned.vdi" "C:\data\VirtualBox VMs\hardened\hardened2.vmdk" --format -vmdk
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" clonehd  "C:\data\VirtualBox VMs\hardened\cloned.vdi" "C:\data\VirtualBox VMs\hardened\hardened2.vmdk" --format vmdk
move "C:\data\VirtualBox VMs\hardened\hardened2.vmdk" "C:\data\VirtualBox VMs\hardened\hardened.vmdk"
del "C:\data\VirtualBox VMs\hardened\cloned.vdi"
</pre>
</pre>

Latest revision as of 18:40, 12 February 2016

resizing a disk under windows:

"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" clonehd  "C:\data\VirtualBox VMs\hardened\hardened.vmdk"  "C:\data\VirtualBox VMs\hardened\cloned.vdi"  --format vdi
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" modifyhd "C:\data\VirtualBox VMs\hardened\cloned.vdi" --resize 10000
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" clonehd  "C:\data\VirtualBox VMs\hardened\cloned.vdi" "C:\data\VirtualBox VMs\hardened\hardened2.vmdk" --format vmdk
move "C:\data\VirtualBox VMs\hardened\hardened2.vmdk" "C:\data\VirtualBox VMs\hardened\hardened.vmdk"
del "C:\data\VirtualBox VMs\hardened\cloned.vdi"