Time for action—cloning an Ubuntu Linux hard disk image
In this exercise, I'll show you how to clone a VirtualBox hard disk using Ubuntu Linux as the guest operating system and Windows XP as the host.
- Open a Command Prompt window (Start | All Programs | Accessories | Command Prompt), and type the following lines (don't forget to press Enter after each line):
"C:\Program Files\Sun\VirtualBox\VBoxManage.exe" clonevdi "UbuntuVB.vdi" "UbuntuVBClone.vdi"
- Now just wait until VirtualBox finishes cloning your hard drive. The following screenshot shows all the disk cloning process:
- Close the Command Prompt window. Then open VirtualBox, ...