Each distribution has a live version to allow you to verify, test and study how and if it is the distro that suits us.
But once you find our distribution, once we have custom programs that interest us, free of unnecessary programs that we think would be a great thing to be able to re-transform it into a "distro" live.
Obviously the internet is already someone who has thought and has created a series of scripts to transform our installation in a live distro, the site we are talking about is www.linux-live.org
Linux Live is a set of shell scripts that allows you to create your own live distribution, based on what has already been installed on the PC. The live type will be bootable from cd-rom from any USB system.
The following statements taken directly from the site.
How to build a Live distro:
1) Install your favorite distro to disk partition, or into a folder on your existing system.
Slackware is recommended but not required.
2) Build aufs kernel module and squashfs kernel module (optionally patched to support LZMA)
The above step is not required if you use Precompiled Linux Kernel from this website
Install kernel modules to the newly installed distro to / lib / modules / `uname-r` / fs /.
Make sure you are running The Same you used to compile kernel modules
3) Remove all Unnecessary files (for example man pages and other files you do not need to)
Live to make your Linux system as small as possible (this step is optional).
4) Download Linux Live scripts from this website and unpack it in / tmp
Read. / Doc / requirements.txt to find out what linux-live scripts need
Edit the. Config files if you need to modify Some variables
5) Finally login as root and run. / Build
Live distribution's 'directory tree' will be created in / tmp/live_data_1234
1234 WHERE is a random number
6) To make ISO image, run make_iso.sh
To make a bootable (usb) disk, run bootinst.sh
Working example:
If you're just looking for a working Linux Live system, visit www.slax.org
Interesting features of Linux Live scripts
1) persistent changes
Use 'changes = ...' boot parameter to Specify persistent changes directory or file. If a directory is used, eg. changes = / some_dir / and the / some_dir / is found on Some partition on your disk, then all the changes made to the filesystem root That will be saved to the directory. Even if this works / some_dir / is on NTFS or VFAT, thanks to posixovl overlay (an userspace filesystem Already included). Important note: if you plan to save changes on VFAT, make sure to modify your distribution's shutdown scripts. It must not execute killall, posixovl else is Killed and Everything Is Wrong. Instead, call the cleanup script from / mnt / live / cleanup. If a file is specified for the boot parameter changes, eg. changes = / path / file.dat, and the file has a valid filesystem inside, then the files will be loop-mounted and written changes to it. You May Also use changes = / dev/sda1/path / and changes = / dev/sda1/path/file.dat ... to Specify where to look for particular device. Other devices will be skipped (will not even be mounted).
2) adding modules on the fly
In the. / Tools / directory of Linux Live, you will find 'active' and 'deactivate' scripts. You May These two use to add and remove additional LZM modules to the root filesystem on the fly, while your OS is running live.
3) installable system to disk
As mentioned in the previous section, there exists a script Called bootinst.sh (and bootinst.bat) to setup a Live Linux boot sector to boot from disk. That if you combine with persistent changes, your distro will Behave Live Like INSTALLED, all changes are stored transparently To The boot media (even to USB), and you can still use 'active' and 'deactivate' commands to manipulate The root filesystem.
What do you think? Some of you have already tried to use it?
Posted under Technology
This post WAS written by admin on October 28, 2008






Mah ... .. I think it would be better to try to have it truly alone understand what you are doing.
It could start to scratch a Minilite of which are also cache package, expand the compressed filesystem (cloop or squash) chroot into the directory that houses the fs decompressed and strokes of apt-get (.. if debian derivative. .) customize everything to your liking. I leave for example man pages and remove the locales that do not interest me, move outside of the package cache file system to compress, etc.. etc..
In this way we also fill our own kernel, update qlcuni important packages from source, fill out a form, etc.. etc..
Basically my script create my favorite ... at least I understand them!
Max
You're absolutely right! But let's view a person who knows little, that is not geek, who has a need and not want to spend time to learn and understand what he's doing. If we view "technology convenient, these scripts are a godsend
> But let's view a person who knows little, which is geek who has> a need and do not want to spend time to learn and understand what he's doing. If> we view "technology convenient, these scripts are a godsend
if one is not 'a geek, takes its knoppix and it is silent.
learn = fatigue, we want to understand or not?
@ Roberto
I do not understand this hatred towards those who need something and, thanks to the internet, is already done and working.
It would be like saying that driving a car I know all about thermodynamics and the Carnot cycle ...
I need a script I use ... If one wants then they can learn in detail what these scripts, but maybe not
Some time ago I wrote a guide: http://knoppix.crealabs.it/viewtopic.146.html then closed the forum and has aged there.
The "DIY" I suggested that the short term would certainly be an increased effort but once you understand the mechanism can become any customization.
Today I live with my rebuilt kernel 2.6.27.4 2.6.27.1 because he had problems with some USB devices.
Here http://www.nabble.com/Cloop-and-2.6.27-kernel-to20000679.html have the opportunity to collaborate with the creator of the "mother" of all live!
Greetings and have fun
Max
@ Stirner
Thanks for the info!
If you wish, send me your guide that the "place", so may be useful to many people!