Welcome
Welcome to refracta

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today!

xz compression in Squeeze (smaller ISO size)

Tips and Instructional topics. Not for support questions.

xz compression in Squeeze (smaller ISO size)

Postby dzz » Fri Oct 26, 2012 4:32 pm

xz compession, supported in wheezy/sid, was discussed a while back. Some users may not know that newer squashfs-tools is available in squeeze-backports. With that and => 2.6.38 kernel "xz" compression works fine for a Squeeze snapshot.

Benchmark test here, squashfs from the same base filesystem:
640.8 MB (default gzip)
560.7 MB (xz)

Leaves quite a bit of room for more apps than was possible before

Make sure this line exists in sources.list :

Code: Select all
deb http://backports.debian.org/debian-backports squeeze-backports main


Code: Select all
apt-get update

# check first that -686-pae will run on target machines, -486 and others are available
# substitute apt-get for corresponding aptitude command if preferred

apt-get install -t squeeze-backports linux-image-686-pae
apt-get install -t squeeze-backports linux-headers-686-pae
apt-get install -t squeeze-backports squashfs-tools

If it runs good, purge the standard squeeze kernel and save more space for snapshot

More recent snapshot versions https://github.com/fsmithred/refracta support xz
dzz
 
Posts: 647
Joined: Wed Apr 27, 2011 11:53 am
Location: Devon, England

Return to How-to

Who is online

Users browsing this forum: No registered users and 1 guest

suspicion-preferred