Linux - DistributionsThis forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ.
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.
Distribution: Hardy (Gnome on Ubuntu 8.04) on Compaq N600c laptop
Posts: 323
Rep:
How do Live distro's essentially work?
All Live CD's that I've used allow you to install apps, create documents, etc, but none--of course--would retain any of these changes after rebooting. So how is this done? Some kind of temporary filesystem is created: is it in ram only? or is it in a reserved disk space (that doesn't seem right because I believe you can run these with no HDD). How is this temporary filesystem created/mounted/, and what is the, er, image(?) that is copied into it?
Basically, the directory tree is created in RAM---I assume the mechanism is similar to a "RAMdisk". I think some things get pulled off the CD only as needed. (Watch for the CD running when you do different things.)
Installing something or creating a file just puts the data into the RAMdisk, which disappears at shutdown.
LiveCD distros are not intended for regular use---only for evaluation.
UnionFS is probably considered the 'more modern' way to do this, but you'll probably find some live CDs that don't do this because they are old (or the deep voodoo in their internals is old, even if its a new release) and some other live CDs go for the 'start by copying everything to a partition mounted from ram' approach (which works if there is enough ram and only gets used selectively if there isn't).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.