Linux Live Script: Tools for create Live Linux

Linux Live is a set of shell scripts which allows you to create own Live Linux from your installed Linux distribution.

The Live system you create will be bootable from CD-ROM or a disk device, for example USB Flash Drive, USB Pen Drive, Camera connected to USB port, and so on.

People use Linux Live scripts to boot Linux from iPod as well.


How to build a Live distro:

  1. Install your favourite 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 step above is not required if you use precompiled Linux Kernel from this website.
  3. Install kernel modules to the newly installed distro to /lib/modules/`uname -r`/fs/. Make sure you are running the same kernel you used to compile modules
  4. Remove all unnecessary files (for example man pages and all other files you don't need), to make your Live Linux system as small as possible (this step is optional).
  5. Download Linux Live scripts from this website and unpack it in /tmp. Read ./DOC/requirements.txt to find out what linux-live scripts need.
  6. Edit .config file if you need to modify some variables. Finally login as root and run ./build. Live distribution's 'directory tree' will be created in /tmp/live_data_1234 where 1234 is a random number.
  7. To make ISO image, run make_iso.sh.
  8. To make a bootable (usb) disk, run bootinst.sh

0 comments:

Delicious Digg Technorati Reddit Furl BlinkList Yahoo! NewsVine Netscape Google Live Bookmark Netvouz Squidoo StumbleUpon Magnolia.png