Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

If I create a proper LiveCD and run the OS from the disc does it save any information on a hard-drive or is it ALL saved to the PC's memory? I've looked around for a clear, direct "yes/no" answer to this question but I can't seem find it anywhere. Common sense would say yes but you never know and what I need to do requires an OS that does not use Flash(usb) or Magnetic(hd) storage of any kind while in operation. Thanks!

Edit: typos, wording

share|improve this question
add comment

2 Answers 2

up vote 2 down vote accepted

From the answers to this question, we can safely believe that no data is stored on the hard disk unless we choose to save it to hard disk(persistence).

As for a definitve answer check out this post on stackoverflow which explains that it is a ramdisk.

Quoting from the Stackoverflow answer to the above said question:

Believe it or not, it's a ramdisk :) All live distros mount a temporary hard disk in RAM memory. The process is completely user-transparent and is all because of the magic of Linux kernel.

The OS, in fact, first allocates an area of your RAM memory into a virtual device, then mounts it as a regular hard drive in your file system.

Once you reboot, you lose all your data from that ramdrive.

For more detailed information regarding this, check out the Wikipedia article on Live Cd explaining the technique of its working.

share|improve this answer
add comment

Booting an Ubuntu live session from a live CD will not be able to write data on a harddrive unless the drive was mounted.

But there is a caveat to this in case you are concerned about data security issues.

If you boot your live CD on a system with an existing swap partition the live environment may also use this as swap. We therefore have to disable swap after booting the live environment. See this question on how to do this:

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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