- Debian Admin - http://www.debianadmin.com -

Create virtual Machines Using Virtualbox in Debian

Posted By Admin On 25th January 2007 @ 08:28 In General | 7 Comments

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

VirtualBox is a general-purpose full virtualizer for x86 hardware. Targeted at server, desktop and embedded use, it is now the only professional-quality virtualization solution that is also Open Source Software.

Install Virtualbox in Debian Etch

If you want to install Virtualbox in Debian Etch you need to download the latest .deb package from here.

Preparing Your system

First you need to install the following packages

apt-get install libqt3-mt libxalan110 libxerces27

wget http://www.virtualbox.org/download/1.3.2/VirtualBox_1.3.2_Debian_Etch_x86.deb

Once you download the package you have VirtualBox_1.3.2_Debian_Etch_x86.deb file

Install.deb file using the following command

dpkg -i VirtualBox_1.3.2_Debian_Etch_x86.deb

At the time of installation if you have any dependency problems like the following errors

Selecting previously deselected package virtualbox.
(Reading database … 174459 files and directories currently installed.)
Unpacking virtualbox (from VirtualBox_1.3.2_Debian_Etch_x86.deb) …
dpkg: dependency problems prevent configuration of virtualbox:
virtualbox depends on libqt3-mt (>= 3:3.3.7); however:
Package libqt3-mt is not installed.
virtualbox depends on libxalan110; however:
Package libxalan110 is not installed.
virtualbox depends on libxerces27; however:
Package libxerces27 is not installed.
dpkg: error processing virtualbox (–install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
virtualbox

If you see the above error message you can use the following command to install all the required dependencies

sudo apt-get -f install

This will complete the installation

Starting the VirtualBox Graphical User Interface

If you want to start Virtualbox GUI use the following command from your terminal(Applications—>Accessories—>Termianl)

VirtualBox

Once it opens you should see the following screen

VirtualBox Version Details

Creating a Virtual machine

If you want to create a Virtual machine you need to click on “New” button in the user interface will guide you through the new virtual machine

Now the following wizard will appear click next

In the next screen You needs to select VMname and OS Type and click next

Now you need to select the memory for your VM

Here you need to select the Virtual hard disk details and click next

Summary of your Virtual Machine and click finish

This is virtualbox installation in Debian Etch and also explains how to create a new virtual machine now you can install whatever OS you want to test.If you want more information on virtualbox check User Manual

If you want to use GPLed version of VirtualBox (i.e. the version that will eventually make it into distro repos), you need to check out the code from svn with this command

svn co http://virtualbox.org/svn/vbox/trunk vbox

and build the binary via the instructions available from here

You may also be interested in...


Article printed from Debian Admin: http://www.debianadmin.com

URL to article: http://www.debianadmin.com/create-virtual-machines-using-virtualbox-in-debian.html

Click here to print.