Kali Linux was updated a while back and since has had many nice features added to it. I’ve covered other methods of creating your own custom Kali ISO and installing Kali in VirtualBox before. Check out the previous VirtualBox guide for basic configuration and then follow along to complete the updated Kali 2.0 Rolling installation and get guest additions working as it’s changed a little since my last guide.
What you’ll need is the following:
1 – VirtualBox installed with guest additions downloaded
2 – Kali Linux 2.0 ISO downloaded
As mentioned already refer to the previous guide for basic VirtualBox configuration.
Let’s get to it!
Select Install on first boot to start of the installation
Select your desired language
Select your country
Select your desired keyboard configuration
Enter a hostname for your system
Enter a domain name if you want to use one otherwise just hit “Continue”
Enter your the password you want to use for the root account and hit “Continue”
Verify your root password and hit “Continue”
Hit “Enter” to continue the hard disk partitioning using the “Guided – use entire disk” method. Feel free to choose a different method if you wish.
Hit “Enter” to continue using the selected partition for the hard disk install
Hit “Enter” to continue installation using the “All files in one partition” partitioning scheme. Feel free to change it.
Select “Finish partitioning and write changes to disk” and hit “Enter”
Select “Yes” to confirm you want to write all your changes to disk and hit “Enter”
Select “No” to use a network mirror
Select “Yes” and hit enter to install the GRUB boot loader to the master boot record
Select your hard disk you want to install the GRUB boot loader on and hit “Enter”
Installation is now complete, select “Continue” and hit “Enter” to reboot into your new Kali install
At first login enter the username “root” followed by the password you entered at the start of the install
Excellent, first logon was a success. Well done so far only a few steps remain until you can start playing in your lab
During install we didn’t add repositories but in order to update and upgrade the system we’ll need to modify the /etc/apt/sources.lst. Use a text editor of choice of use nano like the example below.
Add the following repositories to the file then save it. If using nano like in the example do this pressing CTRL+O and pressing enter. Exit with CTRL + X
deb http://http.kali.org/kali kali-rolling main contrib non-free
deb-src http://http.kali.org/kali kali-rolling main contrib non-free
Now that you have some repositories enter the following command into the terminal and hit “Enter”. This will take some time to complete so go grab a beverage of choice and chill out for a bit.
sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get dist-upgrade -y
When prompted to restart services during package upgrades without asking select “Yes” and hit “Enter”
When prompted if non-superusers should be able to capture packets with Wireshark select “No” and hit “Enter”
Select “Ok” regarding the PostgreSQL version 9.5 obsolete warning and hit “Enter”
If prompted to keep any configurations enter “Y” and hit “Enter” to continue
It took sometime but if you’ve gotten this far your doing well. Enter “reboot” and hit “Enter”
This is where things have changed, if you refer to the previous guides on my blog you’ll see installing Virtual Box Guest additions used to be different, now however all you have to do is enter the following
sudo apt-get install -y virtualbox-guest-x11
Once the installation is complete enter “reboot” and hit “Enter”
You will now have a big full screen and all the other features of Virtual Box Guest additions available
I figured a guide was necessary as I had some issues myself the first time I installed the latest version and imagine others have had the same problem.
That’s it for now, well done getting Kali installed and configured. Have fun playing in your lab!