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
  •  


2x SAMSUNG 32GB DDR4  2RX4 PC4-2933Y SERVER MEMORY M393A4K40CB2-CVFC0 64GB TOTAL picture

2x SAMSUNG 32GB DDR4 2RX4 PC4-2933Y SERVER MEMORY M393A4K40CB2-CVFC0 64GB TOTAL

$300.00



Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit picture

Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit

$99.99



16GB KIT (2x8GB) DDR4 Gamer Desktop RAM PC4 MIXED BRANDS picture

16GB KIT (2x8GB) DDR4 Gamer Desktop RAM PC4 MIXED BRANDS

$65.00



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$21.68



Patriot Viper Venom 16GB (2 x 8GB) PC5-48000 (DDR5-6000 MT/s)  PVV516G600C36K picture

Patriot Viper Venom 16GB (2 x 8GB) PC5-48000 (DDR5-6000 MT/s) PVV516G600C36K

$199.95



MINT Micron Cisco 32GB PC4-2400T DDR4 2Rx4 RDIMM RAM MTA36ASF4G72PZ-2G3 LOT picture

MINT Micron Cisco 32GB PC4-2400T DDR4 2Rx4 RDIMM RAM MTA36ASF4G72PZ-2G3 LOT

$159.99



Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC picture

Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC

$29.99



Assorted ADATA 8GB 2400T SO-DIMM DDR4 RAM | Grade A | 13112mh picture

Assorted ADATA 8GB 2400T SO-DIMM DDR4 RAM | Grade A | 13112mh

$18.70



16GB DDR3 RAM Kit (4x4GB) 1333MHz UDIMM, PC3-10600U Memory, 240-Pin CL9 1.5V picture

16GB DDR3 RAM Kit (4x4GB) 1333MHz UDIMM, PC3-10600U Memory, 240-Pin CL9 1.5V

$72.99



SK Hynix 16GB(2x8GB) PC4-2133P 2Rx8 Desktop RAM HMA41GU6AFR8N-TF picture

SK Hynix 16GB(2x8GB) PC4-2133P 2Rx8 Desktop RAM HMA41GU6AFR8N-TF

$49.99