RSSAll Entries in the "Virtual box" Category

Clone guest operating system (VDI) disk VirtualBox

This tutorial will show you how to clone guest operating system (VDI) under VirtualBox.
I started using VirtualBox before time and now I am running all virtual machines on it. VMWare workstation configuration is rather easy, but I am happy with VirtualBox performance.

Anyway, when I first tried to clone host machine created in Virtualbox, I tried the lame method, just to copy and paste the VDI file. Certainly I received an error saying that the UUID conflicts with the image. VisrtualBox is using XML files to store such data, but do not edit the VirtualBox configuration files manually – the files are cross-connected and making changes manually will take you a lot of time and still errors may occur. The best option is to use the VirtualBox commands instead.

VBoxManage has command line utility called clonevdiâ„¢ can clone and register the disk image.
To perform this command you must go to Start -> Run and there type cmd.
Then change to the directory where are the guest OS hard drives (usually C:\Documents and Settings\%user%\VirtualBox\HardDisks).

To run the \"clonevdi\"â„¢ tool you must execute it from its location. In my case bellow I am cloning Windows 7 virtual machine.
Here is the command I am using:

Take a look at my command and make changes as per your configuration. Do not forget to use quotes especially in case you have spaces within the names of your files and folders. Otherwise the VirtualBox clone command will not work.
Once executed it takes some time depending on the size of the cloned guest OS. The output looks like this:

Do not forget to create new virtual machine in VirtualBox and during the creation to add the cloned drive instead of a new one.

Tags

VirtualBox Settings for a new OS installation

This tutorial will go trough the Sun Virtual Box Settings for a new OS installation which continues from Create a virtual machine with Sun Virtual Box where we finished with the steps of creating the parameters for the virtual box.
Now you should be at the Virtual Media Manager where you can boot your new machine, but before that you will need to install the new OS as on a real computer. You can do that either using CD/DVD ROM or ISO.

In my case I’ll use Debian installation ISO and I’ll add it manually to the virtual box as a device. The method will be the same if you are using regular CD/DVD device.

To edit the settings select your virtual machine and click ‘Settings’:

Adding hard disk storage to Virtual Box

This tutorial will continue with adding hard disk storage to virtual box which is a part of Create a virtual machine with Sun Virtual Box tutorials.

In the previews tutorial we were setting up the memory for the virtual machine, here you can select the type of the virtual hard disk you want to create. There are two options:

Dynamically expanding storage ‘“ initially occupies a very small amount of space on your physical hard disk. It will grow dynamically (up to the size specified) as the Gyest OS claims disk space.

Fixed size storage ‘“ this one does not grow. It is stored in a file or approximately the same size as the size of the virtual disk. The creation of fixed-size storage may take a long time depending on the storage size and the write performance of your hard disk.

Create a virtual machine with Sun Virtual Box

This tutorial will illustrate how to create a virtual machine with Sun Virtual Box.
VirtualBox is a powerful x86 and AMD64/Intel64 virtualization product for enterprise as well as home use. You can use this tutorial as a review, for example if you want to compare VMWare virtual box and Sun’s one.

If you do not have it yet, click here to download Virtual Box.

Tags