Skip to main content

Install Kali Linux (live) on USB/Hard disk

Kali Linux is a Debian-derived Linux distribution designed for digital forensics and penetration testing. It is maintained and funded by Offensive Security Ltd. It is commonly used for hacking. So, in this post I will tell you how to install on external USB or Hard disk. Best thing about Kali is that it can be used directly from your external device and you don't have to install in on your computer.

Things required: 

Step 1: Download Kali Linux. Any version that suits you. The light version will have less applications installed.

Step 2: Download Rufus. Rufus will help us make the USB bootable. I download the portable version. 

Step 3: Open Rufus, Select the device (If you are using an external hard disk press Alt + F, it will enable detection of the Hard disk) and ISO file for Kali linux in Boot Selection. Then click start

 

There will be some prompts just press OK.

Step 4: Now you have made your drive bootable. You can use this by booting in the USB/Hard drive. Default username for kali is "root" and password is "toor".

(Optional): Persistence for Kali Linux

Persistence for Kali means that you will be able to store data in Kali Linux. By default whenever you use Kali Linux Live mode it will start fresh. But you can avoid that by creating a persistence drive. So to make a persistence drive, just follow these steps:

Step 5: Download and install Minitool. Then start minitool. Click on "Disk & Partition Management", then right-click on your external drive and select Move/Resize option.

  
 Now resize the size by adjusting the slider. I recommend using at least 5 GB for persistence. Once done, Restart your computer.

Step 6: Boot in Kali linux, open gparted (if not installed just type "apt install gparted"). Select your disk from drop down list at top-right of the window. Then right click on the unallocated space and select create option. Select the type to be ext4 as it is default file system for linux. The press apply button. 

Step 7: Open your terminal and type following commands:
  • mkdir /mnt/usb
  • mount /dev/sda2 /mnt/usb <------ replace 'sda2' with the name of your partition. Notice it is NOT the partition I just created and named 'persistence', it's the one that was already there to begin with and had to resize.
  • echo "/ union" >> /mnt/usb/persistence.conf
  • umount /mnt/usb
Step 8: Test by saving a file and restarting
.

Comments

Popular posts from this blog

Social Influence: Some tips and tricks

In our previous posts, we have learnt about some of the techniques in Social Psychology. Now in this post I want to tell you about some techniques that you can use in real life to influence people or to protect yourself from being influence by other people and make rash decisions. Some of the tips are: People more likely to help you when you ask them to imagine or predict doing something. Telling some stranger your name first can also be helpful when asking a favour. One can say “Hello, I am ___ and I was wondering whether you do me a favour.” Talking with people is more helpful that talking at people when asking for something/favour. Engaging people in dialogues rather than a monologue. Now I would like to tell you about the most commonly used persuasion techniques. These techniques are: 1.       Foot-in-the-door technique 2.       Door-in-the-face technique 3.       Low-ball technique N...

Poker Analysis using Python (numpy and pandas)

In this I did an analysis on poker. I made my own dataset by randomly selecting 7 cards from the dataset. It does not gives the actual results. It is more of a simulation of actual data. I have used jupyter-notebook for this you can use any IDE according to your liking. Start by importing the modules. import pandas as pd import numpy as np import random import time Then I created a function calculate_hand which takes hand as a list and returns a boolean list with the corresponding values [royal_flush, straight_flush, four_of_a_kind, full_house, flush, straight, three_of_a_kind, two_pairs, pair, highcard] . If the hand has three cards of same value three_of_a_kind will be True , also pair will be True because if a hand has three of a kind, it also has a pair. Highcard always return the high card. ALL_CARDS_NUM = {'2': 2, '3': 3, '4': 4, '5': 5, '6': 6, '7': 7, '8': 8, '9': 9, 'T': 10, 'J': ...

Science of Persuation: How to persuade others?

According to wikipedia.org, Persuasion is: Persuasion is an umbrella term of influence . Persuasion can attempt to influence a person's beliefs , attitudes , intentions , motivations , or behaviors . In other words, persuasion is a process aimed at changing a person's (or a group's) attitude or behaviour toward some event, idea, object, or another person(s). Knowing some of the persuasion techniques can be very helpful for a person as this techniques can help that person to excel in life (and/or his respective field like business, study, and even relationships). So let's begin by asking these three questions and then I will tell you about Robert Cialdini 's 6 principles of persuasion. So the questions are: Should one use counter-arguments while persuading? Should you take the central route (or peripheral route) to persuasion? Should you scare the receiver of the persuasion? Answering these questions, counter-arguments can be helpful at times w...