SliTaz SliTaz Forum

You are not logged in.

#1 2012-06-11 14:53:37

arunj
Member
Registered: 2012-06-11
Posts: 29

tazusb writefs bzip2 compression support

If you are using a 128 MB pen drive like me then you may find that you are in a space crunch after creating a complete development environment on Slitaz with vim, gcc, g++ and some libraries. lzma compression ratio is good but at the same time lzma takes a long time for decompression at boot. Being a huge Slitaz enthusiast I have made a few changes in tazusb to support bzip2 (level 9) compressed rootfs which you can download from -
https://www.box.com/s/9a8cffdfe7ccfd3234c3

Usage -
# tazusb writefs bzip2

Please remember the following -

1. First install the bzip2 package. It is not installed by default.
2. Backup your old rootfs.gz in case something goes wrong. I have tested on Slitaz 4.0.
3. Change your syslinux.cfg file to point to rootfs.bz2 instead of rootfs.gz. I have uploaded my own syslinux.cfg. Search for bz2 and you will find the entry I use.

These modifications are for USB backup only.

Here's my blog post on the same topic where you will find a link to another post with some more tips -
http://oldpapyrus.wordpress.com/2012/06/11/tazusb-bzip2-compression-support/

Hope it helps. Happy Slitaz time!

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]