When I boot my laptop using my live-usb, and then change the settings (e.g. desktop wallpaper) and then reboot, the settings go back to default. How do I make the live-usb save the settings?


By default, Ubuntu live-USB doesn’t keep settings, and data after system restart, since its read-only. In order to have settings and data saved you need to create a persistence USB drive.

To do that click Here or Here

  • Thanks for the answer, Mitch! When I first used the Live-USB creator, it gave me an option to allot memory for persistence and I did, yet it still doesn't save the settings.. – captainawzm Apr 19 '13 at 12:25

With a typical persistent install changes are stored in a file named casper-rw.

Maximum size of this file is 4GB due to the limits of the FAT file system.

You can also have persistent ext2, 3 or 4, partitions named casper-rw and home-rw, of any size that will fit the drive.

Casper-rw stores your downloaded programs and home-rw stores your settings, email and downloads, etc, (but is optional).

Once the casper-rw file or partition exists, the session can be made persistent by pressing F6 on boot and then typing persistent.

This can be automated by editing syslinux.cfg or text.cfg and adding the word persistent.

I prefer to overwrite the contents of syslinux.cfg with the following:

default persistent
label persistent
  say Booting an Ubuntu Persistent session...
  kernel /casper/vmlinuz
  append  file=/cdrom/preseed/ubuntu.seed boot=casper persistent initrd=/casper/initrd.lz quiet splash noprompt --

This has the advantage of removing the Try/Install screens and reduces boot time by 30%.

  • Thanks for the answer, C.S.Cameron, but do you think you can explain this in a way a typical high school student would understand? – captainawzm Apr 21 '13 at 8:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.