Easiest non-persistent drive implementations as of October 2015
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Easiest non-persistent drive implementations as of October 2015
In the windows world there is Shadow Defender which makes it trivial to manage non-persistent drives. Any hard drive partition can be made non-persistent by Shadow Defender transparently logging what is written to it so it can be undone at the next reboot.
What is the easiest to manage equivalent in linux nowadays?
Yes but how do you install to a hard drive so it works like a live CD? Also how do you update? Shadow Defender offers a feature where you can disable it temporarily so you can apply the updates.
Yes but how do you install to a hard drive so it works like a live CD?
With Ubuntu derivatives like Peppermint, you can put the iso file on a Linux or windows partition and boot the iso. Of course, you would need Grub2 installed somewhere to boot as windows bootloader isn't going to boot it. The link below explains it and includes some example menuentries:
Update what? If you want to add data, you just mount a partition while booted to it and copy it there. If you mean update software, you don't as it is a read-only filesystem. One exception is if you make it persistent by creating a casper-rw file or a separate Linux casper-rw partition. Quite simple on flash drives, I've never tried it on a hard drive but the Ubuntu link below discusses it.
1. Install the base-system
2. Make sure that you have a kernel that supports an UnionFS, like overlayfs (already built into the kernel by default on Ubuntu)
3. Create an initrd and alter its scripts so that they mount a tmpfs over the base-system using the UnionFS.
4. Change the scripts in the initrd that they now use the newly created UnionFS as root filesystem.
Now any changes made to the system will be made in the tmpfs only, just rebooting the system will clear all changes. To update the underlying system just mount the partition, chroot into it and do the updates.
On systems with low memory you might want use a second partition instead of a tmpfs, just make sure you delete all files (or simply format it) before (or after) it is used.
Puppy Linux might suit. You can do what they call a "frugal install", with the Puppy image on your hard disk but copied to RAM disk when it boots. That way the working version disappears when you shut down.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.