They offer different flash templates with latest features.
Login

Forgot password
Register
Back
Written by:
thermodynamics4
Score: 11
votes: 17
Format: Article

 How to Install VirtualBox and Usb support. On LMDE


This is a little help for those who want to know, how to install and sucessfully use the usb in Windows XP, Vista or Seven in VirtualBox. For Linux Mint Debian Edition.

I've tried with the 3 of them. In a laptop Lenovo T400 the data is in "my hardware" in my profile.

1.- Install VirtualBox from the Website (DO NOT INSTALL from the Repos)

Here: http://www.virtualbox.org/wiki/Linux_Downloads

Select Debian: Debian 6.0 ("Squeeze") i386. from the list.

Add the following line according to your distribution to your /etc/apt/sources.list:

deb http://download.virtualbox.org/virtualbox/debian squeeze non-free

How to do that:

Open a "Root Terminal" (The terminal is a little icon like a TV screen)
Open Mint Menu and under Accessories it's a "Terminal" and a "Root Terminal"

learn more With The 5-Minute Essential Shell Tutorial from justin.
Choose "Root Terminal" and a white screen with a message is going to pop up!

Inside the terminal you are going to type in what we need to install, VirtualBox.

First

sudo gedit /etc/apt/sources.list

It's going to open a text document and you are going to paste the line:

deb http://download.virtualbox.org/virtualbox/debian squeeze non-free

Save and quit.

That is going to add the sources from VirtualBox Non-free package.
Which means you'll have a different package from the one you see 
in the "Software Center".

After that we go back to the terminal because we have to download and install 
the Oracle Public Key, we just have to type:

wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -


Please Be carefull to copy/paste ALL the code and hit enter, 
you shoud see a message displaying an "OK"

To install VirtualBox, do:

sudo apt-get update

This Command it's going update your sources, 
remember we add the sources from VirtualBox? Well you'll have another "source"
Where you can download another version of VirtualBox.

Other Command to download the latest version 
from the sources that you already update:

sudo apt-get install virtualbox-4.1

This Command asks to install VirtualBox is going to show something like this:

 Click "y" and hit enter. If you receive a message saying that you need

to type an "install command" (don't remember which one)

just copy the command that is displayed, hit enter,

and type again the command given above.

After that:

Follow the steps from here.

If doesn't works:

Edit the file "fstab" follow steps from here.

 

Sorry if the tone of this tutorial is for dummies, but I am new in Linux and i'm trying to help

the ones that don't have a clue about computers.

Let a message if you have something to add to this tutorial, Remember that this tutorials is to help the community and Linux to evolve; this could lead to faster development by identifying faster what is not well seen or done. Peace!! 


Tags: Virtual Box usb support windows xp vista 7 installation LMDE
Created: 3 years ago.
Last edited: 2 years ago.
Read 4588 times.

Comments
2 years ago

PerfMonk
I just tried the recipie (dec 11, 2011) and I after doing "sudo apt-get install virtualbox-4.1", I get a message telling virtualbox-4.1 is not available but it exist in the database. It usually means that the package is missing/obsolete/or available from another source (sorry for accuracy of the text but it's translated from french).

I'm no expert with apt, does it means that I have to retry later, may be I caught the package in the middle of an update of the source ?

Regard,

Bernard

Exact message is here:
-------------------------
bernard@sig-m164911x ~ $ sudo apt-get install virtualbox-4.1
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Aucune version du paquet virtualbox-4.1 n'est disponible, mais il existe dans la base
de données. Cela signifie en général que le paquet est manquant, qu'il est devenu obsolète
ou qu'il n'est disponible que sur une autre source

E: Le paquet « virtualbox-4.1 » n'a pas de version susceptible d'être installée
 
2 years ago

thermodynamics4
Sorry this tutorial it's a little old, I'm going to change the numbers to the right version. Thanks for the update!  
2 years ago

m_holmes
As biggocharley, pointed out the new version is 4.x. I believe for virtualbox-4.x they have moved the public key to:

http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc

Please correct me if I'm wrong.

 
3 years ago

biggocharley
I think you mean sudo apt-get install virtualbox 4.0 instead of sudo apt-get install virtualbox-3.2.
Thank you for this tutorial --I think it may help me with some problems I have been having with VB on LMDE. I installed the ubuntu lucid package earlier and I found it to be slow --seems to be using more memory than it should
 
3 years ago

craigevil
Or you can use svmi. http://smxi.org/site/about.htm#svmi
sudo svmi
Pick Option 1 virtualbox-options
Then 3) install-vbox-non-ose-squeeze
Then 5) build-vbox-module-non-ose
quit
And you are good to go.
 
3 years ago

remoulder
If this tutorial is aimed at LMDE you should state that in the title or at the beginning as otherwise it is incorrect to advise users to install the debian versions on ubuntu based versions of Mint.  

Other tutorials from thermodynamics4