Feb 22, 2009

Small distros and Live CDs

That's called a Live CD (I guess at least some of you know that) and just like the Linux that you install on HDD, there are a sh**tload of different distributions.
A live CD is an operating system that loads straight into RAM, directly from the DC with no HDD installation needed.
In other words, a live CD doesn't use any hard disk. It can read and write to hard disk, but it doesnt need one for the system. .


The system is stored on a CD and loaded to RAM. This means that using a Live CD you can experiment with Linux without need to actually install anything on your hard disk. Pop the CD in the tray (make sure that the CD is the first boot device), start your PC, and it will load the OS from the live CD without touching your Windows installation. When you're done with Linux and want to go back to Windows, just reboot your PC without the CD in the tray, and Windows will load as usual.

It is also possible to have both systems installed on one hard disk and choose the one you want to load each time the pc boots. That's the system I use: Windows for games, Linux for anything else. But this thread is about live CD's:
One of the smallest live distributions around is called DSL (Damn Small Linux), only 50MB in size. I read about other very small live distributions but right now I can't remember any names and I dont feel like researching.

There are also a whole bunch of 'regular sized' live CD (400 to 650MB) available as ISO images that you can burn on a CD, including the popular Ubuntu, that comes in a 'combo' edition: you can use it as a live CD selecting 'try Ubuntu without installing', or install it to HDD... still selecting 'try Ubuntu without installing'!
Here's the trick: if you select 'install ubuntu' from the start menu, only the installation program runs, and you'll have to wairt while files are copied etc. But if you choose 'try ubuntu without installing', you can still install it by clicking on the 'install' desktop icon: the difference is that now the whole live OS is loaded and you can browse the web, chat, play games, etc, while your OS is being installed. Take that, Windows.

Back to live CDs:
Live CD's are based on different Linux distributions, which means that they are the 'live version' of an HDD installable distro (well, kinda. But I have to make stuff easy).
For instance, Knoppix is based on Debian, a very popular and relatively easy to use ditribution; Slax is based on Slackware, a powerful OS, but for serious geeks only, and so on.

There are also purpose build live CD's, built for diagnostics, penetration testing... even gaming, and of course different versions of the same liveCD, such as one particular live distribution available in both KDE and Gnome 'flavors'.

Enough. I have linked only a small fraction of the interesting stuff. Use Google.


______________________________
______________________________

02/22
Assuming that you have actually downloaded the right .iso image, a very common n00b mistake is to simply drop the file into the CD. That isn not going to work.
Also, as Winrar and many similar programs (archive managers) associate .iso with themselves by default (an .iso is a file that contains many files after all), people see an .iso file showing up with the WinRAR icon and assumes that the way to use it is to extract the archive and burn the resulting files to CD.
That wont work either.
You will get the files on CD but the boot sector wont be written and the PC won;t recognize that CD as bootable.

In order to presrve bootability you have to use the 'burn image' feature available on most CD/DVD burning software (in Nero it's under the 'Recorder' menu).
Select 'Burn Image', browse to the iso, click OK (Open, or whatever), select a low burning speed*, burn.

Try different Live CD's such as Knoppix, Slax, and why not Ubuntu (all of them linked in my previous post). Ubuntu will work as a live CD, with the extra feature of being able to install to HDD. Consider building a 'junkware' box out of discarded pieces offering "disposal free of charge" to neighbors Wink and use it to experiment.



*Use low burning speeds. I use 4x for bootable CD's and for DVD's and 8x for non-bootable CD's. Slightly faster speeds are known to work in most cases (but not always). Burning at high speeds may cause loss of data during the burning process, resulting in unusable CD's