Results 1 to 5 of 5

Thread: How to disable/lock persistence?

  1. #1
    Join Date
    Dec 2010
    Beans
    4

    How to disable/lock persistence?

    Hi, i made a persistent Live USB from the Ubuntu Maverick option “Startup Disk Creator” in the live cd distro. It works really good, i’ve installed the apps and changes i wanted, but now i’d like to ‘lock’ persistency so no new changes or any data whatsoever may be stored. Is there a way to disable this capability so it may behave just like the CD adding the changes i made?

  2. #2
    Join Date
    Jun 2007
    Location
    Hikkaduwa, Sri Lanka
    Beans
    3,449
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: How to disable/lock persistence?

    I have not been successful trying to freeze persistence.
    Every mod is stored in a file named casper-rw.
    I have not found a way to limit permission or make read only.

  3. #3
    Join Date
    Dec 2010
    Beans
    4

    Re: How to disable/lock persistence?

    Thanks for your quick reply, hope someone may come up with a solution, i couldn't find a way to change permissions either... u_u

    I thought i read somewhere about an application which can 'clone' the live USB (changes included) to a CD... have you heard of it?.. it wouldn't be the best solution but it definitely serves my interests.

    regards ( ^,^)/

  4. #4
    Join Date
    Aug 2006
    Beans
    1,222

    Re: How to disable/lock persistence?

    The casper-rw file is a block file formatted as ext2. You can mount it on another Linux system, navigate to the mountpoint, and do 'sudo chmod -R 766'. That should make it read only for anyone except root.
    There's no place like ~/

  5. #5
    Join Date
    Dec 2010
    Beans
    4

    Re: How to disable/lock persistence?

    Thanks again for you replies,

    Being as noob as i am:
    A strange thing for me, i've created a new (default) user account in the Live USB but is also persistent, even when permissions on casper-rw says -rx- for users...

    Is it possible to mount the casper-rw file in a new user account created in the same Live USB to obtain the same desktop/apps/changes i made on the original persistent session but being -rx-?

    ( *.*)/

Tags for this Thread

Bookmarks

Posting Permissions

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