Simon Lock
Dabbler
- Joined
- Aug 12, 2015
- Messages
- 11
Build: FreeNAS-9.3-STABLE-201511040813
Platform: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
Memory: 24447MB
VirtualBox on FreeNAS is almost a brilliant feature; but I'm assuming its not quite there yet. I'm saying this beacuse no matter what I try I cannot get the VirtualBox Guest Additions to install and then function correctly. I have been trying for weeks now to unlock the features offered by installing the Guest Additions addons within my running guest systems. I have running both Ubuntu and Debian 64bit guest installs on my 64bit FreeNAS. They install and update fine but Guest Additions is a definite no go.
I am aware of all the howto's online explaining the methods of installing the Guest Additions and I've tried all of these but non of them work with my system. When installing using these online methods I either recieve complaints that the headers for the current kernel were not found or a bad return status for module build on the Kernel. Is this a known Virtualbox on FreeNAS problem?
I've tried installing the folowing versions of Guest Additions:
VBoxGuestAdditions_4.3.12.iso
VBoxGuestAdditions_5.0.0_RC3.iso
with the following versions of Ubuntu:
ubuntu-14.04.3-desktop-amd64.iso
ubuntu-15.10-desktop-amd64.iso
And also the following versions of Debian:
debian-7.8.0-amd64-netinst.iso
debian-8.1.0-amd64-netinst.iso
debian-8.2.0-amd64-netinst.iso
I've used the following methods:
Method 1
sudo apt-get update
sudo apt-get upgrade (even tried apt-get dist-upgrade)
sudo apt-get install build-essential module-assistant
sudo m-a prepare
then
for example using VBoxGuestAdditions_4.3.12.iso (VBoxGuestAdditions_4.3.12_93733)
cd /media/USERNAME/VBoxGuestAdditions_4.3.12_93733#
./media/cdrom/VBoxLinuxAdditions.run
I get the following complaints reported and then Guest Additions fails to start:
"The headers for the current Kernel were not found. If the following module compilation fails then this could be the reason.
Building the main Guest Additions module ...done.
Building the shared folder support module ...fail!
.
.
.
Warning: unknown version of the X Window System installed. Not installing X Window system drivers. ...done"
Method 2
sudo apt-get instal virtualbox-guest-addition-iso
Error! Bad return status for module build on kernel: 3:19.0-25-generic (x86_64)
Consult /var/lib/dkms/virtualbox/4.3.10/build/make.log for more information.
* Stopping VirtualBox Kernel modules
* Starting VirtualBox Kernel modules
* No suitable module for running kernel found [Fail]
The results are practically the same with Ubuntu and Debian.
I would be so grateful if someone could help point me in the right direction towards getting either of these installs working correctly with Guest Essentials.
I'm sure someone must have one of these very popular linux distributions running properly with Guest Additions?
Many thanks in advance.
Platform: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
Memory: 24447MB
VirtualBox on FreeNAS is almost a brilliant feature; but I'm assuming its not quite there yet. I'm saying this beacuse no matter what I try I cannot get the VirtualBox Guest Additions to install and then function correctly. I have been trying for weeks now to unlock the features offered by installing the Guest Additions addons within my running guest systems. I have running both Ubuntu and Debian 64bit guest installs on my 64bit FreeNAS. They install and update fine but Guest Additions is a definite no go.
I am aware of all the howto's online explaining the methods of installing the Guest Additions and I've tried all of these but non of them work with my system. When installing using these online methods I either recieve complaints that the headers for the current kernel were not found or a bad return status for module build on the Kernel. Is this a known Virtualbox on FreeNAS problem?
I've tried installing the folowing versions of Guest Additions:
VBoxGuestAdditions_4.3.12.iso
VBoxGuestAdditions_5.0.0_RC3.iso
with the following versions of Ubuntu:
ubuntu-14.04.3-desktop-amd64.iso
ubuntu-15.10-desktop-amd64.iso
And also the following versions of Debian:
debian-7.8.0-amd64-netinst.iso
debian-8.1.0-amd64-netinst.iso
debian-8.2.0-amd64-netinst.iso
I've used the following methods:
Method 1
sudo apt-get update
sudo apt-get upgrade (even tried apt-get dist-upgrade)
sudo apt-get install build-essential module-assistant
sudo m-a prepare
then
for example using VBoxGuestAdditions_4.3.12.iso (VBoxGuestAdditions_4.3.12_93733)
cd /media/USERNAME/VBoxGuestAdditions_4.3.12_93733#
./media/cdrom/VBoxLinuxAdditions.run
I get the following complaints reported and then Guest Additions fails to start:
"The headers for the current Kernel were not found. If the following module compilation fails then this could be the reason.
Building the main Guest Additions module ...done.
Building the shared folder support module ...fail!
.
.
.
Warning: unknown version of the X Window System installed. Not installing X Window system drivers. ...done"
Method 2
sudo apt-get instal virtualbox-guest-addition-iso
Error! Bad return status for module build on kernel: 3:19.0-25-generic (x86_64)
Consult /var/lib/dkms/virtualbox/4.3.10/build/make.log for more information.
* Stopping VirtualBox Kernel modules
* Starting VirtualBox Kernel modules
* No suitable module for running kernel found [Fail]
The results are practically the same with Ubuntu and Debian.
I would be so grateful if someone could help point me in the right direction towards getting either of these installs working correctly with Guest Essentials.
I'm sure someone must have one of these very popular linux distributions running properly with Guest Additions?
Many thanks in advance.