If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
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...
January 27th, 2007 at 4:11 pm
Your precedure lacks some information, as my installation fails and I am somewhat a t a loss here. I use sid and a generic kernel. I installed
the kernel module under /usr/src/modules/vbox. I copied vboxdrv.ko module to /lib/modules/2.6.19.2M2K8/misc/vboxdrv.ko
I run depmod -ae. It appears that this did not take as the module does not show up upon reboot.
But here is the message I get when I install the .deb package:
Setting up virtualbox (1.3.2-17408_Debian_etch) …
Creating group ‘vboxusers’. VM users must be member of that group!
Starting VirtualBox kernel moduleFATAL: Error inserting vboxdrv (/lib/modules/2.6.19.2M2K8/misc/vboxdrv.ko): Invalid argument
(modprobe vboxdrv failed)…fail!
invoke-rc.d: initscript virtualbox, action “start” failed.
dpkg: error processing virtualbox (–configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
virtualbox
E: Sub-process /usr/bin/dpkg returned an error code (1)
any suggestions?
January 27th, 2007 at 6:30 pm
here is the solution for this
Debian packages: If the installation of the VirtualBox_*.deb package was not successful because the compilation of the kernel module fails, it might not be possible to remove the package nor to install other packages as the pre-remove (prerm) script of the package (which is executed prior to package removing or upgrading) aborts with an error “(Kernel module not found)…fail!”. In that case do the following:
Edit /etc/init.d/virtualbox and change line 129 from ‘exit 1′ to ‘exit 0′
Reinstall the virtualbox package by ‘dpkg -i ‘. An installation failure of this package is expected.
Edit /var/lib/dpkg/info/virtualbox.postinst and change line 39 from ‘exit 1′ to ‘exit 0′
Execute ‘
dpkg --configure --pending‘The package should now be installed successfully. However, the kernel module is still not compiled. Before you will be able to execute VirtualBox you have to create a kernel module for your current kernel, as described in the User Manual(check the link provided at the end of the article)
January 27th, 2007 at 7:08 pm
This is more of a question. Can any Linux variant be installed and accessed from windows while windows is running without creating a unix partition and installing some variant of it. It might be a simulator or something like that. The reason why I ask is I thought this was it and a friend mentioned something like that some years back which he claimed he was using.
Any help and links to pages on learning shellscripts would be appreciated.
Thanks
January 29th, 2007 at 6:52 am
@Eugene:
Seems there’s a project on installing ubuntu in Windows. You might want to start from this link: http://www.ubuntuforums.org/showthread.php?t=338279
Hope it helps.
Trung Kien.
April 19th, 2007 at 6:26 pm
Buenas, sabe alguien como habilitar el virtualbox para que lo puedan usar los usuarios?
April 20th, 2007 at 12:51 pm
I installed 1.3.8_Debian_Etch_x86.deb on debian lenny but removed and purged every file I can…
Sound is gone now. I did every thing possible to recover sound without any success.
April 20th, 2007 at 4:27 pm
Hi again! I am back to tell you that Virtualbox had just remove every host user from the audio group so I won’t have to print my crown for today !
By the way… it removed every user from every group !