Book Image

VirtualBox 3.1: Beginner's Guide

By : Alfonso Vidal Romero, Alfonso Vidal Romero Elizondo
Book Image

VirtualBox 3.1: Beginner's Guide

By: Alfonso Vidal Romero, Alfonso Vidal Romero Elizondo

Overview of this book

The furore around virtualization is taking the technology world by storm and is a must for efficient utilization of network server capacity, storage administration, energy, and capital. VirtualBox is free and this brings down your upfront costs for an agile data center. VirtualBox will transform your IT infrastructure into a lean Data Center on a Windows XP/7 or Ubuntu Linux platform. Although VirtualBox has grown by leaps and bounds, there is not enough documentation to guide you through its features and implementation.This hands-on guide gives you a thorough introduction to this award-winning virtualization product. It will help you to implement the right virtual environment for you. Additionally, this book will help you set up an environment that will work for your system. You will learn to architect and deploy your first virtual machine without being overwhelmed by technical details.This practical book unveils the robust capabilities and easy-to-use graphical interface of VirtualBox to help you to effectively administer and use virtual machines in a home/office environment. You begin by creating your first virtual machine on a Windows/Linux guest operating system and installing guest additions. The book then goes on to discuss the various formats that VirtualBox supports and how it interacts with other formats. The comprehensive instructions will help you to work with all the networking modes offered by VirtualBox. Virtual appliances will be explained in detail—how they help to reduce installation time for virtual machines and run them from VirtualBox.By the end of this book you will be able to run your own headless VirtualBox server, to create, manage, and run virtual machines in that server from a remote PC.
Table of Contents (16 chapters)
VirtualBox 3.1: Beginner's Guide
Credits
About the Author
About the Reviewer
Preface
Index

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:

  3. Close the Command Prompt window. Then open VirtualBox, and select File | Virtual Media Manager to open the Virtual Media Manager.

  4. Click on the Add button, or press the Insert key to open the Select a hard disk image file dialog, select the UbuntuVBClone.vdi disk image you created before, and click on Open to continue.

  5. The UbuntuVBClone.vdi disk image file will be added to the Virtual Media Manager...