Results 1 to 4 of 4

Thread: how Knoppix works? ... boot & cloop

  1. #1
    Member registered user
    Join Date
    Mar 2005
    Posts
    58

    how Knoppix works? ... boot & cloop

    I'd like to know details about the working structure of knoppix.

    On boot the kernel is started & miniroot is extracted to a ramdisk.
    Booting happens, at some point the miniroot is dropped & the cloop
    file is mounted "as is" & the boot completes & knoppix is running.
    1) Does this sound about right? Is there other important parts?

    2) How much of the boot does the miniroot handle & where does the
    cloop file get mounted & take over?

    Syslinux.cfg file sets: kernel, ramdisk, miniroot, etc.
    3) What file sets the cloop file parameters for the kernel to mount it?

    4) Is the Knoppix cloop file the entire file system when running?

    5) When running, is ONLY the kernel & cloop file needed? Others also?

    6) Has anyone made a GUI utility for working with the cloop file?

    7) Is the cloop file's compression level greater than gZip, or less?

    Why was yet another compression format (cloop) used to mount
    the file system, why not gZip? Some technical problem using it?

  2. #2
    Senior Member registered user
    Join Date
    Aug 2004
    Location
    Sydney/Australia
    Posts
    311

    Re: how Knoppix works? ... boot & cloop

    I hope this thread develops.


    jm

    (edited: 24th March)

  3. #3
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    basically yes.

    the initrd(linuxrc script) just handle the following :

    1. search for the BIG cloop device
    2. mount it
    3. setup the "to be ROOTFS", a combination of the cloop device fs and /tmpfs
    4. switch to this new rootfs and run its /bin/init

    The hardware detection etc. are all done by scripts in this new ROOTFS(under /etc/init.d/).

    You cannot use gzip because it doesn't support BLOCK level access which is needed for any file system. cloop is designed for this purpose and no it compress less than gzip(speed tradeoff).

    a cloop device(outside KNOPPIX) is just one big file stored under another FS(NTFS, FAT, ISO9660 etc.) and that is the only file you need when running. even kernel(vmlinuz*) is not needed because it has already been loaded in memory.

  4. #4
    Member registered user
    Join Date
    Mar 2005
    Posts
    58

    Thanks for the reply! More Qs.

    I know of the command line cloop tools & automatic remaster scripts.
    Is there a "WinZip" like GUI for cloop? I've Googled with no luck.

    I think the kernel will mount more than one cloop file, how many?

    The cloop tutorial says the file sys. is used directly from the cloop file.
    What is a large 120mb ramdisk needed for? What's being loaded into it?
    What sets what gets loaded into the ramdisk, and is it swaped around?
    Is the ramdisk uncompressed or still clooped data ( clooped I think )?
    I've missed something about the way the cloop file is handled...

    Is an overlay file system 2 separate mounted file systems with
    overlapping directory trees that work together as a single file system?

    Forgive me, I'm idea babbling here... PLEASE COMMENT!
    Lanboot to a clients ramdisk, Ice, KDE, etc. clooped, ~30mb-90mb.
    Apps would all be in other cloop files mounted nfs on a server.
    Could clients share the servers cloops, or separate ones for each client?
    Apps could be normal file sys., would clooped ones reduce the LAN load?

    Many Thanks for your kindness in indulging my Qs, ideas, & ignorance.

Similar Threads

  1. KNOPPIX boot from NFS without cloop
    By vtibi in forum Customising & Remastering
    Replies: 0
    Last Post: 03-20-2006, 01:32 AM
  2. Knoppix 3.8.1 USB HD boot impossibe, but Ubuntu 5.0.4 works
    By stefan42 in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 04-25-2005, 11:28 PM
  3. Remastering Knoppix 3.4 cloop.o problems on boot
    By pperezs in forum Customising & Remastering
    Replies: 0
    Last Post: 09-13-2004, 06:39 PM
  4. Knoppix 3.6: at boot prompt, the only first argument works
    By vega1970 in forum General Support
    Replies: 1
    Last Post: 09-02-2004, 11:41 AM
  5. How does Knoppix hw autodetection on boot works?
    By pietromenna in forum Hardware & Booting
    Replies: 0
    Last Post: 06-21-2004, 01:09 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 M620 Blade Server picture

Dell PowerEdge M620 Blade Server

$39.99



Dell PowerEdge M620 0F9HJC Blade Server 2*E5-2670 2.60GHz 192GB RAM 2*300GB SAS picture

Dell PowerEdge M620 0F9HJC Blade Server 2*E5-2670 2.60GHz 192GB RAM 2*300GB SAS

$103.99



Dell PowerEdge M630 Blade Server 1x Xeon E5-2630 v4 CPU / Motherboard P/N 0R10KG picture

Dell PowerEdge M630 Blade Server 1x Xeon E5-2630 v4 CPU / Motherboard P/N 0R10KG

$69.99



HP ProLiant BL460c G9 (Gen9) 2x E5-2670V3 12 Core 3.1GHz No Ram or No Drives picture

HP ProLiant BL460c G9 (Gen9) 2x E5-2670V3 12 Core 3.1GHz No Ram or No Drives

$59.98



DELL M630 BLADE SERVER x2 XEON E5-2660V3 @ 2.6GH H730 PERC HDD CADDIES 16GB FC picture

DELL M630 BLADE SERVER x2 XEON E5-2660V3 @ 2.6GH H730 PERC HDD CADDIES 16GB FC

$50.00



Dell Poweredge M630 Barebone CTO Blade Server includes 2x Heatsinks picture

Dell Poweredge M630 Barebone CTO Blade Server includes 2x Heatsinks

$99.00



Dell PowerEdge MX7000 CTO Blade 8 slot 7U Chassis 6x 3000W 2x MX9002m picture

Dell PowerEdge MX7000 CTO Blade 8 slot 7U Chassis 6x 3000W 2x MX9002m

$2399.00



Dell PowerEdge VRTX 2x PowerEdge M630 Blade Server 512GB Ram Total w/ Rails picture

Dell PowerEdge VRTX 2x PowerEdge M630 Blade Server 512GB Ram Total w/ Rails

$1750.00



Cisco UCS 5108 Blade Server Chassis Enclosure N20-C6508 4x PSU 8x Fans 2x Fabric picture

Cisco UCS 5108 Blade Server Chassis Enclosure N20-C6508 4x PSU 8x Fans 2x Fabric

$139.99



DELL PowerEdge M630 Blade 2x E5-2680v4 2.4GHz =28 Cores 32GB H330 2x10Gb X520 picture

DELL PowerEdge M630 Blade 2x E5-2680v4 2.4GHz =28 Cores 32GB H330 2x10Gb X520

$174.00