View Full Version : Persistent mode Kali linux does not save settings.

2023-07-28, 14:38
Good day to everyone. I am trying to configure persistent mode, but Kali linux does not save the settings. I did everything according to the instructions https://www.kali.org/docs/usb/usb-persistence/ I just substituted my values (instead of sdb, I wrote sdc), but after restarting Kali linux, the settings are not saved. What could be the problem in my case?
Here are the screenshots, on them sdc2 is a created section for settings:

https://i.postimg.cc/ZK2XHJcw/Screenshot-2023-07-28-13-51-25.png (https://postimg.cc/hf8CPWNm)

https://i.postimg.cc/bNsK1ZQG/Screenshot-2023-07-28-13-54-04.png (https://postimg.cc/zVYtrX25)

https://i.postimg.cc/c1DpKR8y/Screenshot-2023-07-28-13-56-35.png (https://postimg.cc/6TvjgG0Y)

I'm sorry for the big screenshots, but I didn't find the settings for how to hide images under the spoiler.

Fred Sheehan
2023-08-27, 23:02
Once set up..

We can now reboot into ?Live USB Persistance.? Keep in mind we will need to select this boot option every time we wish to have our work stored.

2023-09-17, 16:15
1. Make sure your USB drive is formatted correctly. Kali Linux requires a Linux filesystem for the persistence partition. You can format the partition using a tool like GParted, and make sure to choose a filesystem like EXT4 or XFS.
2. Make sure your persistence partition is large enough. The persistence partition should be at least as large as the amount of data you want to save. If your persistence partition is too small, Kali Linux may not be able to save all of your changes.
3. Make sure you are using the correct boot menu entry. When you boot from your Kali Linux USB drive, you should see two boot menu entries: one for live mode and one for persistent mode. Make sure you are selecting the persistent mode boot menu entry.
4. Try repairing your persistent partition. If you have tried all of the above and Kali Linux is still not saving your settings, you can try repairing your persistent partition. To do this, follow these steps:

Boot into Kali Linux live mode.
Open a terminal window.
Type the following command:

sudo fdisk /dev/sdc

Replace /dev/sdc with the device name of your USB drive.

Press the p key to list the partitions on your USB drive.
Identify the partition that is being used for persistence. This will usually be the second partition on your USB drive.
Type the following command to repair the partition:

sudo fsck /dev/sdc2

Replace /dev/sdc2 with the device name of your persistence partition.

Press y to continue.

Once the repair is complete, type the following command to exit fdisk:

sudo exit

Reboot your computer and try booting into persistent mode.

If you are still having problems, you can try asking for help on the Kali Linux forums.
Here are some additional tips for troubleshooting persistent mode in Kali Linux:

Make sure that you are not running Kali Linux from a write-protected USB drive.
Try disabling any antivirus or security software that you are using.
Try booting into Kali Linux persistent mode on a different computer.

If you have tried all of the above and Kali Linux is still not saving your settings, you may need to reformat your USB drive and create a new persistent partition.