Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: remaster knoppix with squashfs

  1. #11
    Senior Member
    Join Date
    Nov 2003
    Posts
    171
    Thanks wangji, the mods worked well. The squashfs image of the KNOPPIX filesystem is ~5% smaller than that of cloop.

    Busybox was simple to compile and worked well.

    Rebuilt the miniroots with symbolic links to busybox(static) instead of ash, and with the loop module.

    The following changes to linuxrc did the trick for Knoppix 3.4.
    Code:
    $INSMOD /modules/loop.o >/dev/null 2>&1
    mount -t squashfs /$1/$KNOPPIX_DIR/$KNOPPIX_NAME /KNOPPIX -o loop,ro ||
    Only problem:-
    The cd is not ejected before shutdown. Where do you suppose cloop is mentioned in other scripts? SysV-init scripts?

  2. #12
    Member registered user
    Join Date
    Jul 2003
    Posts
    48

    cd eject at halt

    hi kelmo,
    this cdeject at halt is handled by /etc/init.d/knoppix-halt
    it has nothing to do with cloop !!!I am not 100% sure ,but I suspect rather the problem of "cd not eject" related ...with
    kernel-2.6.x_cdATAPI_cd_fake_scsi.
    Just to put a hint : if you allow dma at boot for cdreader,some
    knoppix_like distro don't boot at all (no matter which compression used) the /dev/scdi ...not detected and you hang .
    (This is not the kernel fault but rather ...poor mechanics design,
    -price is so low !!-errors bursts -irq,dusts...-and perhaps too weak
    Reed Solomon implementations ,-not more than 5 errors per sector_read-.).In those specific cases just type at boot:
    knoppix nodma ...
    and the miracle operates
    But of course I do not help you solve the cd ejection !!!
    Type as root : cdrecord -eject dev=x,x,x
    works,even if you had boot a livecd,
    that's a very poorman solution.

  3. #13
    Senior Member
    Join Date
    Nov 2003
    Posts
    171
    No big problem. I really like the simplicity of remastering using squashfs.

    I wish a debian packager would put the latest squashfs-tools in a .deb.

    Wangji, can you give me any tips of what options can be used to 'optimize' the compressed filesystem with mksquashfs. At the moment I am using the basic command:-

    mksquashfs {source} {target}

    This works fine, but I'd like to experiment with sorting the filesystem to squeeze every last bit of performance out of it.

    Thanks

  4. #14
    Member registered user
    Join Date
    Jul 2003
    Posts
    48

    best use with squashfs ??

    I am sure I do not know the real answer !! but I try to summarises my "feelings" .In older version ,ie squashfs-1.3 the
    indexing pointer scheme was clever and allow very fast stuffs ;
    but if you compress the huge_knoppix_2.2Gb then you get into trouble : that's why version 2 from Philip Lougher ! but I understand then it compresses almost in blocks "exactly as cloop"
    (with probably variations ,tree structure...giving this ~5% diff)
    Arranging big files at the beginning may help readout response time ,but that is related to how iso files,cdreader behave(in case of cloop) I believe you gain nothing with squashfs (we have to ask Philip at his forum).The true point I like mksquashfs is that you
    are not bound to put the whole stuff in a "remastering_directory" since you can put exclude_options (I am using that way a lot)If you need response time,I believe mkztree
    should be faster (however poor compression ,since block size vary a lot depending on your applications !!! remember zisofs,was included long time ago into kernel -politically correct put aside !!-)

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Please help me remaster Knoppix.
    By yongla in forum Customising & Remastering
    Replies: 12
    Last Post: 01-07-2005, 04:07 AM
  2. squashfs -o loop error
    By ying-yang7 in forum Customising & Remastering
    Replies: 7
    Last Post: 10-19-2004, 01:48 PM
  3. Help me remaster knoppix, please!!!
    By spc in forum Customising & Remastering
    Replies: 1
    Last Post: 09-27-2004, 08:55 PM
  4. re knoppix-remaster
    By aahicnow in forum Customising & Remastering
    Replies: 2
    Last Post: 09-25-2004, 03:42 AM
  5. I tried to remaster knoppix on hdd..but...............
    By Raj in forum Customising & Remastering
    Replies: 3
    Last Post: 03-05-2003, 08:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3 picture

Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3

$21.50



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$16.50



Samsung 8GB 2Rx8 DDR3 PC3L-12800S LAPTOP SODIMM RAM MEMORY picture

Samsung 8GB 2Rx8 DDR3 PC3L-12800S LAPTOP SODIMM RAM MEMORY

$8.00



Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3 picture

Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3

$13.50



32GB ECC DDR3 RAM 2x16GB PC3L-12800R Desktop/Server Memory picture

32GB ECC DDR3 RAM 2x16GB PC3L-12800R Desktop/Server Memory

$11.99



A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture

A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G

$13.99



16GB DDR4 Corsair Vengeance LPX  3000 Mhz 1.35V Desktop Computer PC Memory RAM picture

16GB DDR4 Corsair Vengeance LPX 3000 Mhz 1.35V Desktop Computer PC Memory RAM

$26.99



A-Tech 128GB 8x 16GB 2Rx4 PC4-19200R DDR4 2400 ECC REG RDIMM Server Memory RAM picture

A-Tech 128GB 8x 16GB 2Rx4 PC4-19200R DDR4 2400 ECC REG RDIMM Server Memory RAM

$175.92



A-Tech 128GB 4x 32GB 2Rx4 PC4-21300R DDR4 2666 ECC REG RDIMM Server Memory RAM picture

A-Tech 128GB 4x 32GB 2Rx4 PC4-21300R DDR4 2666 ECC REG RDIMM Server Memory RAM

$199.96