[Solved] Install VBox on Mephis8.0

Discussions related to using VirtualBox on Linux hosts.
Post Reply
cat2005
Posts: 52
Joined: 11. Aug 2009, 03:45
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux & Windows
Location: Kansas City, MO

[Solved] Install VBox on Mephis8.0

Post by cat2005 »

Good Evening,

I use MEPIS 8.0 (lenny debian based) as my main (host) desktop. I would like to install VB so that I can run Windows, etc. I have been reading the VB user manual, checking LQ (linuxquestions.org), my distro's wiki, etc. and am still lost. I can find VB 3.0.4 in synaptic / apt-get but everytime I download it I get an error stating something like:

"unable to find precompiled module for current kernel"

I posted some screenshots:

This was what I got the 1st time: http://img513.imageshack.us/i/unabletofind.jpg/

This was what I got the 2nd, 3rd, 4th, 5th time: http://img513.imageshack.us/i/noker.jpg/

I checked in synaptic for my kernel headers and I already have the most recent (mepis 2.6.27.1 - If I recall correctly). That couldn't be the issue.

What am I missing? Should I try the "run" script instead? How would I run the "run" script in terminal? I have no command line knowledge.

I would really appreciate your help. I do not just want to solve this problem; I want to learn what is wrong so I will be smarter next time.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: 1st Time Trying VirtualBox

Post by Perryg »

Maybe this will help. http://www.mepis.org/docs/en/index.php/VirtualBox
You need a few more things besides the headers.
Good Luck
cat2005
Posts: 52
Joined: 11. Aug 2009, 03:45
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux & Windows
Location: Kansas City, MO

Re: 1st Time Trying VirtualBox

Post by cat2005 »

Perryg,

Yes, I have been to that site. Following the instructions on that site is what yielded my current situation. Do you have any other suggestions?

Thanks for checking.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: 1st Time Trying VirtualBox

Post by Perryg »

cat2005,

Usually all that is required are the additional packages to allow for module compiling, that and an update to the OS.
If I find time tomorrow I will try to install a copy on one of my systems and see if I can find a problem, but I can make no promises.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: 1st Time Trying VirtualBox

Post by Perryg »

Cat2005,

Sorry to be a day late but I have been up to my eyes in work. If you are still having problems below should help:

Before you try to install VirtualBox you need to get the Mepis8.0 prepared. Run the following in a terminal as su.

Code: Select all

apt-get update
apt-get upgrade
Reboot. then this

Code: Select all

apt-get install linux-headers-$(uname-r)
Then reboot and you should be able to install VBox.

As a side note to those that want to run Mephis 8.0 as guest the instructions above are the same before you try to install the guest additions.
Also you will need to edit the /etc/X11/xorg.conf and comment out all of the lines that start with mode (there are plenty).
If you installed the guest additions before you edited the xorg.conf you can edit the file and then run the following in terminal as su.

Code: Select all

/etc/init.d/vboxadd setup
cat2005
Posts: 52
Joined: 11. Aug 2009, 03:45
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux & Windows
Location: Kansas City, MO

Re: 1st Time Trying VirtualBox

Post by cat2005 »

Great....thanks for your help!
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: 1st Time Trying VirtualBox

Post by Perryg »

You're welcome. I will close this.
Post Reply