Sunday, June 22, 2008

SliTaz -- 25 MB Live Distro.

I decided to try SliTaz the 25 MB Live Linux wonder. The beauty of SliTaz is in its rootfs.gz file which is compressed using LZMA compression. As per the Documentation the file can be extracted using lzma and cpio with following command:
# lzma d rootfs.gz -so | cpio -id

I mounted the iso and tried the above command in Ubuntu Hardy. Although, lzma and cpio are installed, it did not work. I decided to boot into SliTaz Live environment. I mounted the iso and copied the contents to a spare partition. Following grub line was available in /boot/grub/example-menu.lst file:

title SliTaz GNU/Linux
kernel /boot/bzImage root=/dev/null vga=771
initrd /boot/rootfs.gz

I added root (hd0,X) line and could but in Live Slitaz.Using the above command (# lzma d rootfs.gz -so | cpio -id) I could extract the rootfs.gz file. I copied contents to the root of the partition and changed the gub entry to:

title SliTaz GNU/Linux 1.0
kernel /boot/vmlinuz- root=/dev/hdaX+1 vga=normal

This became Hard Disc install of SliTaz.

I find SliTaz very fast for web browsing.
Post a Comment