O'Reilly logo

VirtualBox 3.1: Beginner's Guide by Alfonso V Romero

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

  1. 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):
    cd .VirtualBox
    cd HardDisks
    "C:\Program Files\Sun\VirtualBox\VBoxManage.exe" clonevdi "UbuntuVB.vdi" "UbuntuVBClone.vdi"
    
  2. Now just wait until VirtualBox finishes cloning your hard drive. The following screenshot shows all the disk cloning process:
    Time for action—cloning an Ubuntu Linux hard disk image
  3. Close the Command Prompt window. Then open VirtualBox, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required