Linux Mint is a Ubuntu-based distribution whose goal is to provide a complete out-of-the-box experience by including browser plugins, media codecs, support for DVD playback also because its Ubuntu-based, Linux Mint is compatible with Ubuntu repositories, Hell ” It’s my favourite distribution”.
This Post is going to run through Installing Mint 18 (Sarah) into VirtualBox. You can download Mint from here and I will assume that VirtualBox is already installed and ready to go. If VirtualBox is not already installed, check out my post on setting up a hacking lab.
So let’s get started by opening VirtualBox
Creating The Virtual Machine
Once VirtualBox is open click New and you should be presented with the Create Virtual Machine Window. Start by giving your VM a Name, changing the type to Linux and as Mint is an Ubuntu-based system make sure the Version is set to Ubuntu (64-bit). Next, set the Memory size. The minimum system requirements state that it should be at least 512MB but I’m going with 2GB, make your choice depending on how much ram you have on your host machine, but it’s quite easy to change at a later date. Lastly, make sure Create a virtual hard disk now is selected and click Create.
Now we are Creating the Virtual Hard disk, First choose where you want to save the VM and select how large a hard disk you want to create, again like with the memory this all depends on how much space you have on your host, the minimum is 9GB. Select what type of Virtual Machine you would like to create, I’m going with VDI but you could just as easily create it as a VMDK if you wanted to use the same VM in VMWare. Make sure you click Dynamically allocated this will save on disk space if it is not needed.
Now your Virtual Machine is created right click it and click settings this should bring up the settings window, go to storage and select the CD icon that says empty then select the CD icon to the right, you can now choose the Linux Mint ISO you download from the Linux Mint download page earlier. Then just click ok and you are now ready to fire the virtual machine and start installing Linux Mint.
Installing Linux Mint
If everything has been done right Linux Mint will start to Live boot into the OS.
you should get presented with a desktop just like this from here you can try out Linux Mint before actually installing anything onto the disk.
Click Install Linux Mint and in a few seconds, you should get an Install window pop up select your language and click Continue.
Now it’s going to ask us if we want to install the third-party software. Here I am going to click it but if your VM is kinda small or you would rather install them individually leave it unchecked.
It now wants to know how you want to partition your virtual hard disk as this is the only Operating system on this VM, just select Erase disk and install Linux Mint and click Install Now.
Next, you get a pop-up asking if you are sure you want to write the changes to disks just select Continue.
Select your location and click Continue…
..and then keyboard layout and click Continue.
Now It wants you to setup the user. Type your name, the name you want to give this VM then what username you want to login as. It does fill a lot of this out for you once you have typed something in the Your name field. then you just have to choose a password then confirm that password and click Continue.
It will now start to install Mint into our VM this takes about 5 – 10 minutes depending on how you configured your VM.
Once the Installation is complete just click Restart Now.
It will ask you to press enter to remove the installation media this is just so it boots off the hard disk and does not Live boot again.
After it reboots you should be presented with a login screen click your username and type your password you set in step 9.
And that is it, our VM is installed with Linux Mint all we have got left to do is upgrade everything to the latest version and install VirtualBox guest additions, this will get rid of that annoying pop-up “Running in software rendering mode”.
Updating and Upgrading
Open up a terminal and type sudo apt-get update && sudo apt-get upgrade. This updates all the repositories and upgrades Linux Mint. You will be asked to confirm the sudo command by typing in your password for your user.
if there is stuff to be upgraded you will be asked if you want to continue just type y and hit enter. You can also just add a -y to the end of the command in step 1 above.
The upgrade will take a while but when it finishes just type sudo reboot to refresh the VM and apply all the upgrades.
Installing VirtualBox Guest Additions
Start by clicking Devices at the top of your VirtualBox window and click insert guest additions CD image. You should then get this pop-up, just click cancel.
Open up a terminal and type…
cd /media/Your Username/VBOXADDITIONS Version/
then type ls and it should then list the contents of the CD.
now just type…
..and confirm your password it will start to install the guest additions but will state that you have a version of guest additions already installed just type yes and hit enter.
Once it’s finished just type sudo reboot to restart the VM.
lastly, shutdown your VM and right click it in VirtualBox, bring up the settings and once the Virtual Machines settings window is open, click Display and increase the video Memory to something greater than the 12MB standard and select the Enable 3D Acceleration tick box. click Ok and now when you restart the VM will be using full 3D Acceleration and the annoying software rendering pop-up should be gone.
Problems with host Video Card
I did get this issue with my VM after enabling 3D acceleration, which I spent ages trying to troubleshoot but I believe its to do with the latest driver for my intel EXTREAM Cough, cough Piece of shit Onboard Graphics Card, After buying a better card the error went away.
If you can’t replace the hosts’ video card or find a driver that works, just deselect the 3D acceleration checkbox in the display settings on the VM but Mr annoying software rendering message will return.