Guide: Kali Linux 2019 | 2018 |2.0 sana Live USB with Persistence (Windows)

In this guide we will introduce Kali Linux 2019 Live USB (likewise works with Kali Linux 2018 & 2.0 sana) and configure a persistent partition so we can retain files and setting between reboots.


On the off chance that you need persistent with encryption, if you don't mind see: Guide: Kali Linux 2019 and 2018 Live USB with Encrypted Persistence (Windows) 

1.Write  Kali Linux ISO to USB

UPDATE DEC: Tested and working in both Kali Linux 2019 and Kali Linux 2018 & 2.0 sana. Tell us in the remarks in the event that you have any issues.

Right off the bat, download the most recent rendition/version of Kali Linux 2019, or any of the above mentioned versions... here (direct likewise works with Kali Linux 2018) which will have the most recent security updates and devices. In this guide we are utilizing the Kali Linux 2019 64 Bit picture, however it should work fine with the 32 Bit and Light pictures too.

Write the ISO to your USB drive utilizing an apparatus like Universal USB Installer or UNetbootin. or Power iso In this guide we are utilizing Universal USB Installer.

Run Universal USB Installer. 

Stage 1: Select Kali Linux from the dropdown menu. (Kali is recorded under Security and Penetration Testing).

Stage 2: Browse for the Kali Linux 2019 ISO you downloaded.

Stage 3: Select your USB drive from the drowpdown menu.

Presently select the checkbox Fat32 Format Drive (Erases Content).

At long last, click Create.

It may take a few minutes to write the ISO to USB. Once complete, continue to Step 2 to set up partitions

2. Resize USB Partition 

Presently that your Kali Linux 2019 ISO has been kept in touch with your USB drive, we can start setting up partitions to work with Kali Live Persistence. You can configure partitions with the partition manager of your choice, but in this guide we are going to use MiniTool Partition Wizard

Download and install MiniTool Partition Wizard Free Edition for Windows. 

Once installed, run and choose MiniTool Partition Wizard Free. 

Right-click on the blue disk space bar of your USB drive and click Move/Resize. In the example below, the USB drive is Disk 3 and it has a blue USB icon over it.

Resize the segment to 4GB and click OK. 

3. Make Persistence Partition 
Right-click on the Unallocated segment and click Create.

Click Yes if you see a message “The new created partition cannot be used in Windows. Because Windows could only recognize the first partition on a removable disk. Do you want to continue?”

  1. In the File System dropdown, select EXT4.

  2. In the Partition Label field, enter persistence. It’s important that you spell this correctly.

  3. Use the maximum partition size available and click OK.


At last, click Apply in the upper left-hand corner and snap Yes to apply changes.

The Partition Wizard will currently set up your allotments. This may take some time contingent upon the size of your USB drive. When done, close Partition Wizard and securely discharge your USB drive.

4. Boot Into Kali 2019 Live USB 

When dividing is finished, restart your machine and boot from USB.

You may need to do some looking on Google on the best way to boot from USB on your specific machine. In some cases squeezing Shift and the restart button in Windows will conjure a menu at bootup. On the off chance that that doesn't work, over and over squeezing one of the capacity keys (F12, F2, and so forth) or the ESC or Delete keys on bootup will summon the boot or BIOS menus on most machines.

In the Kali boot menu, select Live system (persistence, check kali.org/prst) and press Enter.
The menu may look different depending on your version of Kali.

In the event that Kali prompts for login subtleties, the default username is root and the secret key is toor.

5. Mount Persistence Partition 

When Kali has booted, we will utilize fdisk to see the plate gadgets and segments.

Open another terminal window and run:

fdisk - l 

You will see several entries for partitions and devices listed. Look for your USB drive. It will have two partitions: A 4GB partition and a persistence partition you created earlier.
Gadget Boot Start End Sectors Size Id Type

/dev/sdb1 2048 8390655 8388608 4G c W95 FAT32 (LBA)
/dev/sdb2 8390656 30463999 22073344 10.5G 83 Linux 

In the above example, we can see the USB drive with a 4GB partition and a larger persistence partition with the device name sdb2. This device name may be different on your setup. Make sure you have the right one before continuing.

Assuming our persistence partition device name is sdb2, run the following commands.

IMPORTANT: You must enter these commands exactly and ensure you choose the correct device (yours may not be sdb2), otherwise persistence will not work.

mkdir -p /mnt/my_usbmount /dev/sdb2 /mnt/my_usbecho "/ union" > /mnt/my_usb/persistence.confumount /dev/sdb2
mkdir -p /mnt/my_usb

mount /dev/sdb2 /mnt/my_usb

echo "/ union" > /mnt/my_usb/persistence.conf

umount /dev/sdb2


We’re done! Restart the machine, boot from USB, and from now on always select Live system (persistence, check kali.org/prst)

To test if persistence is working correctly, try creating an empty test folder on the Desktop and restarting. Select Live system (persistence, check kali.org/prst) again and if the test folder is still there, persistence is working correctly.

Tell me in the remarks if this made a difference. Tail me on instagram
Thanks For You Reading The Post We are very happy for you to come to our site. Our Website Domain name https://bcodedblog.blogspot.com/.
Older Posts Older Posts

More posts

Comments

Post a Comment