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...

Abilene paradox: Group think

According to Wikipedia: In the Abilene paradox, a group of people collectively decide on a course of action that is counter to the preferences of many or all of the individuals in the group. In simple words, Abilene paradox is when each member of a group is a against the popular choice of the group and mistakenly believe that opposing it will cause a problem. It is a major problem in a big organization as well as in real life. The term was introduced by management expert Jerry B. Harvey in his 1974 article "The Abilene Paradox: The Management of Agreement". It was named like this because one day he and his family were sitting outside playing and having fun. His father-in-law jokingly suggested taking a trip to Abilene which was 44 miles away for supper. They all agreed because everyone thought other person wanted to go. But it turns out that it was an awful trip and a waste of a perfect Sunday. So, whenever such situations occur he is always reminded of that trip to Abil...

Obedience to Authority.. Milgram experiment

Obedience is a form of social influence where an individual acts in response to a direct order from another individual, who is usually an authority figure. It is assumed that without such an order the person would not have acted in this way. But this obedience can be harmful in some situations. The most famous example of this can be the Holocaust in Nazi Germany. Do we believe that all of the people in Nazi Germany wanted to kill those six million European Jew? No, but they were bound and ordered by the authorities to do so. This obedience to authority figures is in our nature. This can happen to all of us.  In one of the famous experiment, the nurses were told by the doctor to give a certain medicine to the patients which the nurses didn't know about. Out of 22 nurses which participated 21 gave those medicines to the patients. Now let's talk about the Milgram experiment. It was a series of social psychology experiments conducted by Yale University psychologist Stanl...