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
  •  


Samsung SCXSTP000, SCX-STP000 (Swingline Staple Cartridge - 3 Refills) picture

Samsung SCXSTP000, SCX-STP000 (Swingline Staple Cartridge - 3 Refills)

$57.99



Samsung Galaxy S10 10.9

Samsung Galaxy S10 10.9" FE 128GB WiFi Tablet SM-X520NZACXAR S-Pen Keyboard 2025

$299.99



Samsung Galaxy Tab Active 3/  64 gig/WIFI picture

Samsung Galaxy Tab Active 3/ 64 gig/WIFI

$85.00



Samsung Galaxy View Tablet 18.4 SM-T670/677A Digitizer 100% Original Oem picture

Samsung Galaxy View Tablet 18.4 SM-T670/677A Digitizer 100% Original Oem

$152.99



Samsung 850 Pro Series 2TB 2.5inch SATA3 6Gbp Internal SSD MZ-7KE2T0 5 Available picture

Samsung 850 Pro Series 2TB 2.5inch SATA3 6Gbp Internal SSD MZ-7KE2T0 5 Available

$189.00



Samsung DVI to DVI Cable 6 ft Digital Video Interface Audio Video NEW picture

Samsung DVI to DVI Cable 6 ft Digital Video Interface Audio Video NEW

$30.89



Kids Case for Samsung Galaxy Tab A9+/A9 plus 11 Inch 2023 Case, with Strap, Shoc picture

Kids Case for Samsung Galaxy Tab A9+/A9 plus 11 Inch 2023 Case, with Strap, Shoc

$27.99



Samsung JC95-01514A Cover-Side Roller T2 Compatible picture

Samsung JC95-01514A Cover-Side Roller T2 Compatible

$39.00



Samsung Xpress C410W Color Wireless Laser Printer - Brand New - Never Out Of Box picture

Samsung Xpress C410W Color Wireless Laser Printer - Brand New - Never Out Of Box

$289.00



Samsung MZ1LB1T9HALS PM983 1.92TB M.2 22110 PCIe 3.0 NVMe SSD (430 EUR 0% VAT) picture

Samsung MZ1LB1T9HALS PM983 1.92TB M.2 22110 PCIe 3.0 NVMe SSD (430 EUR 0% VAT)

$601.98