Results 1 to 3 of 3

Thread: edit linuxrc in minirt.gz to boot with squashfs

  1. #1
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    140

    edit linuxrc in minirt.gz to boot with squashfs

    Has anyone tried to edit the linuxrc in 5.1.1 yet to boot with squashfs? The conversations on the subject in the forums relate to earlier versions of knoppix. There are new and interesting things related to cloop:
    # New in Knoppix 5.1: cloop preload cache
    # Default values
    case "$MEDIUM" in
    *[Cc][Dd]*) CLOOP_PRELOAD="preload=64" ;;
    *[Dd][Vv][Dd]*) CLOOP_PRELOAD="preload=128" ;;
    *) CLOOP_PRELOAD="preload=32" ;;
    esac

    # cloop improves seek performance when caching the directory index
    # (first few MB) of each cloop file.
    # Default values depending on ramsize, override with cloop_preload=numblocks at boot.
    if test "$TOTALMEM" -lt 128000; then
    # up to 128MB: No preload.
    CLOOP_PRELOAD=""
    elif test "$TOTALMEM" -lt 256000; then
    # less than 256MB: About 4MB preload w/ blocksize 128k
    CLOOP_PRELOAD="preload=32"
    elif test "$TOTALMEM" -lt 512000; then
    # less than 512MB: About 8MB preload w/ blocksize 128k
    CLOOP_PRELOAD="preload=64"
    elif test "$TOTALMEM" -lt 1024000; then
    # less than 1GB: About 16MB preload w/ blocksize 128k
    CLOOP_PRELOAD="preload=128"
    else
    # 1GB Ram or more
    # About 32MB w/ blocksize 128k
    CLOOP_PRELOAD="preload=256"
    fi
    I imagine that I would need to comment all of that out. There is also a section called "mount knoppix" I will need to revise that part as well
    It is my understanding that /static ash is now a symbolic link to busybox. Can someone verify that? If it is not how could I make it such? I think that it is correct that Debian's version of Busybox supports filesystems >2 gig. LFS=y.

  2. #2
    Senior Member registered user
    Join Date
    Mar 2005
    Posts
    103
    SIDUX is using squashfs. I think it is not just modifying the minirt file. I suggest you see it yourself:

    http://www.sidux.org/

    However, I noticed that less packages can be put in a CD with squashfs.

  3. #3
    Senior Member registered user
    Join Date
    Aug 2003
    Posts
    126
    According to Thomas Matejicek ( http://www.slax.org )
    squashfs can be patched with LZMA compression, so compressed filesystems are 30% smaller.

    See also
    http://www.squashfs-lzma.org/

    Regards,
    Mark Preston

Similar Threads

  1. Replies: 0
    Last Post: 02-21-2007, 04:57 PM
  2. loop (and ntfs) bootfrom support in linuxrc and minirt
    By bfree in forum Customising & Remastering
    Replies: 0
    Last Post: 11-08-2004, 05:16 AM
  3. Edit linuxrc and change the user preferences....knoppix 3.4
    By Sago7 in forum Customising & Remastering
    Replies: 1
    Last Post: 07-23-2004, 11:20 PM
  4. How do I edit linuxrc correctly?
    By probono in forum Customising & Remastering
    Replies: 11
    Last Post: 07-17-2004, 04:54 PM
  5. linuxrc: how to edit?
    By bongski55 in forum The Lounge
    Replies: 2
    Last Post: 05-11-2004, 11:56 AM

Posting Permissions

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


SanDisk 128GB Ultra Flair USB 3.0 Flash Drive - SDCZ73-128G-G46 picture

SanDisk 128GB Ultra Flair USB 3.0 Flash Drive - SDCZ73-128G-G46

$12.99



SanDisk 32GB Ultra Dual Drive USB Type-C, USB 3.1 Flash Drive - SDDDC2-032G-G46 picture

SanDisk 32GB Ultra Dual Drive USB Type-C, USB 3.1 Flash Drive - SDDDC2-032G-G46

$10.99



SanDisk 128GB Extreme PRO USB 3.2 Solid State Flash Drive - SDCZ880-128G-A46 picture

SanDisk 128GB Extreme PRO USB 3.2 Solid State Flash Drive - SDCZ880-128G-A46

$36.99



SanDisk 16GB Ultra USB 3.0 Flash Drive - SDCZ48-016G-U46 picture

SanDisk 16GB Ultra USB 3.0 Flash Drive - SDCZ48-016G-U46

$6.25



New TESLA OEM Model S,3,X,Y USB Flash Drive for Dashcam & Sentry Mode 128GB picture

New TESLA OEM Model S,3,X,Y USB Flash Drive for Dashcam & Sentry Mode 128GB

$18.99



Sandisk 16GB 32GB 64GB 128GB Cruzer Blade Flash Drive Memory Stick USB Lot Pack picture

Sandisk 16GB 32GB 64GB 128GB Cruzer Blade Flash Drive Memory Stick USB Lot Pack

$4.99



Mechanical Style Flash Drive USB 3.0 High Speed 16TB Large Capacity Waterproof  picture

Mechanical Style Flash Drive USB 3.0 High Speed 16TB Large Capacity Waterproof

$8.37



Lenovo USB 16TB 3.0 USB Flash Drive Thumb Disk Silver Transfer Metal Memory picture

Lenovo USB 16TB 3.0 USB Flash Drive Thumb Disk Silver Transfer Metal Memory

$24.99



USB Flash Drive Memory Stick Pendrive Thumb Drive 4GB, 8GB, 32GB, 64GB 128GB LOT picture

USB Flash Drive Memory Stick Pendrive Thumb Drive 4GB, 8GB, 32GB, 64GB 128GB LOT

$249.37



Lot USB Flash Drive Memory Stick Pendrive Thumb Drive 2GB,4GB, 8G, 32G, 64G 128G picture

Lot USB Flash Drive Memory Stick Pendrive Thumb Drive 2GB,4GB, 8G, 32G, 64G 128G

$414.85