Clone Hard Disk
C: \ Program Files \ oracle \ virtualbox> vboxmanage clonehd "F: \ virtualbox VMS \ ubuntu11.10 \ ubuntu11.10.vdi" "F: \ virtualbox VMS \ ubuntu11.10 _ 1 \ Bak. VDI"
// Wait a few minutes ......
0%... 10%... 20%... 30%... 40%... 50%... 60%... 70%... 80%... 90%... 100%
Clone hard disk created in format 'vdi '. UUID: 51baf187-38fe-40d2-acee-446f457a1275
C: \ Program Files \ oracle \ virtualbox>
Copy the content of the hard disk to the new virtual hard disk (to increase the size of the hard disk)
C: \ Program Files \ oracle \ virtualbox> vboxmanage clonehd "F: \ virtualbox VMS \ ubuntu. VDI" "F: \ virtualbox VMS \ Ubuntu \ ubuntu11.04.vdi" -- existing
// Wait a few minutes ......
0%... 10%... 20%... 30%... 40%... 50%... 60%... 70%... 80%... 90%... 100%
Clone hard disk created in format 'vdi '. UUID: 7a2e9421-d7cb-40ab-8882-fbf6e1dcaad9
C: \ Program Files \ oracle \ virtualbox>
// C: \ Program Files \ oracle \ virtualbox> virtualbox installation path
// Vboxmanage clonehd hard disk clone command
// The path of the original hard disk (. VDI format) is followed by the path of the new hard disk (. VDI format)
// -- Existing indicates that an existing hard disk is used to increase the size of the hard disk.