VirtualBox 2.1.0 on Debian Lenny mini-HOWTO

VirtualBox is an x86 virtualization software package, originally created by German software company innotek, now developed by Sun Microsystems as part of its Sun xVM virtualization platform. This mini-HOWTO will guide you though VirtualBox 2.1.0 installation on Debian Lenny/sid.

As Sun Microsystem already release Virtual 2.1.2 with number of bug fixes, please refer to my upgrade procedure for more information.

Prepare your Debian Lenny

For sure that you should have your Debian box install with Lenny (if you have any question, please refer to my simple Debian Lenny installation guideline). Moreover, you should have a complete X desktop installed, e.g.

tasksel --new-install

Choose the "Desktop environment" and "manual package selection". Check if any package missed, and get the GNOME install.

Install VirtualBox 2.1.0

VirtualBox provide some official guideline for Debian-based Linux installation. I will just mention some critical points.

Prepare your /etc/apt/sources.list and add the following line:

Import the PGP key with:

Finally, install your VirtualBox 2.1.0:

apt-get update
apt-get install virtualbox-2.1

Start your VirtualBox within X

Up to now your VirtualBox should install correctly. You can start its GUI with the following command within your GNOME:

VirtualBox

The license agreement page will prompt up, and you are asked to provide your contact email, too. After that, VirtualBox's main GUI is out:

vbox-001.pngvbox-001.pngvbox-002.pngvbox-002.pngvbox-003.pngvbox-003.png

Create your first VirtualBox client

Press the "New" button to start the virtual client installation wizard:

vbox-004.pngvbox-004.png

You will be asked for the name of client, its OS type, and size of memory:

vbox-005.pngvbox-005.pngvbox-006.pngvbox-006.png

For harddisk that is a bit tricky. We should press the "New" button, follow the instructions, create the new virtual harddisk, and use it for our new virtual client:

vbox-007.pngvbox-007.pngvbox-008.pngvbox-008.pngvbox-009.pngvbox-009.pngvbox-010.pngvbox-010.pngvbox-011.pngvbox-011.pngvbox-012.pngvbox-012.png

Confirm all basic setup and press "Finish":

vbox-013.pngvbox-013.pngvbox-014.pngvbox-014.png

Can we start now? Hmm... Not really yet, we should give some tweak before install the new guest OS:

vbox-015.pngvbox-015.pngvbox-016.pngvbox-016.pngvbox-017.pngvbox-017.pngvbox-018.pngvbox-018.pngvbox-019.pngvbox-019.pngvbox-020.pngvbox-020.pngvbox-021.pngvbox-021.pngvbox-022.pngvbox-022.pngvbox-023.pngvbox-023.pngvbox-024.pngvbox-024.png

So finally... You can start the guest now and install OS for it :D

vbox-025.pngvbox-025.png

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <h1> <h2> <h3> <h4> <h5> <h6> <em> <strong> <code> <del> <blockquote> <q> <sub> <p> <br> <ul> <ol> <li> <dl> <dt> <dd> <a> <b> <u> <i> <sup> <acronym> <pre> <img>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Images can be added to this post.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.