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
  •  


Genuine Apple OEM 60W Magsafe Charger / AC Adapter for A1278 MacBook Pro Air picture

Genuine Apple OEM 60W Magsafe Charger / AC Adapter for A1278 MacBook Pro Air

$7.99



Genuine OEM Apple 30W USB-C Power Adapter Charger 2m Cable iPhone 15,  iPad Pro picture

Genuine OEM Apple 30W USB-C Power Adapter Charger 2m Cable iPhone 15, iPad Pro

$27.00



Genuine OEM Apple USB-C type c to MagSafe 3 Cable  2 M- MLYV3AM/A picture

Genuine OEM Apple USB-C type c to MagSafe 3 Cable 2 M- MLYV3AM/A

$22.95



OEM For iPhone 15 Pro Max USB-C to USB-C Cable Fast Charger Type C Charging Cord picture

OEM For iPhone 15 Pro Max USB-C to USB-C Cable Fast Charger Type C Charging Cord

$10.89



Genuine OEM Apple 12W USB Power Adapter Type A Wall Charger for iPhone & iPad picture

Genuine OEM Apple 12W USB Power Adapter Type A Wall Charger for iPhone & iPad

$4.49



Genuine Original OEM APPLE Thunderbolt Cable 2M MC913ZM/A MD861LL/A White 6.5ft picture

Genuine Original OEM APPLE Thunderbolt Cable 2M MC913ZM/A MD861LL/A White 6.5ft

$19.99



OEM MagSafe 2 Apple Charger For MacBook Pro Air 13 15 2012-2015 AC Power 85W picture

OEM MagSafe 2 Apple Charger For MacBook Pro Air 13 15 2012-2015 AC Power 85W

$13.00



Genuine OEM Apple iPad 10W USB Power Adapter 30 Pin Charger picture

Genuine OEM Apple iPad 10W USB Power Adapter 30 Pin Charger

$13.99



Genuine Apple OEM 12W USB Wall Charger & Cable for iPad Pro, Air, and Mini picture

Genuine Apple OEM 12W USB Wall Charger & Cable for iPad Pro, Air, and Mini

$14.99



NEW Genuine OEM A1466 A1369 A1496 A1405 A1377 Battery for Apple MacBook Air 13'' picture

NEW Genuine OEM A1466 A1369 A1496 A1405 A1377 Battery for Apple MacBook Air 13''

$45.99