I have followed the tutorial from https://null-byte.wonderhowto.com/how-to/create-bootable-persistent-kali-linux-usb-with-ease-0166067/ here on null-byte. When Kali is running on the desktop there is the persistent partion. I tried leaving a test file to see if the persistence was working but the file was gone when i got back on. If i leave any files in the persistence folder on the desktop they remain in there when i get back. I'm just wondering if you guys can help me out and try and help me fix it. Thanks
Forum Thread: Kali Linux Can't Get Persistent Usb to Work?
- Hot
- Active
-
Forum Thread: When My Kali Linux Finishes Installing (It Is Ready to Boot), and When I Try to Boot It All I Get Is a Black Screen. 8 Replies
2 days ago -
Forum Thread: HACK ANDROID with KALI USING PORT FORWARDING(portmap.io) 12 Replies
1 wk ago -
Forum Thread: Hydra Syntax Issue Stops After 16 Attempts 2 Replies
1 mo ago -
Forum Thread: Hack Instagram Account Using BruteForce 208 Replies
1 mo ago -
Forum Thread: Metasploit reverse_tcp Handler Problem 47 Replies
2 mo ago -
Forum Thread: How to Train to Be an IT Security Professional (Ethical Hacker) 22 Replies
2 mo ago -
Metasploit Error: Handler Failed to Bind 41 Replies
3 mo ago -
Forum Thread: How to Hack Android Phone Using Same Wifi 21 Replies
3 mo ago -
How to: HACK Android Device with TermuX on Android | Part #1 - Over the Internet [Ultimate Guide] 177 Replies
3 mo ago -
How to: Crack Instagram Passwords Using Instainsane 36 Replies
3 mo ago -
Forum Thread: How to Hack an Android Device Remotely, to Gain Acces to Gmail, Facebook, Twitter and More 5 Replies
3 mo ago -
Forum Thread: How Many Hackers Have Played Watch_Dogs Game Before? 13 Replies
3 mo ago -
Forum Thread: How to Hack an Android Device with Only a Ip Adress 55 Replies
4 mo ago -
How to: Sign the APK File with Embedded Payload (The Ultimate Guide) 10 Replies
4 mo ago -
Forum Thread: How to Run and Install Kali Linux on a Chromebook 18 Replies
5 mo ago -
Forum Thread: How to Find Admin Panel Page of a Website? 13 Replies
6 mo ago -
Forum Thread: can i run kali lenux in windows 10 without reboting my computer 4 Replies
6 mo ago -
Forum Thread: How to Hack School Website 11 Replies
6 mo ago -
Forum Thread: Make a Phishing Page for Harvesting Credentials Yourself 8 Replies
6 mo ago -
Forum Thread: Creating an Completely Undetectable Executable in Under 15 Minutes! 38 Replies
7 mo ago
-
How To: Dox Anyone
-
How To: Crack SSH Private Key Passwords with John the Ripper
-
How To: Hack Apache Tomcat via Malicious WAR File Upload
-
How To: Scan for Vulnerabilities on Any Website Using Nikto
-
How To: Perform Advanced Man-in-the-Middle Attacks with Xerosploit
-
How To: Use John the Ripper in Metasploit to Quickly Crack Windows Hashes
-
How To: Hack Wi-Fi & Networks More Easily with Lazy Script
-
How To: Hack Android Using Kali (UPDATED and FAQ)
-
How To: Exploit EternalBlue on Windows Server with Metasploit
-
How To: Use Burp & FoxyProxy to Easily Switch Between Proxy Settings
-
How To: Find Vulnerable Webcams Across the Globe Using Shodan
-
How To: Find Identifying Information from a Phone Number Using OSINT Tools
-
BT Recon: How to Snoop on Bluetooth Devices Using Kali Linux
-
How To: Brute-Force Nearly Any Website Login with Hatch
-
How To: Gain SSH Access to Servers by Brute-Forcing Credentials
-
How To: Enumerate SMB with Enum4linux & Smbclient
-
How To: Spy on Traffic from a Smartphone with Wireshark
-
Hack Like a Pro: How to Find Directories in Websites Using DirBuster
-
How To: Brute-Force FTP Credentials & Get Server Access
-
How To: Use Kismet to Watch Wi-Fi User Activity Through Walls
5 Responses
I've followed that tutorial... It's kind of vague at some parts. Don't exactly remember what I did, but try reinstalling Kali on to the drive, and then follow the instructions in bold below:
fdisk -l # Lists drives
mkdir /mnt/usb # Don't replace usb with anything...
mount /dev/sda2 /mnt/usb # Replace sda2 with the drive name...
echo "/ union" >> /mnt/usb/persistence.conf # Writes / union to persistence file
umount /mnt/usb && reboot # Unmounts drive and reboots if successful
Thanks for the reply. I have followed these steps with no success, i have kali booted on a 64 gb usb with 4gb partition for the bootable iso and the rest partitioned as a primary ext4 partition i am able to access the drive and save stuff in their but anything outside the drive is erased after shutdown e.g. system settings don't save after reboot or files. I understand that i need to be using the correct partition which is sdb2 to be precise, just not sure whats going on . I will keep trying to fix the problem as again thank you for putting in the effort to come up with a response will be sure to let you know if i get it working.
I HAVE AN IDEA
Use another memstick. A smaller one with kali Live installed. Then have your other 64gb memstick plugged in. Boot up from the smaller memstick with Live Kali installed on it, and then from there you install it into your large memstick when it asks you where to install it to. Then you can skip grub loader install and you're good to go.
Now you can insert and boot that memstick from any pc that supports the version(32bit or 64bit) of kali you installed.
And when you come out, it should save.
Hopes this helps.
Cheers
echo "/ union" >> /mnt/usb/persistence.conf
won't work correctly.
Use the following:
sudo sh -c 'echo "/ union" > /mnt/usb/persistence.conf'
Don't forget the single quotation marks before echo and at the end.
I have the same problem as the above and I have also try John Lam ways but that still doesn't work at all. What about buying a new USB instead
Share Your Thoughts