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
  •  


(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray picture

(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray

$174.99



New Supermicro SuperServer E50-9AP-Wifi Mini PC Server picture

New Supermicro SuperServer E50-9AP-Wifi Mini PC Server

$175.00



Apple Macbook Pro 13

Apple Macbook Pro 13" A2338 M1 8-core CPU, 8-core GPU, 16GB, 1TB Logic Board

$295.00



Clear Touch Interactive Module CTI PCMOD PC55 ST i5 6core,8GB DDR4,256GB SSD NEW picture

Clear Touch Interactive Module CTI PCMOD PC55 ST i5 6core,8GB DDR4,256GB SSD NEW

$225.00



HP EliteBook 840 G8: Core i5-1135G7 / 16GB RAM / 256GB SSD / 14” / Windows 11 picture

HP EliteBook 840 G8: Core i5-1135G7 / 16GB RAM / 256GB SSD / 14” / Windows 11

$215.00



AMD Ryzen 7 9800X3D 8-Core 16-Thread AM5 Zen 5 Desktop Processor NEW picture

AMD Ryzen 7 9800X3D 8-Core 16-Thread AM5 Zen 5 Desktop Processor NEW

$395.00



*Brand New-Factory Sealed* AMD Ryzen 7 9800X3D 8-Core 4.7 GHz 100-100001084WOF picture

*Brand New-Factory Sealed* AMD Ryzen 7 9800X3D 8-Core 4.7 GHz 100-100001084WOF

$389.00



Used & Tested Intel Xeon W-2255 SRGV8 3.70GHz 19.25MB 10-Core CPU Processor picture

Used & Tested Intel Xeon W-2255 SRGV8 3.70GHz 19.25MB 10-Core CPU Processor

$194.99



AMD Series FX-8300 FX-8350  AM3+ 8-Core Processor CPU US picture

AMD Series FX-8300 FX-8350 AM3+ 8-Core Processor CPU US

$29.99



Intel Core i9-9900 SRG18 3.10GHz 16MB 8-Core LGA1151 CPU Processor picture

Intel Core i9-9900 SRG18 3.10GHz 16MB 8-Core LGA1151 CPU Processor

$177.21