Results 1 to 9 of 9

Thread: Can't Get Persistence to Work

  1. #1
    Join Date
    2017-Mar
    Posts
    11

    Can't Get Persistence to Work

    Running Kali Linux - Rolling via live USB.

    I can boot from the live USB just fine. I've set up a separate persistence partition with more than enough space (16gb flash drive - 10gb persistence partition). But when I try to follow the instructions to setup the persistence it doesn't ever seem to work. I boot up into Kali live and punch this into the terminal:

    mkdir -p /mnt/my_usb
    mount /dev/sdb2 /mnt/my_usb
    echo "/ union" > /mnt/my_usb persistence.conf
    umount /dev/sdb2 && reboot

    Upon rebooting I then boot into Kali Live - Persistence. I then create a leaf pad document, save it to the desktop, reboot, boot back into Kali Live persistence, and the leaf pad doc is gone.

    Please help! Any assistance would be greatly appreciated.

  2. #2
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Is your persistence partition filesystem ext4?

  3. #3
    Join Date
    2017-Mar
    Posts
    11
    Yes. It is ext4.
    Capture1.jpg

  4. #4
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Convert that partition into ext3.

  5. #5
    Join Date
    2017-Mar
    Posts
    11
    Okay so I converted that partition to ext3. I then created the "/many/my_usb" directory. But upon actually trying to mount it with "mount /dev/sdb2 /mint/my_usb" I receive the following message:

    mount: wrong fs type, bad option, bad superblock on /dev/sdb2, missing codepage or helper program, or other error


    Any idea where to go from here?

  6. #6
    Join Date
    2013-Jul
    Posts
    844

  7. #7
    Join Date
    2017-Mar
    Posts
    11
    Thanks, mmusket33. Looking through those tutorials there isn't much that stands out to me in terms of things I haven't tried. The only difference I notice is that named my partition "Persistence" with a capital "P". And yet whenever I enter the command: [echo "/ union" > mount /my_usb persistence.conf] with a lower case "p".

    Could this be the problem?

    Also, I'm still having the same issue I listed above after reformatting the persistence partition as ext3. Can anyone confirm whether or not it should be ext3 or ext4?

  8. #8
    Join Date
    2013-Jul
    Posts
    844
    To RustyNail

    Enter the commands as printed in the tutorial. Use usb NOT my_usb. We use ext4. Use lower case for persistence especially when you name the partition using gparted. You may have named the partition with a capital P during the gparted formating process. The only variable is the designation for the drive ie sda sdc etc. You have to get that from the designation seen in gparted. We have found some flashdrives do not work but this is very rare for us.


    Musket Teams
    Last edited by mmusket33; 2017-03-29 at 12:59.

  9. #9
    Join Date
    2017-Mar
    Posts
    11
    Just wanted to say I got everything working. Thanks for the help.

    Turns out I had named the partition "Persistence" with a capital "P". And then, when entering the command, I was using a lower case "p". Case sensitive screw up strikes again. To think that was all that was holding me back this entire. At any rate, thank you very much for the help. I certainly appreciate it.

Similar Threads

  1. how does updating work with kali live with persistence?
    By bmike1 in forum Installing Archive
    Replies: 0
    Last Post: 2023-01-29, 12:46
  2. Can't Transfer Files From Tails Persistence to Kali Persistence
    By beeks in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2019-05-16, 00:34
  3. Can't get persistence to work on 32Gb USB drive
    By Levi63 in forum Installing Archive
    Replies: 6
    Last Post: 2019-04-11, 12:47
  4. Replies: 2
    Last Post: 2016-06-27, 12:01
  5. Getting persistence to work with package installs
    By jwynn57 in forum Installing Archive
    Replies: 0
    Last Post: 2013-09-02, 20:02

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •