LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This 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


Reply
  Search this Thread
Old 11-10-2008, 08:16 AM   #1
lumix
Member
 
Registered: Mar 2007
Distribution: Hardy (Gnome on Ubuntu 8.04) on Compaq N600c laptop
Posts: 323

Rep: Reputation: 30
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?
 
Old 11-10-2008, 08:36 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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.

Google will find much more---and better--info.
 
Old 11-10-2008, 09:20 AM   #3
brianmcgee
Member
 
Registered: Jun 2007
Location: Munich, Germany
Distribution: RHEL, CentOS, Fedora, SLES (...)
Posts: 399

Rep: Reputation: 40
UnionFS [1] is used to merge a readonly device with a writeable ramdisk.

Some Live-CDs are actually used only from CD. For example security CDs so that no trace is left on your computer after you turn it off.

[1] http://en.wikipedia.org/wiki/UnionFS
 
Old 11-10-2008, 01:11 PM   #4
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
There isn't necessarily a single answer to this.

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).
 
Old 11-12-2008, 09:15 PM   #5
lumix
Member
 
Registered: Mar 2007
Distribution: Hardy (Gnome on Ubuntu 8.04) on Compaq N600c laptop
Posts: 323

Original Poster
Rep: Reputation: 30
unionFS...interesting. I'll check that link for some more info. Thanks.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tried a few live distro's, need more guidance. nads1978 Linux - Newbie 13 05-11-2008 05:05 PM
SuSE-Live distro's tlp_ Linux - General 1 05-07-2006 09:17 AM
Do Live CD's show the real abilities of Distro's? ashkan_G Linux - Newbie 3 09-29-2004 09:41 PM
boot multiple Live CD distro's with grub bob_man_uk Linux - General 1 02-10-2004 09:54 AM
linux distro's that work with nvidia????? r4ndom j Linux - Newbie 3 01-26-2004 07:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 09:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration