[Solved] TazLito failing with LZMA ?
  • seawolfseawolf February 5

    Hi all --

    Has anyone experienced trouble with TazLito (cooking) building Live CDs? It seems that LZMA may be the culprit as its only happened in the past couple of weeks.

    Here is the tailed output of TazLito:


    Root file system is generated...
    Preparing the rootcd directory... [OK]
    Moving the boot directory... [OK]
    Copying addfiles content to the rootcd... [OK]

    2318957 bytes saved in duplicate files.
    Generating lzma'ed initramfs...
    LZMA 4.57 Copyright (c) 1999-2007 Igor Pavlov 2007-12-06

    Error: Can not allocate memory
    Computing md5... [OK]

    Generating ISO image
    ===============================
    Size of boot image is 4 sectors -> No emulation
    Total translation table size: 2048
    Total rockridge attributes bytes: 6596
    Total directory bytes: 14336
    Path table size(bytes): 64
    Max brk space used 20000
    1432 extents written (2 MB)
    Create hybrid ISO... [OK]
    Creating the ISO md5sum... [OK]
    ===============================

    Distro statistics (/home/slitaz/distro)
    ===============================
    Build date : 20100205 at 20:19:26
    Packages : 195
    Rootfs size : 98.6M
    Initramfs size : 4.0k
    ISO image size : 3.0M
    ===============================
    Image is ready: slitaz-hacked.iso



    It seems the compression is failing as the file-system is successfully generated beforehand & MD5 is generated afterward. I don't see why memory should really be an issue as the 512MB RAM has been easily successful.

    Any help would be greatly appreciated.
    TIA.

  • bellardbellard February 6

    You need more RAM to use LZMA compression


    LZMA 4.57 Copyright (c) 1999-2007 Igor Pavlov 2007-12-06

    Error: Can not allocate memory


    Try to add swap or use GZIP compression with


    COMPRESSION=gzip


    in /etc/tazlito/tazlito.conf

  • seawolfseawolf February 7

    Ah, thanks. I assumed half a gigabyte of memory would be enough. I also had to upgrade to Tazlito 3 for this config. line.

    I just need to figure out the different configuration stuff and I'll be away...

This discussion has been closed.
← All Discussions

Howdy, Stranger!

It looks like you're new here. If you want to take part in the discussions, click one of these buttons!

Sign In Apply for Membership