[100% Working] Step-By-Step Installation of Kali Linux on VMWare Workstation. How to install Kali Linux on VMWare Workstation? In this article we will discuss the steps to install VMWare Workstation.
Kali Linux is an open-source, Debian-based Linux distribution which allows users to perform advanced penetration testing and security auditing. It runs on multiple platforms and is freely available and accessible to both information security professionals and hobbyists.
Know More about Kali Linux: https://www.kali.org/docs/introduction/what-is-kali-linux/
Installation of Kali Linux on VMWare Workstation
Table of Contents
Tools that we will use for Kali Linux Installation:
- VMWare Workstation 17 Pro
- Kali Linux ISO Image.
Check the video on – How to install VMWare Workstation 17 Pro.
How to install VMware Workstation 17 Pro | Setup a virtual lab | Step by step guide
Once VMWare 17 pro is installed, we will install the Kali Linux.
Get the Kali Linux ISO Image.
- Navigate to: https://www.kali.org/get-kali/
- Click on Installer Images.
- Select 64-bit
- Click on the Installer and Download will start
On this page we have 2 options. Installer Images and Virtual Machines. Virtual Machines are pre-built machines that you can import into VMWare Workstation directly. However, it comes with pre-configuration. We will look into getting the installer image and install it as per our requirements.
Make sure that the file being downloaded is [.iso] file.
Configure the VMWare WorkStation for Custome OS Install
- Launch VMWare Workstation
- Go to File and click New Virtual Machine
- On the next screen select “Custom Advanced” and click Next twice.
- Select the option: I will install the operating system later.
- Next screen is “Guest Operating System”. Select “Linux” and Select “Other Linux 6.x kernel 64-bit” and click Next.
- Name the Virtual Machine and Select the installation Location. You can leave them as Default. However, in my experience, if you are running One-Drive to back-up your files, as-soon-as you select the default location, the Virtual Machine will start being backed up by the One-Drive. In most cases we do not want to do that.
VIRTUAL MACHINE GETTING BACKED UP TO ONE-DRIVE
So, either exclude the Virtual Machine folder from Backup or Install in a different drive or folder.
The default location of the Virtual Machine will be: C:\Users\<User-ID> \Documents\Virtual Machines\<VM-Name>. You need to exclude this location from Back-up in One-Drive.
In my case, I have another Drive (D) which is not added to One-Drive and hence, I will change the location of the installation.
- After you change the installation location, click “NEXT”
- Now you get the “Processor Configuration” screen. It is your wish to leave it as Default or Allocate more processors. However, it depends upon the number of processors on your Host Machines. Chose accordingly or leave it as default and click “NEXT”
- Now you will see “Memory for the Virtual Machine Screen”. Here you can allocate the Memory for the Virtual Machine. This too depends upon the memory available to your Host machine.
- Keep in mind that your Host Machine will also need a minimum recommended memory to function. If at any point of time, the guest machine uses the Maximum Allocated memory, either the Host or the Guest Operating System will crash. In the picture below let us see the details.
In this case, I want to allocate 2GB Memory for Kali Linux and click “NEXT”
- Now we are on “Network Type”. We can change this later; however, we will use the “Use network address translation (NAT)” and click Next. You can also use “Use host-only networking”.
- We are on “Select I/O Controller Types”. We will leave it as Default Recommended and click on NEXT.
- Now we need to select the “Disk Type”. This also we will leave as Default and Recommended and click “NEXT”
- Next screen is “Select a Disk”. Chose the option “Create a new Virtual disk” and click NEXT.
- Now on “Specify Disk Capacity” we need to select the “Maximum disk size”.
On this screen there are some options. Let us look into these options as well.
Option 1: Allocate All Disk Space Now
If this option is checked it will instantly take the Maximum Allocated disk size from the Drive and reserve it for the Virtual Machine.
If you leave it unchecked, it will gradually expand the disk to Maximum Allocated disk Size, as and when required.
Option 2: Store Virtual Disk as a Single File
The Virtual Disk will be stored as a Single file.
Option 3: Split Virtual Disk Into Multiple Files.
This will store the Virtual Disk in Multiple chunks. The Virtual Disk files are created with “.vmdk” extension. In this picture below, the Virtual Disk is stored with an option “Split Virtual Disk Into Multiple Files” and we can see multiple “.VMDK” files.
So, we now know what we need to select. You can select the options as per your requirements. A single VMDK file is easy to move.
However, I will proceed with the options as below:
Maximum Disk Size: 20 GB
Allocate all disk space now: Unchecked
Split Virtual Disk into multiple files: Selected
Click “NEXT”
- On “Specify Disk File” leave it as default and click “NEXT”.
- Finally click on “FINISH”. Now you can see the newly created Virtual Machine on the VMWare Workstation Library on the left.
Now that the Virtual Machine is created, you get an option to “Power on this virtual machine”. However, there is no “Operating System” installed. Now we need to add a CD/DVD drive and load “.ISO” file that we downloaded.
Steps to Add the CD/DVD drive and load .iso file into it.
- Select the Newly Installed Virtual Machine.
- Click on CD/DVD (SATA). It will open the CD/DVD window.
- Select “Connect at power on”
- On this screen select “Use ISO image file” and click on “Browse”.
- Navigate to the downloaded Kali Linux ISO file, select it and add it. Once added click “OK”
Now it is the time to “Power on the Virtual Machine”. So, select the Virtual Machine and click “Power on this virtual machine”.
Once you Power On the Virtual Machine, it will load the .iso installer from the CD/DVD.
Note: To navigate inside the Virtual Machine, you need to click inside it. To come out of the Virtual Machine in VMWare Workstation, press CTRL+ALT keys.
On the Virtual Machine, select Install. (Move through the Allow Keys and Press Enter)
Step-By-Step Installation of Kali Linux
Once you Power On the Virtual Machine, it will load the .iso installer from the CD/DVD.
Note: To navigate inside the Virtual Machine, you need to click inside it. To come out of the Virtual Machine in VMWare Workstation, press CTRL+ALT keys.
On the Virtual Machine, select Install. (Move through the Allow Keys and Press Enter)
- Select the Installation Language, using the Arrow Keys and Press Enter.
- Select Location:
- Select the Keyboard Layout:
- Now it will load the components and will do the basic configurations.
- Now we will get the screen to “Configure the Network”. Enter a Hostname and press ENTER. I named it as “Byqus-Linux”.
- Now create the “Domain Name”. As this is a local install, you can make this up. I will name it as “Byqus.com”. Move to continue through “TAB” key and hit “ENTER”.
- Now we are on “Set up Users and Passwords” screen. Enter the “Full Name for the New User”. I would enter my full name “Nitesh Sinha”. Hit “Enter”.
- Create a Username. Username is used to login to the Kali Linux. You cannot use Full Name to login.
- Create a password for login. Enter the Password and click on Continue. On the next scree “Re-enter password to verify” and click “Continue” again.
Note: Throughout the configuration, you need to select options using the Space-Bar, TAB Key and ENTER key.
- Now Select your TimeZone and Continue.
- Now we need to select the Disk to install the Kali Linux Operating System.
- Chose the “Partitioning Method:” as “Guided – Use Entire Disk” and Continue.
- Next screen is to “Select Disk To Partition”. In this case we have only one disk. So simply press “ENTER” to Continue.
- Select the Partitioning Scheme as “All Files in One Partition”
- On the Next screen select: Finish Partitioning and Write Changes to Disk.
- On the next screen, confirm whether you want to “Write Changes to disks” Select “Yes” and Proceed.
Now the installation will start. Wait for the installation to complete.
- At a point it will take you to the Software Installation screen. On this screen [*] means that the software is selected.
If you wish to install GNOME and KDE Plasma, you can move to the option and press Space-Bar to Select.
- Now move to continue using the TAB key and press ENTER. Again, you will see the Software Installation Screen.
- During the installation, you will get a screen to Configure GRUB BOOT LOADER. As this is a Virtual Machine on a Single Disk, simply click on Yes to proceed.
- Now it will ask you to enter “Device for boot loader installation”. Do not enter a Drive Manually, simply select the Device already listed “/dev/sda” and press Enter.
- Finally, you get the Installation Complete screen. Continue from here and you will get the Kali Linux Login Screen.
- Login with the Username and Password that you created earlier.
Once logged in you get the Beautiful Kali Linux Desktop Screen.
That was it. Kali Linux is installed and connected to the Network. Start browsing or start working on it. We will come up with Kali Linux commands and tools in upcoming posts.
Points to Note:
- During Installation, Once you click inside the VMware Kali Linux screen, the cursor will disappear. To bring the cursor back and come out of the VMWare Screen, press CTRL+ENTER.
- You need to manage the navigation and installation options through “TAB”, “SPACEBAR”, and “ENTER” keys.
This is 100% tested and working installation. Please read this article carefully before starting the installation. You can keep it as a guide for step-by-step installation.
- 5. Understanding FSMO Roles in Active Directory | Active Directory Tutorial - September 29, 2024
- 4. Installing Active Directory Domain Services (ADDS) | Active Directory Tutorial - September 4, 2024
- 3. Structure of a Domain in Active Directory | Active Directory Tutorial - September 4, 2024
Other Useful WebSites:
Poems and Stories by ThePoemStory
Online Education by ThePoemStory