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
  •  


Seagate Enterprise Capacity 8TB 7200 RPM Internal Hard Drive ST8000NM0045 picture

Seagate Enterprise Capacity 8TB 7200 RPM Internal Hard Drive ST8000NM0045

$147.99



Seagate ST8000NM0055 8TB 7200RPM 256MB SATA 6.0 Gb/s 3.5

Seagate ST8000NM0055 8TB 7200RPM 256MB SATA 6.0 Gb/s 3.5" Enterprise Hard Drive

$41.81



Western Digital WD4000FYYZ RE 4TB 7200 RPM 64MB Cache SATA 6Gb/s 3.5

Western Digital WD4000FYYZ RE 4TB 7200 RPM 64MB Cache SATA 6Gb/s 3.5" Hard Drive

$28.60



HGST 3.5 Internal Hard Drive 3TB 7200rpm 0F12470 picture

HGST 3.5 Internal Hard Drive 3TB 7200rpm 0F12470

$30.00



HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5

HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601

$89.99



HGST Ultrastar HE10 10TB SATA 6.0Gb/s 7200 3.5

HGST Ultrastar HE10 10TB SATA 6.0Gb/s 7200 3.5" Datacenter HDD - HUH721010ALE601

$69.99



1TB HDD/SSD 2.5

1TB HDD/SSD 2.5" SATA Hard Drive for Laptop with Win 10/Win 11 Pro Pre-installed

$19.99



Seagate Exos X14 12TB SATA6Gb/s 7200RPM 3.5

Seagate Exos X14 12TB SATA6Gb/s 7200RPM 3.5" Enterprise Hard Drive ST12000NM0558

$109.95



Seagate ST8000NM0055 8TB 7200RPM 256MB SATA 6.0 Gb/s 3.5

Seagate ST8000NM0055 8TB 7200RPM 256MB SATA 6.0 Gb/s 3.5" Enterprise Hard Drive

$41.81



*LOT OF 40* 500GB Desktop PC 3.5

*LOT OF 40* 500GB Desktop PC 3.5" SATA Hard Drive HDD*Tested*

$212.00