How to install Linux Kali 2016.1 into Parallels and install Parallels tools.

Kali Linux desktop wallpaper with the words how to install kali linux 2016.1 onto parallels desktop 11


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 
red arrow pointing to a tools icon

Red arrow pointing to detials icon



Update (this is an important step, so do not miss it out!)
  • 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 
  • 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
  1. Open the cd rom by clicking on it.
  2. Copy and past the contents into a new folder on the desktop and rename it This.
  3. In the CLI (Terminal) type ls (list) then cd Desktop (change directory to desktop)
  4. Type ls again and you will see your folder This.
  5. Type sudo chmod 777 This -R 
  6. Type ls and the folder This should be highlighted in green
  7. Type cd This
  8. 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




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



Comments

  1. Thanks for your help. I have successfully installed dkms, kpartx and printer-***-hp, but I counldn't install linux-headers-*** .
    I 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 :)

    ReplyDelete
    Replies
    1. 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. :-)

      Delete
    2. PS the headers are so you can install Parallels tools and i think you may need them for future updates.

      Delete
  2. > do this as administrator and not root user

    How? Kali Linux runs as root by default!

    ReplyDelete
    Replies
    1. Create an admin account. https://youtu.be/PPXNJpki1E8

      Delete
  3. Im 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".

    Try to install it and I get is already the newest version (3.17....)

    ReplyDelete

Post a Comment

Popular posts from this blog

Random Images from API with python

How to get started with Python programming

Build A Test Website In 3 Easy Steps