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
  •  


SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT picture

SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT

$7.99



NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping* picture

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*

$24.00



Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module picture

Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module

$699.99



Dell 10 Gigabit SFP+ SR Transceiver 0XYD50 NEW SEALED picture

Dell 10 Gigabit SFP+ SR Transceiver 0XYD50 NEW SEALED

$24.99



Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver picture

Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver

$5.40



HP 560SFP+ 10GB 2-port  PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+ picture

HP 560SFP+ 10GB 2-port PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+

$16.99



Intel X520-DA2 10Gb 10Gbe 10 Gigabit Network Adapter NIC Dual Port E10G42BTDA picture

Intel X520-DA2 10Gb 10Gbe 10 Gigabit Network Adapter NIC Dual Port E10G42BTDA

$28.94



Lenovo 00YK615 Intel X710-DA2 10GbE 2-port SFP+ PCI-E FC Network Adapter NIC picture

Lenovo 00YK615 Intel X710-DA2 10GbE 2-port SFP+ PCI-E FC Network Adapter NIC

$27.99



Arista SFP-10G-SR 10GBASE-SR XVR-10001-20 850nm SFP+ Optical Transceiver picture

Arista SFP-10G-SR 10GBASE-SR XVR-10001-20 850nm SFP+ Optical Transceiver

$30.00



New Sealed Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Transceiver Module *US picture

New Sealed Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Transceiver Module *US

$17.00