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
-
How To: These High-Quality Courses Are Only $49.99
-
How To: Perform Advanced Man-in-the-Middle Attacks with Xerosploit
-
How To: The Best-Selling VPN Is Now on Sale
-
How To: Unlock Facial Detection & Recognition on the Inexpensive ESP32-Based Wi-Fi Spy Camera
-
How To: Learn C# & Start Designing Games & Apps
-
How To: Set Up a Wi-Fi Spy Camera with an ESP32-CAM
-
How To: Get a Jump Start into Cybersecurity with This Bundle
-
How To: Hack Networks & Devices Right from Your Wrist with the Wi-Fi Deauther Watch
-
How To: This Top-Rated Course Will Make You a Linux Master
-
How To: Fingerprint Web Apps & Servers for Better Recon & More Successful Hacks
-
How To: Protect Your Browsing with This 10-Year VPN Subscription
-
How To: Write Your Own Subdomain Enumeration Script for Better Recon
-
How To: Learn to Code Today with This $20 Web Development Course
-
How To: Install Kali Linux as a Portable Live USB for Pen-Testing & Hacking on Any Computer
-
How To: Master Python, Django, Git & GitHub with This Bundle
-
How To: Clear the Logs & Bash History on Hacked Linux Systems to Cover Your Tracks & Remain Undetected
-
How To: Master Python, Linux & More with This Training Bundle
-
How To: Master Excel with This Certification Bundle
-
How To: Play Wi-Fi Hacking Games Using Microcontrollers to Practice Wi-Fi Attacks Legally
-
How To: This Python Bundle Can Teach You Everything You Need to Know
-
How To: Crack SSH Private Key Passwords with John the Ripper
-
How To: Dox Anyone
-
Tutorial: DNS Spoofing
-
How To: Scan for Vulnerabilities on Any Website Using Nikto
-
How To: Check if Your Wireless Network Adapter Supports Monitor Mode & Packet Injection
-
How To: Make Your Own Bad USB
-
How To: Target Bluetooth Devices with Bettercap
-
How To: Top 10 Things to Do After Installing Kali Linux
-
How To: Bypass File Upload Restrictions on Web Apps to Get a Shell
-
How To: Use Burp & FoxyProxy to Easily Switch Between Proxy Settings
-
How To: Hack Wi-Fi Networks with Bettercap
-
How To: Use Command Injection to Pop a Reverse Shell on a Web Server
-
How To: Use John the Ripper in Metasploit to Quickly Crack Windows Hashes
-
BT Recon: How to Snoop on Bluetooth Devices Using Kali Linux
-
How To: Enumerate SMB with Enum4linux & Smbclient
-
How To: Find Vulnerable Webcams Across the Globe Using Shodan
-
How To: Find Passwords in Exposed Log Files with Google Dorks
-
How To: Exploit EternalBlue on Windows Server with Metasploit
-
How to Hack Wi-Fi: Stealing Wi-Fi Passwords with an Evil Twin Attack
-
Tutorial: Create Wordlists with Crunch
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