Problem to install virtualbox

You have a problem with Salix? Post here and we'll do what we can to help.
jonas
Posts: 7
Joined: 8. Jul 2012, 16:01
Location: Stockholm - Sweden

Re: Problem to install virtualbox

Post by jonas » 26. Jul 2012, 12:06

Short summary ofhow to install VB on Salix:

1. Install iasl and kernel source:
slapt-get -install iasl
slapt-get -i kernel-source

2. Add group and user(-s):
groupadd vboxusers
usermod -a -G vboxusers <username>

3. Download the "VirtualBox-4.1.18-78361-Linux_x86.run" from https://www.virtualbox.org/.

4. Run the script:
sh VirtualBox-4.1.18-78361-Linux_x86.run

DONE!
This problem is SOLVED!

User avatar
mimosa
Salix Warrior
Posts: 3089
Joined: 25. May 2010, 17:02
Contact:

Re: Problem to install virtualbox

Post by mimosa » 26. Jul 2012, 19:52

It's perhaps worth adding that VirtualBox works much more smoothly with the "Guest Additions" installed in the guest OS. To do so, you need to install the kernel source first *inside the guest*. The Additions are presented to the Guest as an .iso in a CD drive. See here for how to have two (for instance, if you're booting a live CD virtually):

http://www.salixos.org/forum/viewtopic. ... ons#p19991

See also:

https://www.virtualbox.org/manual/ch04.html#idp9968160

User avatar
laprjns
Salix Warrior
Posts: 1032
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Problem to install virtualbox

Post by laprjns » 26. Jul 2012, 22:37

jonas wrote:Short summary ofhow to install VB on Salix:

1. Install iasl and kernel source:
slapt-get -install iasl
slapt-get -i kernel-source
iasl is a build time dependency. You only need this if your building from source, which your not.
2. Add group and user(-s):
groupadd vboxusers
usermod -a -G vboxusers <username>
Again you would only need to do this if you built from source. The vbox binary install script does this for you already

So all you need to do is :
0) su root (i.e. log in as root)
1) slapt-get -i kernel-source
2) Download the "VirtualBox-4.1.18-78361-Linux_x86.run" from https://www.virtualbox.org/. (or the amd64 installer)
3.) Run the script:

Post Reply