PDA

View Full Version : Install Kali Linux live on a USB drive with persistence step by step



eloylb
2020-08-22, 15:52
<span style="font-family: Roboto">
https://dai.ly/x7vq44v

Step by step instructions to install and run Kali Linux on a USB thumb drive with persistence so you can run it from any computer without loosing the files and settings

Laptops boot hot keys
Dell: Tap F12 when the Dell logo is displayed.
HP: Tap F9 when the HP logo is displayed
Lenovo: Tap F12 when the Lenovo logo is displayed.
Toshiba: Tap F12 or F2 when the Toshiba logo appears.
Acer: Tap F12 as the Acer logo appears.
Other: Try tapping Esc, F1-12, or Enter during bootup.
Disclaimer:All the files on the USB thumb drive will be deleted. So make sure you are using a USB drive that doesn't contain any data you want.We are not responsible for any damage that may occur or to any data that might be lost
Use Kali Linux only for penetration testing

abcd567
2020-08-26, 22:39
Thank you.

eloylb
2020-08-28, 18:02
You're welcome

kalisux
2021-02-07, 20:39
this doesn't work. i've followed this tutorial and several others mounting the partition on my usb, made the persistence.conf file, etc, i've done it all and it just doesn't work, whenever i reboot all files and settings are reset no matter what i do. i've been working on this ALL day and am getting very annoyed now. i haven't even gotten to attempt what i want kali for in the first place because this wont work!

https://devanswers.co/guide-kali-linux-2018-live-usb-persistence-windows/

https://www.ethicalhackingtool.com/live-kali-linux-usb-persistence/

https://linuxhint.com/kali_linux_usb_persistence/

https://unix.stackexchange.com/questions/306096/kali-wont-save-adding-persistence-to-kali-linux-rolling

i've followed all these "tutorials" and more, multiple times each, even starting from scratch with new kali download and followed youtube videos, they all basically the same, i've followed them to the letter and it does. not. work.....why????

please, this is infuriating. what is wrong? why wont this work?

Ronaldarowl
2021-05-12, 00:50
ok i have recieved 10.5.6 and still have problems. i can install it on my mini but when i try to shut down them start it back up it wont boot up. its a new dell mini 10 v with 1 gig of ram and 120 gig hard drive. what programs do i need to make it work? thanks in advance

dustyboner
2021-07-21, 14:33
this doesn't work. i've followed this tutorial and several others mounting the partition on my usb, made the persistence.conf file, etc, i've done it all and it just doesn't work, whenever i reboot all files and settings are reset no matter what i do. i've been working on this ALL day and am getting very annoyed now. i haven't even gotten to attempt what i want kali for in the first place because this wont work!

https://devanswers.co/guide-kali-linux-2018-live-usb-persistence-windows/

https://www.ethicalhackingtool.com/live-kali-linux-usb-persistence/

https://linuxhint.com/kali_linux_usb_persistence/

https://unix.stackexchange.com/questions/306096/kali-wont-save-adding-persistence-to-kali-linux-rolling

i've followed all these "tutorials" and more, multiple times each, even starting from scratch with new kali download and followed youtube videos, they all basically the same, i've followed them to the letter and it does. not. work.....why????

please, this is infuriating. what is wrong? why wont this work?



try going by the kali guide (https://www.kali.org/docs/usb/usb-persistence/)

but instead of this

kali@kali:~$ mkdir -p /mnt/my_usb
kali@kali:~$ mount /dev/sdb3 /mnt/my_usb
kali@kali:~$ echo "/ union" > /mnt/my_usb/persistence.conf
kali@kali:~$ umount /dev/sdb3

replace it with

kali@kali:~$ mkdir -p /lib/live/mount/persistence/sdb3
kali@kali:~$ mount /dev/sdb3 /lib/live/mount/persistence/sdb3
kali@kali:~$ echo "/ union" > /lib/live/mount/persistence/sdb3/persistence.conf

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

i just came found live-clone which seems like it may be useful if nothing else works for ya.



GUI to clone and manage Live-Build USB sticks

This application allows one to make bootable USB sticks from an
iso-hybrid image issued by Live-Build. It adapts additionally a
persistence partition to use the free space on the USB stick.

It features also management tools for live USB sticks: when such
USB disks are used daily, they happen to have inconsistencies in their
persistence area which can render them unusable. Tools are provided to
save persistence data when necessary, and to blank the persistence area,
so the USB disk can be used again.

The application detects when it is run from a Debian-Live environment,
thus featuring seamless auto-cloning.



kali@kali:~$ sudo apt-get install live-clone