How to install Linux Kali 2016.1 into Parallels and install Parallels tools.
By McDonald, T | Last up dated 30/05/17
You will learn how to:
- Install Kali Linux onto Parallels.
- Install Parallels tools
- Trouble shooting
Note: this will also work for 2016.2 and higher. Make sure you have updated Parallels to the latest version.
Parallels, another virtual machine, can run guest O/S on a host machine. You will need to install Parallels first before continuing. If you wish to install Kali onto Parallels, please read on. After installation you will learn how to install parallels tools, which will allow for more interesting features such as auto adjust for your screen resolution.
Before installing any new applications, a hardware survey will need to be carried out. Subsequently, the applications website will have the minimum specifications listed.
Kali Linux minimum specifications
Kali Linux website
Install Kali Linux 2016.1
Installing Parallels tools
Once you have installed Kali Linux 2.0, you we need to install Parallels tools.
- Open terminal and switch to root user. sudo su
- Ensure the cd drive is ejected by entering eject /dev/cdrom
- Go to settings and select details. from here update
- Click the check for updates. This may take a long time.
- Do not do anything else until you see this window.
Mount the image
- Go to the parallels menu bar and select Devices>CD/DVD>Connect image.
- Select Parallels Desktop>Contents>Resources>Tools>prl-tools-lin.iso and open.
You may want to scroll down to Changing the permissions and try that first since some have found this way is no longer possible.
You have a choice of two ways to complete the next part. Way 2 is much easier.
Way 1
Eject the image, but leave the window open
You have a choice of two ways to complete the next part. Way 2 is much easier.
Way 1
Eject the image, but leave the window open
- Open the CD rom by clicking on it. Eject the CD without closing the window, so you still have the window open. I suggest you eject it from Terminal.
Mount the image again
- Go to Devices on the Parallels menu bar and select Devices>CD/DVD>Connect image. Then go to Parallels Desktop>Contents>Resources>Tools>prl-tools-lin.iso and open again. This time you should have no cd icon on your desktop.
- Mount the CD from terminal using mount /dev/cdrom /media/cdrom
- You should now have this icon on your desktop.
- If you have a regular CD icon like the one below, you will need to start again since you will not be given the correct permissions.
- Using Terminal, navigate to the cdrom using cd /media/cdrom
- Use ls to check the contents. You should have install, installer, install-gui, kmods, tools and version.
- Enter ./install
If this does not work for you, try changing the permissions yourself
Way 2 (Much easier)
Changing the permissions
I’m not logged in as root, so i have used sudo
- Open the cd rom by clicking on it.
- Copy and past the contents into a new folder on the desktop and rename it This.
- In the CLI (Terminal) type ls (list) then cd Desktop (change directory to desktop)
- Type ls again and you will see your folder This.
- Type sudo chmod 777 This -R
- Type ls and the folder This should be highlighted in green
- Type cd This
- Type sudo ./install
sudo chmod is how you change permissions. 777 will change the permissions to allow you to read, write and execute.
This works like this:
4 = read,
2 = write
1 = execute
You have 3 numbers, in this case 777 for owner, group, everyone else respectively.
The -R means all the sub files will have the same new permissions.
The instillation will now start. You can use the Tab to navigate and the Space bar to select.
Installation
Installation
If you get an error like this, you will have to install the listed items from terminal using apt-get install followed by the item.
You should be fine as long as you updated. You have now installed Parallels tools and will be able to view in full screen without any black bars on the sides. Note you way need to reboot.
Trouble Shooting
If you have no mouse pointer, go to Parallel settings and select Hardware>Mouse and Keyboard and from the mouse drop down menu select Optimise for games. You mouse pointer should now appear.
If you have no sound, try entering pulse audio into terminal.
Please remember, Kali Linux is used of penetration testing by professionals. Misuse of this software can land you in prison for 25 years under section 2 of the UK Misuse of computer act 1990.
Hope you enjoyed this blog If you have any questions you can leave a comment, use the contact page or find me here
I hope all is going well! 😊— Red Team (@ScienceTony) 6 August 2016
Thanks for your help. I have successfully installed dkms, kpartx and printer-***-hp, but I counldn't install linux-headers-*** .
ReplyDeleteI used the command " apt-get install linux-headers-*** ", but the echo of the command was " E: Counldn't find any package *** ".
Do you know the reason of installing " linux-headers-*** " ? I'm looking forward for your reply :)
Hello! Yes, i have found that if you try to install the headers using apt-get, it doesn’t work to well. Don’t worry! Install the updates from Settings Details>Check for updates *Important* do this as administrator and not root user. The updates may take a long time and you may get a few questions, so read them carefully. Once done, go back to Terminal and navigate to the ‘This’ folder you created and install. Let me know how you get on. :-)
DeletePS the headers are so you can install Parallels tools and i think you may need them for future updates.
Delete> do this as administrator and not root user
ReplyDeleteHow? Kali Linux runs as root by default!
Create an admin account. https://youtu.be/PPXNJpki1E8
DeleteIm stuck installing the tools. I got the error described above. I did install all but I'm still getting the error from "printer-driver-postscript-hp".
ReplyDeleteTry to install it and I get is already the newest version (3.17....)