How to install virtualbox guest additions in TrueOS

trueosvirtualbox

I have installed TrueOS in Virtualbox. Everything is working perfectly. But after I insert virtualbox guest additions, I am unable to find any way to install it. How can I do so?

I am using Ubuntu host.

Best Answer

Go to TrueOS terminal

sudo su
cd /var/db/portsnap
portsnap fetch
cd /usr/ports
portsnap extract
portsnap fetch update
git clone https://github.com/freebsd/freebsd.git /usr/src    //This will take about 30 minutes - 1 hour depending upon your internet speed
cd /usr/src; make clean    //This will take about 1 hour
cd /usr/ports/emulators/virtualbox-ose-additions && make install clean    //This will take about 5-6 hours
reboot

After reboot adjust screen resolution of TrueOS to the recommended.

Related Question