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:
- External USB/Hard disk.
- Kali Linux iso file
- Rufus
- (Optional) Minitool
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
.
Comments
Post a Comment