SOLVED Mint 18.3 Mate VirtualBox

Questions about virtualization software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
krustybaguette
Level 3
Level 3
Posts: 153
Joined: Thu Mar 31, 2011 8:24 am

SOLVED Mint 18.3 Mate VirtualBox

Post by krustybaguette »

Two key elements to my SOLUTION were installing the 5.2.8 VB Extensions (after I got it to open my Win10 VM) and getting past my hesitancy to update the Kernel to 4.13.0-37-generic. Update manager had been nagging me to do so even before I switched from 18.3 with Cinnamon to 18.3 with MATE. That hesitancy was due to the suggestion to NOT update anything categorized as Level 4 or 5. Of course since I eventually installed VB via a download .deb file from Oracleś website, I´m ahead of the repository version.


After installing Mint 18.3 with MATE to replace Mint 18.3 with Cinnamon I installed repository version of Oracle VB. Immediately got update message when I started VB (recommended version 5.2.8) Having had trouble when I installed a slightly older version under my Cinnamon installation I knew I had to get rid of all traces of the old installation, i.e. the version I installed from the repositiory. I believe it was version 5.0.#. command line options to remove/purge VirtualBox I did a search for ¨VirtualBox¨ under my File system. I deleted everything except the VirtualBox Machines folder in my /home. I don´t want to reinstall the repo version as it wouldn´t open my Win10 virtual machine. I´ve seen so many conflicting opinions about how to get VirtualBox 5.2.8 installed in Linux Mint 18.3 that Iḿ hoping someone in the Mint Forums can set my on the right path.
First decision is which version should I try? My system is 64bit, and I´ve read (on an Ubuntu forum) that Mint 18.3 is based on Ubuntu 16.04 so does that mean I should TRY to install that version of VB?
I downloaded the .deb but couldn´s get the installation to start.

Ubuntu 18.04 ("Bionic") AMD64
Ubuntu 17.04 ("Zesty") / 17.10 ("Artful") i386 | AMD64
Ubuntu 16.10 ("Yakkety") i386 | AMD64
Ubuntu 16.04 ("Xenial") i386 | AMD64

krustybaguette
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
AZgl1800
Level 20
Level 20
Posts: 11117
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes Sweeping down the Plains
Contact:

Re: Mint 18.3 Mate VirtualBox

Post by AZgl1800 »

get the Ubuntu 16.04 ("Xenial") i386 | AMD64 version direct from Oracle, do NOT use the repository version.

been there, fought that battle.
LM21.3 Cinnamon ASUS FX705GM | Donate to Mint https://www.patreon.com/linux_mint
Image
User avatar
catweazel
Level 19
Level 19
Posts: 9763
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Mint 18.3 Mate VirtualBox

Post by catweazel »

AZgl1500 wrote: Sat Mar 31, 2018 7:20 pm get the Ubuntu 16.04 ("Xenial") i386 | AMD64 version direct from Oracle, do NOT use the repository version.

been there, fought that battle.
"My system is 64bit" <--- The OP has a 64bit system so needs the AMD64 version. There is no "i386 | AMD64 version", as that is a copy paste from the download page and refers to two different versions.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
User avatar
AZgl1800
Level 20
Level 20
Posts: 11117
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes Sweeping down the Plains
Contact:

Re: Mint 18.3 Mate VirtualBox

Post by AZgl1800 »

catweazel wrote: Sat Mar 31, 2018 8:06 pm
AZgl1500 wrote: Sat Mar 31, 2018 7:20 pm get the Ubuntu 16.04 ("Xenial") i386 | AMD64 version direct from Oracle, do NOT use the repository version.

been there, fought that battle.
"My system is 64bit" <--- The OP has a 64bit system so needs the AMD64 version. There is no "i386 | AMD64 version", as that is a copy paste from the download page and refers to two different versions.
I should have caught that myself: sorry to the OP for not mentioning that.
LM21.3 Cinnamon ASUS FX705GM | Donate to Mint https://www.patreon.com/linux_mint
Image
krustybaguette
Level 3
Level 3
Posts: 153
Joined: Thu Mar 31, 2011 8:24 am

Re: Mint 18.3 Mate VirtualBox

Post by krustybaguette »

Installed but had an error on starting up. See image.

Image

the error message suggests executing that file so here goes:

kenneth@kenneth-ThinkPad-T520 ~ $ sudo vboxconfig
[sudo] password for kenneth:
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: Starting VirtualBox services.
kenneth@kenneth-ThinkPad-T520 ~ $

Same error message appeared again. What does it mean?
krustybaguette
Level 3
Level 3
Posts: 153
Joined: Thu Mar 31, 2011 8:24 am

Re: Mint 18.3 Mate VirtualBox

Post by krustybaguette »

nstalled but had an error on starting up. See image.

Image
With all troubles encountered so far, and troubles continue I´ve done more searching. googled the bottom portion of the image posted above which led to this https://askubuntu.com/questions/676992/ ... nt-to-17-1. Article on AskUbuntu forum. Two suggested
command line options quoted from the comments on the linked article follow:

1 You need the kernel headers to compile the vbox module. Install them with sudo apt-get install linux-headers-generic and try again.

2 The reason, why the module can not be built are, as the error suggest, missing kernel header files.

Install them with

sudo apt-get install linux-headers-generic

Both of these seems plausible. However my Update Manager http://s1198.photobucket.com/user/krust ... sort=3&o=0 shows several kernel related updates that I have avoided installing as they are rated of low importance (i.e. 4 out of 5). Comments please.
Locked

Return to “Virtual Machines”