[RWSPS] -Rootsh3ll Wireless Security and Pentesting Series- ch1pt2

In the previous post i.e Chapter 1: Part 1, we learned

  • Hardware/Software requirements of the series
  • How to install Kali Linux in a VMWare Workstation(Virtual machine), and
  • Setting up and configuring Alfa card (Wireless adapter) in Kali Linux

We will cover the remaining of Chapter 1 in this post.

We will cover:

  • How to install Kali Linux on PC
  • Removing Kali Linux from Boot menu and Hard Drive

ANNOUNCEMENT: WiFi Hacking in Cloud Video Course (Without a WiFi Device/Router)
Do you want to learn WiFi Pentesting and Security without investing a fortune in WiFi cards and routers?
Then you should check out my cloud based course where you simply login to your lab and start pentesting wireless networks.
Click here to read description, FAQs and lab details

You might say why remove Kali Linux ? It is the Best Penetration testing distribution out there.

A: Well, as Kali Linux is an Open Source Distro and comes with absolutely NO WARRANTY, and also we will be using root account very frequently, so there are chances that one might corrupt the boot loader while playing around with Kali and cause problem booting Kali Linux.

Another reason for doing so is that you might have previously installed Kali Linux on your PC which is not working for some reason and you decided to remove Kali Linux and install a recent version of Pentesting Distro(any). Not to waste HD space and without damaging boot record we will learn here the process to remove Kali Linux neatly.

Lets get started!

How to Install Kali Linux: Prerequisites

  • USB stick (>4 GB) – To install Kali Linux from USB. We can boot Live system or installing through USB.
  • Kali Linux ISO – ISO file contains the boot information, which will be written to the USB stick and make the USB bootable.
  • Laptop/Desktop (~4 GB RAM) – We will be performing extensive-memory tasks. so a minimum requirement is a system with 4 GB of RAM and dual core processor. To ensure that Kali Linux perform well throughout the series.
  • Windows installed – We will need Windows to partition the disks for Kali Linux. It will be easy for the beginners for better understanding.

Kali Linux on USB: Advantages

The best way to run or install Kali Linux is to run it from a USB. This method has several advantages:

  • Ultra portable – USB always has  been known for its portability. Installing Kali on a USB makes it ultra portable and allows us to run it anywhere we go. just need to Plug-n-play the USB stick and we are up with our Kali.
  • Faster installation –  Older versions of USB(2.0) supports reading speed of a max. of 7-10 MBPS and recent USB 3.0 are even faster than that. Which makes installing Kali Linux at blazing fast speed.
  • Customisable – Linux is always open source and so Kali. You can customize and build Kali Linux and install your own version on the USB stick.
  • Persistent – Booting into Live disc from USB clears all the activity or tasks performed after system is restarted. Live Kali installed on USB can be made persistent with a little effort.

Kali Linux download

Kali Linux ISO can be downloaded from the official site here. Ensure the compatibility of the version with your processor. Do not download 64-bit version of ISO if your processor is 32-bit

Kali Linux installation: Installing Kali Linux on PC

  • Right click on Computer and click Manage.manage
  • Select Disk management on the leftshrink
    Now Right Click select a Drive with a free space > 40 GB and click on Shrink (C: in this case). We will cut some free space from that drive.
    NOTE: Selected partition should be primary. Primary type partition is needed to boot Kali. We will write Kali’s boot loader(GRUB) to Master boot record during installation. So make sure partition you select is Primary.
  • Wait for the scan to Finish.
  • Enter the size in MB (40 GB x 1024 = 40960 MB) and click on Shrink.shrink confirm I had only 20484 MB shrink-able space. But it is recommended for you to go for atleast 30 GB. I will tell you Why in FAQs at the end of the post.
  • Now You should see an Unallocated Black colored partition. Like this:unallocated

We are done with the partitioning part, now we will head towards installing Kali Linux to USB. So that we will be able to boot the Kali Linux USB and install it to the recently created(Unallocated) Drive.

How to Install Kali Linux to USB

I have a great post written on How to install Kali Linux on USB.

First, download latest version of a tiny yet great tool called YUMI to install Kali Linux to USB. Now you can see the post here to create the Bootable USB.

After you create the Kali Linux bootable ISO

  • Restart the system
  • Plug in your USB into the system
  • Hit the Booting key (can be f8, f10, f12, delete). You may need to edit BIOS setting to boot USB
  • Continue reading Chapter 1- Part 1. Procedure is same after restarting the system. (Except the VMWare config part)

Remove Kali Linux: How to Uninstall Kali Linux

CAUTION: After Removing Kali Linux, you won’t be able to boot into Windows or any OS installed after you restart.So make sure you have already created bootable USB of Kali Linux for the Installation or RESCUE!

Why it won’t be able to boot ? because Kali Linux installs its boot information to Master boot record when it is installed.So any previous OS’s(generally Windows) boot info is over written and it is then added to option menu at startup to chose from which OS to boot.

Lets get to the procedure,

Follow step-by-step, or you might end up deleting your sensitive data:

  • Right click on Computer click on Manage.
  • Go to Disk management on the left panel.
  • You should see something like this:swap partitionPartition size may vary.
  • Right click on Main partition then click on Delete volume.
  • A Window will appear. click on delete. This will delete both Main and Swap partition.

You should then see an Unallocated partition (~46 GB in this case).

  • Now restart your system.
  • Insert Kali Linux USB stick into system
  • Run Live or install. see here How to install Kali Linux.
  • voila! you are now done with your Kali Linux installation.

Install Kali Linux: FAQs

What is a Swap space ? Why is the use of it ?

A: Generally when Kali Linux is installed on a partition, it creates another partition called Swap space or Swap partition. Work of Swap partition in Linux is just similar to the Pagefile.sys(C:\pagefile.sys) in Windows. System puts all the recently non-used application from the RAM to the Swap partition to clear up the RAM and create some free space in RAM.

More the RAM is free, More the system will be responsive.

Why 40 GB of partition is recommended ?

A: Kali Linux itself takes at least 11 GB of space after installation. and moreover it automatically creates a Swap partition for better performance. As you have installed Kali Linux directly on PC, you can use it as your primary OS to work by installing required S/W in it and it will not bother you about the free space.

P.S: We will also need some extra space for dictionary attacks during Wi-Fi cracking.

Useful Links:


TP-LINK TL-MR3420 300 MB/s Wireless Router 2x 5dBi antennas

Network Adapters:

Alfa AWUSO36NH High Gain B/G/N USB / Alfa AWUS036NHA B/G/N USB

High Gain Antenna:

Alfa 9dBi WiFi Omni-Directional High-Gain Antenna

USB Drive (32 GB):

SanDisk Ultra Fit  USB 3.0  32GB Pen Drive (International)

SanDisk Ultra USB 3.0 32 GB Pen Drive (India Only)



Have some other query in mind ? Write it in comments section and let me clear you up! 🙂


  1. sir i install on 20gb partetion and remaining 60 drive not mounting why in kali 2.0 and in old version its mounting.. i have 3 hard drive 1tb 250gb and 80gb i install kali on 80gb when i went to use kali i unplug 2 drive and 80gb hard driving running 20 gb for system and 60 gb not mounting why?

    1. If you have Windows installed on other partition then it is possible, when you haven’t shut down Windows properly. Try booting into Windows and shut it down properly.

      If it isn’t, can you please provide a screenshot of the error you are seeing ?
      You can use http://prnt.sc/ to upload the image.

        1. Ibrahim,
          as you can notice the last 3 lines of the above image, it says “Please resume and shutdown windows fully”. Which means you might have hibernated the Windows or possibly performed a fast shutdown.
          Please try logging into Windows and shut it down properly then log into Kali Linux, it most probably will work.

          NOTE: Do not Hibernate, Only Shutdown

          1. sir i shut down properly but when i run up computer its not showing which operating you went to use windows or kali dual boot then i unplug the harddrive in which windows install i unplug and remain other driver in which kali install i think i install wroung dual boot….thats why its not opening

          2. Seems you have installed Kali and Windows on 2 different Hard Drives, using an MBR(Master Boot Record) that exists, most probably on your 80 GB Hard drive.
            but your Windows is installed on another Hard Drive and apparently became inaccessible.

            You can follow these steps to make the Windows and partition working again
            1. Connect the drive that has Windows installed, unplug the 80 GB Drive.
            2. If you succeed logging into Windows and shutdown Windows properly i.e the normal way.
            3. Unplug Windows Hard Drive and plug in the 80 GB drive and check if it works.

            You have to log into windows to get the drives working in Kali Linux because due to improper shutdown of Windows the partition remained uncleaned, as proper shutdown clean the partition. Which then become accessible in any Linux distribution.

            Try the above steps and let me know if it works, or you can try fixing GRUB(Grand Unified Bootloader, for Linux) see this video to make Windows in the Dual Boot option
            Make sure you have both drives connected while fixing the GRUB.

Leave a Reply

Your email address will not be published. Required fields are marked *