Thursday, May 28, 2020

How to Install Kali Linux in USB Pen drive

1: Download Kali Linux ISO Image from the official Kali Linux website


2: Then Download Power iso, and create a bootable USB.

3: Now your are ready for the installation, Reboot your device and enter into Boot Menu.

4: choose the Bootable USB stick and you will see the Kali Linux installation option, In that choose Live system ( 1st option ).


NOTE: While entering to Live Kali Linux generally it won’t ask for username and password. In case if it asked then Type “ root “ as username and “ toor “ as password.

 5: Now open up your terminal and type the following commands one by one.


“ fdisk -l

#the above command will list out all the disk that are available in your Laptop or PC . Now note down the USB name ( mostly it will be /dev/sdb ).

fdisk /dev/sdb

#now it will ask you for command, type n and hit enter

Now press enter 4 times, and type w and hit enter.

#we have successfully created the partition.   

fdisk -l

#now check whether the partition has been created or not ( copy the name of the partition that you created now eg: /dev/sdb3 )

mkfs.ext4 -L persistence /dev/sdb3

#wait until it complete and after it completes type,

e2label /dev/sdb3 persistence

#the above command will label the partition with the name persistence.

mkdir -p /mnt/hackison (you can use any name )

mount /dev/sdb3 /mnt/hackison

echo “/ union” > /mnt/hackison/persistence.conf

umount /dev/sdb3

exit

#now reboot your laptop or Pc. and enter into your boot menu

STEP 6: In the Kali Linux Boot Menu choose the 4th option Live system ( Persistence )

STEP 7: Now Let’s check whether the persistence is working good or not. To do that just change your background or create a new folder.

STEP 8: Now reboot your device and again enter into Live System ( Persistence)

NOTE: Each and every time when you want to go to persistence mode you need to choose that option. 


Any qustions. hr610913@gmail.com


No comments:

Post a Comment