Skip to main content

Install Kali Linux - Right from creating bootable USB drive to resolve wifi not connected issue post Kali installation

Install Kali Linux as Dual boot mode in Windows

Table of Contents

Create a bootable USB pen drive

  1. Download the following files
  2. Open Rufus exe as Administrator
  3. Select the USB drive location
  4. Select the Kali ISO image
  5. Set Volume name - any name
  6. Click Start and set write mode as "DD" not "ISO" mode to avoid any installation error
Now your bootable USB drive is ready

Set up partition for Kali OS using Kali Live

You can use kali linux as live mode when you don't want to have a persistent install in your system. I would like to install it my PC in dual boot mode, So i can use GRUB bootloader to load kali or windows during system start

To install kali linux in your system, you need to partition your disk space, lets do that

  • Insert USB drive and boot kali linux during system start up using boot using option
  • Your default Kali linux username and password are 'root' and 'toor' respectively
  • You can refer to the below link to proceed further

This will install Grub bootloader in your system, your next step is to set your PC use this option whenever system boots up

Configure bootloader in BIOS

To go to bootloader option - Press Shift key while click on 'restart' button

  • Change the OS bootloader to use "Kali linux Grub Boot loader"
  • Restart and check now

Resolve Locate packages not found issue

If you get error "E: Unable to locate package" try following the steps below

  • Open sources.list file using this command - "leafpad /etc/apt/sources.list"
  • Remove the existing content and replace it the following entries
    • Copy the content from the Regular repositories & Sources repositories - Refer the link below
    • Kali Repositories
    • Save and exit the file

    Now you should be able to install any packages if you want

Resolve Wifi adapter not detected issue

Check out the solution below only if your Wifi is not working

To resolve the wifi issue, execute the following commands

  1. Update the list of available packages. Install the relevant/latest linux-image, linux-headers and broadcom-sta-dkms packages:
    • # apt-get update # apt-get install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') broadcom-sta-dkms
  2. Unload conflicting modules:
    • # modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
  3. Load the wl module
    • # modprobe wl

Restart your PC to see wifi option available in the menu.

Resolve Bluetooth working issue

Check out the solution below only if your bluetooth is not working

To resolve the bluetooth issue, go through this blog

Restart your PC to see Bluetooth is ON in the menu. Happy Pentesting!

Comments

Popular posts from this blog

Analyse Battery Usage using Battery Historian Tool in Android Phones

Battery Historian: Battery Historian is a tool to inspect battery related information and events on an Android device running Android 5.0 Lollipop (API level 21) and later, while the device was not plugged in. Battery Historian Tool: Ideally you should be hosting this tool in local server, since that takes time we can use this tool freely available online https://bathist.ef.lc/ Steps to do before taking battery logs: To reset the existing battery logs for a phone adb shell dumpsys batterystats --reset Now use the application which you want to take the battery analytics. After you reach the desired time you can connect the phone to your PC to take the Bug Report file. Command to use: For devices Android 7.0 & higher $ adb bugreport bugreport.zip For devices Android 6.0 & lower $ adb bugreport > bugreport.txt Start Analyzing now Open  https://bathist.ef.lc/ Upload the bugreport.txt Filter the app using the package name to get ...

Deploy your portfolio site from GitHub using Netlify

Prerequisite: You must have a github account Create project and clone to your local Create a github project in github.com Clone your code from github cloud to local git clone https://username:password@github.com/alexjohn/project1.git Git init Make changes to your code Git add .  Git commit -m "commit message" Git push origin master Above steps will make you push your local changes to github cloud Log in to your Netlify account & Click New site from Git Step 1 Step 2 Select your repository and publish your site You will be given a random generated URL from Netlify. You can update the replace the URL with  your custom domain name To map your custom domain name to Netlify site Add a A record to your domain in your domain registrar site (godaddy/namecheap) A record Host @ IP Address: 104.198.14.52 If your DNS provider does  not  support CNAME-style resolution for apex domains , you must con...

Localhost is not intercepted by Burp Suite

To set your burp suite proxy to listen to your locahost you need to follow the steps mentioned below Go to Menu -> Options Navigate to 'Network Settings' Click on 'Settings' Set Manual configuration as shown in the image below Also Remove all the entries in 'No Proxy for' window (highlighted)