Installing Kali Linux operating system on various machine need some skills. I’m sure most of the PC (Personal Computer) users don’t know, how to install Kali Linux on Virtual Box or other virtualisation software. In this article, I want to show you how to install Kali Linux on VirtualBox in PC. The upcoming article, I’ll lead you, how to install Kali Linux on VirtualBox in a Mac environment.
How to Create a New Virtual Machine?
We have explained in details to create a new virtual machine on VirtualBox. In today’s article, I will do it once again that you should understand it easily. First, you must download the following requirements.
Step #1. Once the downloading is completed, install the VirtualBox on your Windows PC. The installation is straightforward and simple. Double-click on the setup then hit continue until it gets finished. Now, open up the VirtualBox then click on the “New” at the upper left-hand side of the window.
A new window will pop up, choose a proper name for Kali Linux. Next, you have to select the type of operating system. When you type the Kali Linux, it’ll automatically set up all the necessary options. If it does not set up, so you have to do it manually. Click “Next” button.
Step #2. Choose at least 2 GB of memory size then hit the “Next” button.
Step #3. Create a new virtual hard disk. Select the second option “Create a new virtual hard disk now“. Hit the “Create” button.
Step #4. A new window will be shown to you and choose the first option “VirtualBox Disk Image” then tap on the “Next” button.
Step #5. Here, you have two options “Dynamic and Fixed Size“. A dynamic allocated hard disk file will only use space on your physical hard disk as it fills up it’ll take space from the main hard drive. If you choose the “Fixed Size“, it’ll cut some space from the physical hard drive when the size is filled. You can’t get space from the physical hard disk. I recommend you to choose the dynamic hard disk.
Step #6. In this step, choose the amount of space for the hard disk. If you’ve selected fixed size hard drive so at least 15 GB, you should select the size of the hard disk.
Step #7. Now, you’ve successfully created a new virtual machine, but it’s not finished yet. Click on the VirtualBox “Settings“. Navigate to the “Display tab” then increase the “Video Memory“.
Step #8. Click on the “Storage tab” then tap on DVD icon. A small window will pop, choose “Choose Disk“. Now, Choose the Kali Linux ISO file that you’ve downloaded from its site.
It’s done now. Click the “OK” button to end up the creating a new virtual machine process.
Install Kali Linux on VirtualBox
Now that you’ve successfully created a new virtual machine let’s get started that how to install Kali Linux on VirtualBox in PC. Open the VirtualBox then select the Kali Linux virtual machine. Tap on the “Start” button at the top.
Step #1. When you start the virtual machine, the Kali Linux will pop up. They’re three options to choose.
- Use Kali Linux live
- Graphical install
Here, I’m going to show you a clean graphical installation of Kali Linux. So I’m going to choose the third option “Graphical Install“. If you choose the only “Install” options so you’ll not see a pretty nice graphical user interface instead there will be black with a terminal user interface.
Step #2. In this step, you’re going to choose a language, keyboard, and Location. Hit the “Continue” button.
Step #3. Choose a hostname. The hostname is a single word that identifies your system to the network. The hostname is the person who will use the operating system and have full control over it.
Step #4. Choose a domain name. If you don’t have a domain, then skip this process.
Step #5. Try to type a strong password for the root user. A strong password contains upper case letter, lower case letter, and symbols.
Step #6. Select a proper time zone for your operating system.
Step #7. Now, you need to create a new partition. Click on “Manual“.
Step #8. Once you’ve chosen the manual partitioning. Now, select the third option “SCSI1 (0,0,0) (sda) -56.8 GB ATA VBOX HARDDISK“.
Step #9. In this step, select the “Yes” button to continue the partitioning process.
Step #10. Choose the free space then hit the continue button.
Step #11. Select “Create a new partition” then hit the “Continue” button.
Step #12. You can create a partition or create multiple partitions. Choose the size of the partition. Here I’ll create three partitions. So my first drive will be 40 GB.
Step #13. Choose primary or logical, then hit the “Continue” button.
Step #14. Please select whether you want the new partition to be created at the beginning or at the end of the available space. Choose the first option “Beginning” then hit “Continue“.
Step #15. Now, choose “Done setting up the partition“.
Create the other partition the same. Please remember one thing that creates one partition for “Swap area“. This partition should be at least 1 GB.
Once you created all the partitions. Choose “Finish partitioning and write changes to the disk“. Hit the “Continue” button.
Step #16. Do you want to write changes to the disk? Click “Yes“.
The operating system will start installing. Wait for some minutes. It’ll take around 10 to 20 minutes. This depends on the speed of your computer.
Step #17. Do you want to use the disk mirror? Click “No“.
Step #18. Install the GRUP boot loader on the hard disk. Click “Yes“.
Step #19. When you clicked “Yes“, a new window will be shown to you. Choose the second option and hit the “Continue” button.
After this, your computer will restart, and you’ll be asked to enter the username and password. The username is “root“, and the password is whatever you’ve entered in step 5.
This was a complete guide on how to create a new virtual machine and install Kali Linux on VirtualBox in PC. If you have any question regarding this article, feel free to ask below this post. Thanks for being with us.