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
  •  


IXIA XR100 VOIP PROBE picture

IXIA XR100 VOIP PROBE

$199.99



Grandstream GS-HT802 2 Port Analog Telephone Adapter VoIP Phone & Device, Black picture

Grandstream GS-HT802 2 Port Analog Telephone Adapter VoIP Phone & Device, Black

$32.00



 VoIP IP Phone SIP WAN FV6020 Fanvil Gigabit Office Support IAX IAX2 picture

VoIP IP Phone SIP WAN FV6020 Fanvil Gigabit Office Support IAX IAX2

$35.56



Yealink SIP-T41P PoE Ultra Elegant VoIP Phone  picture

Yealink SIP-T41P PoE Ultra Elegant VoIP Phone

$29.95



Cisco CP-7945G VOIP Phone With Stand & Handset Business IP Phone 7945 picture

Cisco CP-7945G VOIP Phone With Stand & Handset Business IP Phone 7945

$3.00



New Cisco 7945G IP VoIP Gigabit GIGE Telephone Phone CP-7945G -  picture

New Cisco 7945G IP VoIP Gigabit GIGE Telephone Phone CP-7945G -

$24.95



Poly VVX 350 Business IP Phone VoIP - 2200-48830-025 - Refresh Grade A picture

Poly VVX 350 Business IP Phone VoIP - 2200-48830-025 - Refresh Grade A

$49.99



Cisco CP-8861-K9 5-Line VoIP Business Phone w/ Stand & Handset picture

Cisco CP-8861-K9 5-Line VoIP Business Phone w/ Stand & Handset

$24.98



Cisco 8841 CP-8841-K9 VoIP Business IP Phone (Charcoal) picture

Cisco 8841 CP-8841-K9 VoIP Business IP Phone (Charcoal)

$49.00



LOT OF 10 Cisco CP-7841-K9 VoIP 4-Line Business Phone w/ Stand Handset Cord picture

LOT OF 10 Cisco CP-7841-K9 VoIP 4-Line Business Phone w/ Stand Handset Cord

$69.99