Intstalling Virtualbox in Trisquel 6 Howto (solved, if you need it)

12 respuestas [Último envío]
Chris

I am a member!

Desconectado/a
se unió: 04/23/2011

I posted to the wiki the directions:

https://trisquel.info/en/wiki/installing-virtualbox

Also here they are:

Note: this applies for at least Trisquel 6.

Trisquel Menu > Accessories > Terminal

Copy and paste each one of these lines into the terminal one at a time and hit enter at the end of each pasted line:

sudo apt-get update
sudo apt-get remove virtualbox virtualbox-ose --purge
sudo apt-get install linux-headers-`uname -r`
sudo apt-get install virtualbox-ose
sudo adduser $USER vboxusers

After you have run these lines in terminal log out and log back in.

Feel free to post below why you dislike Virtual Box and directions on alternative applications.

alucardx
Desconectado/a
se unió: 02/29/2012

I just ran through these steps and everything is now working in the latest 3.5 kernel that is in the trisquel repos. If you remember I was having a few graphical glitches under the 3.2 kernel so moving to 3.5 and having the ability to use virutalbox is great.

Thanks for posting this Chris!

Chris

I am a member!

Desconectado/a
se unió: 04/23/2011

I'm glad to hear that it's been useful for somebody. I can't take credit for figuring this out and the credit goes to an anonymous individual. I was only partly involved in this little solution.

Basically what is happening is the VirtualBox kernel module which is required to run VirtualBox is not installed or in the repository. The kernel module has to match the kernel that is installed. When jxself (Jason) or Rubén compiled the kernel they didn't compile this module and include it.

Now when VirtualBox is installed it is capable of compiling the kernel module provided the headers are installed. However these are not installed by default so VirtualBox doesn't succeed at doing this and when the user goes to run VirtualBox it fails.

The solution is to simply install the headers before installing VirtualBox.

icarolongo
Desconectado/a
se unió: 03/26/2011

Unfortunately it doesn't works with Linux-libre 3.4 LTS from FSFLA repository maintained by jxself.

Can help me?

icarolongo
Desconectado/a
se unió: 03/26/2011

With Linux-libre 3.4.47 LTS I have this error.

Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing

'/etc/init.d/vboxdrv setup'

as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.

Anyone can help me?

lembas
Desconectado/a
se unió: 05/13/2010

Did you try doing what it suggests?

Chris

I am a member!

Desconectado/a
se unió: 04/23/2011

It is probably because Jason didn't include the kernel headers. Try upgrading the kernel and then it should work.

lloydsmart

I am a member!

Desconectado/a
se unió: 12/22/2012

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

I followed the instructions on the wiki page linked here, but I'm still having problems installing virtualbox-ose on Trisquel 6.0. I'm using a nonstandard kernel from the fsfla repository - currently 3.9.4-gnu. When I try to install, I get:

http://pastebin.com/b34YU2gA

And when I look at the /var/lib/dkms/virtualbox/4.1.12/build/make.log file, I see this:

http://pastebin.com/f07kxDfW

Any help solving this would be appreciated.

How free are the official debs from Oracle? I'm tempted to try them out, but wanted to check whether they are completely free before I install them on my Trisquel system.

Thanks.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iF4EAREIAAYFAlGx4SwACgkQgijxUCZnvlvLfQEAl9g6zU3ywgZkmSWT6GnC4Uxs
LnOnkqEmYKpG51Z2BGMBAIbESmapizlwQjRR2BX6jpgFbiMb666AtdaRVpuKFJp7
=YmRg
-----END PGP SIGNATURE-----

lloydsmart

I am a member!

Desconectado/a
se unió: 12/22/2012

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

[BUMP]

Anyone?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iF4EAREIAAYFAlGy+fQACgkQgijxUCZnvlsS4QD/VsKCXM6zYA8ApnNxxrBymi+A
w1rH/1RY1PLUVxV6RwsBAI/tWxlI/+fePKMy/pg2A1QyNCuyePjWur90FUtOw7dw
=YDwV
-----END PGP SIGNATURE-----

lembas
Desconectado/a
se unió: 05/13/2010

I would guess a new kernel version causes a mismatch between your kernel and the virtualbox kernel module.

So either use dkms to build for the current kernel or purge and reinstall virtualbox.

lloydsmart

I am a member!

Desconectado/a
se unió: 12/22/2012

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

Have tried both those options, but they both result in this:

http://pastebin.com/f07kxDfW

Any idea how to solve that?

Thanks.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iF4EAREIAAYFAlGzY/MACgkQgijxUCZnvlt0vwD/SHao6ioH9Z2KePDmS+o/dB5o
W0bCAN+GfmqHeXe6gRYA/RgKj58rW3Ig4A/toACo2KzUpQH+gBhggYIEo9rJjaBP
=cxRj
-----END PGP SIGNATURE-----

Krzysztof Stachowiak
Desconectado/a
se unió: 07/05/2011

For me it didn't work immediately. Additionally I needed to call:

/etc/init.d/virtualbox restart

After the script reloading the modules an Ububtu machine worked. Anyway this is a very nice guide, thanks!