Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:handbook:genlivecd [2010/08/24 15:41] – linea | en:handbook:genlivecd [2017/01/05 16:32] (current) – two replaced by three hgt | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Generating a Customised LiveCD ====== | + | ====== Generating a Customised LiveCD |
| + | //Tazlito// can create your own, personalised version of SliTaz in very little time. It allows you to choose precisely the software packages that you want and make a flavor file (.flavor) with it. You can choose to make your own file starting from a general slitaz flavor (such as base, justx or core), or make it based on an already customised flavor supplied by the SliTaz community. | ||
| - | //Tazlito// can create your own, personalised SliTaz LiveCD in very little time. You can choose precisely the software packages that you want and the support of flavors permits | + | Once you've downloaded (and possibly -further- customized) |
| - | + | ||
| - | \\ | + | |
| === Overview === | === Overview === | ||
| + | Tazlito automates the process of building a customized ISO, and the method is quite straight-forward: | ||
| - | Tazlito automates the process of building | + | - find a template (flavor) to work on ($ tazlito list-flavors) |
| - | + | - download | |
| - | - download | + | - look at the flavor' |
| - | - customise its packages | + | |
| - | | + | - put in a rootfs folder (make one by copying in files from /etc/ to / |
| - | - compress the generated pseudo-file-system | + | - add additional files using the folder |
| - | - create | + | - change options ($ tazlito configure) |
| - | + | - create | |
| - | \\ | + | - burn to CD or USB stick ($ tazusb gen-iso2usb) |
| === Notes === | === Notes === | ||
| - | * Creating a LiveCD requires a minimum of 256MB of RAM. | + | * Note that you can't delete packages, but you can use a stripped-down flavor to build your customized slitaz version. |
| - | * Compressing the file-system with LZMA may take some time. GZip can also be used, though its compression ratio is not as effective. | + | * Note that you can modify the distro further by hacking the ISO once created, after which you can make it into a flavor again (see details below) |
| + | * Note that you can add some last changes (that require modification from inside slitaz; like changing appearance, modifying the taskbar, ...) by simply making an additional rootfs file with a usb stick made with the iso of the slitaz version you just made (using the # tazusb writefs lzma command), and then adding it to the extracted iso (using the [[en: | ||
| + | * Creating a LiveCD requires a minimum of 256MB of RAM. | ||
| + | * Compressing the file-system with LZMA may take some time. GZip can also be used, though its compression ratio is not as effective. | ||
| * It's possible to create a distribution from the LiveCD or from an installed system. In LiveCD mode, it's advisable to use persistent media or an USB drive to store generated files and save space in RAM. | * It's possible to create a distribution from the LiveCD or from an installed system. In LiveCD mode, it's advisable to use persistent media or an USB drive to store generated files and save space in RAM. | ||
| + | * Tazlito is used by developers to generate the official LiveCD. Unlike the (now deprecated tazwok), it is installed by default on SliTaz. Note that you can also use it an a different distribution (non-slitaz) if that linux distro has the necessary packages (they can be downloaded if not). See [[# | ||
| - | * Tazlito is used by developers to generate the official LiveCD. The only prerequisite is to have Tazlito installed. It is installed by default on SliTaz, but you can generate from another LiveCD distribution if they have the necessary packages (they can be downloaded if not). See the [[# | + | ===== A customized ISO in three commands ===== |
| + | A good way of becoming familiar with Tazlito is to re-build the LiveCD. To do this, download the default //core// flavor (a //.flavor// file that contains all the necessary information to create a LiveCD) and build it with the default options. This takes only three commands and will help to demonstrate the process: | ||
| \\ | \\ | ||
| - | + | * Get the default | |
| - | ===== A LiveCD in Two Commands ===== | + | * Extract |
| - | + | * Optional: Amend the list of packages or add additional files. | |
| - | A good way of becoming familiar with Tazlito is to re-build the LiveCD. To do this, download | + | * Create |
| \\ | \\ | ||
| - | * Get the default (//core//) flavor: | + | That's it! You will find the LiveCD ISO image in ///home/slitaz/< |
| - | + | ||
| - | # tazlito get-flavor core | + | |
| - | + | ||
| - | * //Optional: Amend the list of packages or add additional files.// | + | |
| - | + | ||
| - | * Create the LiveCD: | + | |
| - | + | ||
| - | # tazlito gen-distro | + | |
| \\ | \\ | ||
| - | That's it! You will find the LiveCD ISO image in /// | + | ===== The steps laid out in detail... ===== |
| \\ | \\ | ||
| - | ===== Part I: Downloading a Flavor ===== | + | ====== Part I: Downloading a Flavor ====== |
| - | + | Flavors can be used to build various styles of LiveCDs by containing the list of packages (// | |
| - | Flavors can be used to build various styles of LiveCDs by containing the list of packages (// | + | |
| # tazlito list-flavors | # tazlito list-flavors | ||
| Line 60: | Line 54: | ||
| The list of flavors will be automatically displayed, showing the size of the LiveCD and a brief description. To use a flavor, use the get-flavor command to download the flavor file, automatically extract the package list and description in the current directory, and put additional files in the /// | The list of flavors will be automatically displayed, showing the size of the LiveCD and a brief description. To use a flavor, use the get-flavor command to download the flavor file, automatically extract the package list and description in the current directory, and put additional files in the /// | ||
| - | # tazlito get-flavor | + | # tazlito get-flavor |
| \\ | \\ | ||
| Line 75: | Line 69: | ||
| \\ | \\ | ||
| - | ===== Part II: Generating the Distribution ===== | + | ====== Part II: Generating the Distribution |
| <note important> | <note important> | ||
| Line 91: | Line 85: | ||
| \\ | \\ | ||
| - | === Cleaning & Re-Generating === | + | ==== Cleaning & Re-Generating ==== |
| As you have generated a LiveCD, you need to clean-up so another can be generated. Removing the resulting ISO image, cleaning the generated distro tree (but not your additional files!) can be done through the // | As you have generated a LiveCD, you need to clean-up so another can be generated. Removing the resulting ISO image, cleaning the generated distro tree (but not your additional files!) can be done through the // | ||
| Line 111: | Line 104: | ||
| \\ | \\ | ||
| - | === The ' | + | ==== Hacking your customized SliTaz ISO ==== |
| + | //See also [[en: | ||
| - | If you want to have a hacker user account, we must decompress the root file-system, | + | If you want to modify the splash screen, boot loader, configuration files, GRUB itself, ... you need to " |
| + | |||
| + | To make a hacker user account, we must decompress the root file-system, | ||
| # tazlito addhacker | # tazlito addhacker | ||
| Line 121: | Line 117: | ||
| \\ | \\ | ||
| + | |||
| + | ===== Adding the final changes ===== | ||
| + | //See also [[en: | ||
| + | |||
| + | As mentioned above, you can add some last changes (that require modification from inside slitaz; like changing appearance, modifying the taskbar, ...) by simply making an additional rootfs file with a usb stick made with the iso of the slitaz version you just made (using the # tazusb writefs lzma command), and then adding it to the extracted iso (using the [[en: | ||
| + | |||
| + | It should be noted that using this technique, you can probably delete packages too (see [[http:// | ||
| ===== Including Additional Files ===== | ===== Including Additional Files ===== | ||