[HOWTO] How to build a Live distro

Post tutorials, HOWTO's and other useful resources here.
Post Reply
User avatar
Hamza
Warlord
Warlord
Posts: 1847
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

[HOWTO] How to build a Live distro

Post#1 by Hamza » 30 Dec 2010, 18:34

I've made my own OS , but it's not based on Slax , but it's works with Live Linux Script

If you want made your own remix .

You can with Live Linux Script .


It's from the website of Linux Live Script (Thanks Tomas M!)


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

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

3)
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).

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 .config file 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

where 1234 is a random number

6)
To make ISO image, run make_iso.sh

To make a bootable (usb) disk, run bootinst.sh


If you want more information , you can read all documents at : http://www.linux-live.org/


Enjoy :)

Post Reply