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: How to Track Who Is Sms Bombing Me . 4 Replies
2 mo ago -
Forum Thread: Removing Pay-as-You-Go Meter on Loan Phones. 1 Replies
2 mo ago -
Forum Thread: Hydra Syntax Issue Stops After 16 Attempts 3 Replies
2 mo ago -
Forum Thread: moab5.Sh Error While Running Metasploit 17 Replies
3 mo ago -
Forum Thread: Execute Reverse PHP Shell with Metasploit 1 Replies
4 mo ago -
Forum Thread: Install Metasploit Framework in Termux No Root Needed M-Wiz Tool 1 Replies
5 mo ago -
Forum Thread: Hack and Track People's Device Constantly Using TRAPE 35 Replies
6 mo ago -
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
7 mo ago -
Forum Thread: HACK ANDROID with KALI USING PORT FORWARDING(portmap.io) 12 Replies
7 mo ago -
Forum Thread: Hack Instagram Account Using BruteForce 208 Replies
7 mo ago -
Forum Thread: Metasploit reverse_tcp Handler Problem 47 Replies
9 mo ago -
Forum Thread: How to Train to Be an IT Security Professional (Ethical Hacker) 22 Replies
9 mo ago -
Metasploit Error: Handler Failed to Bind 41 Replies
9 mo ago -
Forum Thread: How to Hack Android Phone Using Same Wifi 21 Replies
10 mo ago -
How to: HACK Android Device with TermuX on Android | Part #1 - Over the Internet [Ultimate Guide] 177 Replies
10 mo ago -
How to: Crack Instagram Passwords Using Instainsane 36 Replies
10 mo ago -
Forum Thread: How to Hack an Android Device Remotely, to Gain Acces to Gmail, Facebook, Twitter and More 5 Replies
10 mo ago -
Forum Thread: How Many Hackers Have Played Watch_Dogs Game Before? 13 Replies
10 mo ago -
Forum Thread: How to Hack an Android Device with Only a Ip Adress 55 Replies
11 mo ago -
How to: Sign the APK File with Embedded Payload (The Ultimate Guide) 10 Replies
11 mo ago
-
How To: Scan for Vulnerabilities on Any Website Using Nikto
-
How To: Use Burp & FoxyProxy to Easily Switch Between Proxy Settings
-
How To: Crack Password-Protected Microsoft Office Files, Including Word Docs & Excel Spreadsheets
-
How To: Find Identifying Information from a Phone Number Using OSINT Tools
-
How To: Top 10 Things to Do After Installing Kali Linux
-
How To: Spy on Traffic from a Smartphone with Wireshark
-
How To: Crack Shadow Hashes After Getting Root on a Linux System
-
How To: Escape Restricted Shell Environments on Linux
-
How To: Spy on Your "Buddy's" Network Traffic: An Intro to Wireshark and the OSI Model
-
How To: Find Vulnerable Webcams Across the Globe Using Shodan
-
How To: Use Kismet to Watch Wi-Fi User Activity Through Walls
-
How To: Use Metasploit's WMAP Module to Scan Web Applications for Common Vulnerabilities
-
How To: Dox Anyone
-
How To: Intercept Images from a Security Camera Using Wireshark
-
How To: Use SQL Injection to Run OS Commands & Get a Shell
-
How To: Build a Beginner Hacking Kit with the Raspberry Pi 3 Model B+
-
Steganography: How to Hide Secret Data Inside an Image or Audio File in Seconds
-
How to Hack Wi-Fi: Get Anyone's Wi-Fi Password Without Cracking Using Wifiphisher
-
How To: Fix Bidirectional Copy/Paste Issues for Kali Linux Running in VirtualBox
-
How To: Exploit EternalBlue on Windows Server with Metasploit
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