Login Register






Install Kali Linux on a Flash Drive with Presistence [2nd Method] filter_list
Author
Message
Install Kali Linux on a Flash Drive with Presistence [2nd Method] #1
Hello HC, After publishing my previous method if how to install Kali on a USB like you do it on a regular HDD, with Virtual Box. Many people seemed to have problems with it. I tested the method myself it worked but the problem was for people who where trying to do an Encrypted install. This method is an alternative to the first one and it's relatively easy to follow as it does not require much tools just 2 things which are:

1) Kali Linux .ISO

2) Win32 Disk Imager -- Download Here


Remember that this method will ensure Persistence but you will not be able to create an Encrypted drive. So lets begin!

Installation Steps:

1) First of all download the .ISO for Kali Linux and Win32 Imager.

2) Now open win32 Imager and select the .ISO for KALI, remember to select all types of formats before selecting Kali .iso because Win32 for default searches for .img files. Here's a pic:

[Image: 5xg2ysp.png]

3) After selecting the .ISO, press the "Write" button and let it do it's work. When done, Reboot your PC and boot from the USB

4) Boot into Kali via the USB drive, after everything is loaded open "Gparted" from the Settings.

5) After getting to the gparted interface, from the upper right hand side click on the drop down menu and select your USB drive (Critical Step!) like in the image below:

[Image: rkQSWYh.png]

6) Now you will see two separate partitions, One will be which contains the Kali image that we just installed on the Flash Drive, the other partition will be totally empty. So select your empty partition, Right click it and press "Create New Partition":

[Image: 4CkXFhQ.png]

The setting you need to change are the Label and the File System

Set them to the following values:
Code:
File System: ext4 Label: persistence

7) Now open a terminal and enter the commands:

Code:
mkdir /mnt/usb mount /dev/sdb2 /mnt/usb echo "/ union" >> /mnt/usb/persistence.conf umount /mnt/usb

Alrighty then, you are done! Just apply the changes. Reboot your PC and then boot from the USB Drive. Now when you reach the Grub Menu, Press the Tab button on your keyboard and type "persistence". This will enable persistence for that session and your work will be saved. You can do it every time if you need to enable persistence or do some personal work that needs to be saved!

This is the end of my tutorial, I hope this helps out other. This tutorial is present on Kali Linux documentation but it was not described much with images so I added some of my own and rewrote the whole tutorial Smile

Regards,
Ex094
My Blog: http://www.procurity.wordpress.com
Donations: 1HLjiSbnWMpeQU46eUVCrYdbkrtduX7snG

Reply

RE: Install Kali Linux on a Flash Drive with Presistence [2nd Method] #2
Great tutorial and explained well. Thanks for the share.
[Image: OilyCostlyEwe.gif]

Reply

RE: Install Kali Linux on a Flash Drive with Presistence [2nd Method] #3
I follow the tutorial but when i enter: mount /dev/sdb2 /mnt/usb
the output is: mount special device /dev/sdb2 does not exist

Reply

RE: Install Kali Linux on a Flash Drive with Presistence [2nd Method] #4
(11-09-2013, 02:25 PM)zeri Wrote: I follow the tutorial but when i enter: mount /dev/sdb2 /mnt/usb
the output is: mount special device /dev/sdb2 does not exist

The problem people are facing is that "sdb2" was the usb drive in my case, It might be something else in your case.. Like sdb4, It's like a numbering and naming system.

You just have to pick the correct name of your drive that's all
My Blog: http://www.procurity.wordpress.com
Donations: 1HLjiSbnWMpeQU46eUVCrYdbkrtduX7snG

Reply

RE: Install Kali Linux on a Flash Drive with Presistence [2nd Method] #5
I solved, I picked the correct name, thank you Wink

Reply

RE: Install Kali Linux on a Flash Drive with Presistence [2nd Method] #6
(11-09-2013, 04:49 PM)zeri Wrote: I solved, I picked the correct name, thank you Wink

Great Smile
My Blog: http://www.procurity.wordpress.com
Donations: 1HLjiSbnWMpeQU46eUVCrYdbkrtduX7snG

Reply

RE: Install Kali Linux on a Flash Drive with Presistence [2nd Method] #7
Nice tut -_- Biggrin

Reply

RE: Install Kali Linux on a Flash Drive with Presistence [2nd Method] #8
Nice tut -_- Biggrin

Reply

RE: Install Kali Linux on a Flash Drive with Presistence [2nd Method] #9
I have installed the Linux .iso onto a Bootable USB and for some reason it won't boot on my computer.

I have a Windows 8 Operating System and I know I installed the Linux onto the USB properly because I can get it to boot on my girlfriends laptop which is also a Windows 8 System. Would anyone know how to trouble shoot this issue?

Reply

RE: Install Kali Linux on a Flash Drive with Presistence [2nd Method] #10
I have installed the Linux .iso onto a Bootable USB and for some reason it won't boot on my computer.

I have a Windows 8 Operating System and I know I installed the Linux onto the USB properly because I can get it to boot on my girlfriends laptop which is also a Windows 8 System. Would anyone know how to trouble shoot this issue?

Reply