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
  •  


Dell PowerEdge R730 2x E5-2699V3 2.3Ghz 36 Core 128GB RAM H730 X520-I350 2x750W picture

Dell PowerEdge R730 2x E5-2699V3 2.3Ghz 36 Core 128GB RAM H730 X520-I350 2x750W

$329.99



Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD picture

Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD

$197.99



Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config picture

Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config

$489.99



Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays picture

Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays

$159.99



Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330 picture

Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330

$182.65



1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 240GB SSD 2x 10GBE picture

1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 240GB SSD 2x 10GBE

$259.00



Dell PowerEdge R720xd 26HDD 300gb  2.5-inch E5-2697  X 2CPU 384RAM 7.2 Tb HDD  picture

Dell PowerEdge R720xd 26HDD 300gb 2.5-inch E5-2697 X 2CPU 384RAM 7.2 Tb HDD 

$180.00



Dell PowerEdge R620 Server - 256GB RAM, 2x8cCPU, 120Gb SSD/3x900Gb SAS, Proxmox picture

Dell PowerEdge R620 Server - 256GB RAM, 2x8cCPU, 120Gb SSD/3x900Gb SAS, Proxmox

$320.00



1U Server ( 4x VM's ) Hosting VPS Short Depth 20

1U Server ( 4x VM's ) Hosting VPS Short Depth 20" 1U Xeon 3.5Ghz 16GB X10SLM-F

$149.00



Dell PowerEdge T620 8-Bay LFF Xeon E5-2660 0 2.20GHz 48GB NO HDD S110 Server picture

Dell PowerEdge T620 8-Bay LFF Xeon E5-2660 0 2.20GHz 48GB NO HDD S110 Server

$174.99