Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: What codes can be passed on to Knoppix during boot time by knoppix-data.inf?

  1. #1
    Senior Member registered user
    Join Date
    Dec 2008
    Location
    Mysore, India
    Posts
    272

    What codes can be passed on to Knoppix during boot time by knoppix-data.inf?

    Could I be directed to a post(s) which discusses the codes that could be passed on to knoppix during boot time via knoppix-data.inf?
    Thanks.

  2. #2
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    Look for knoppix-cheatcodes.txt on any Knoppix CD or DVD.

    Or, if using a Knoppix Live System, at

    /home/knoppix/Desktop/KNOPPIX/KNOPPIX/knoppix-cheatcodes.txt or
    /mount-system/KNOPPIX/knoppix-cheatcodes.txt

  3. #3
    Senior Member registered user
    Join Date
    Dec 2008
    Location
    Mysore, India
    Posts
    272

    I am indeed surprised!

    Quote Originally Posted by utu View Post
    /home/knoppix/Desktop/KNOPPIX/KNOPPIX/knoppix-cheatcodes.txt or
    /mount-system/KNOPPIX/knoppix-cheatcodes.txt
    Dear Utu,

    I am surprised! Does this mean that the entire cheat-code can be written "AS ARE" within the file knoppix-data.inf ?
    When I had Debian system with Grub I used to pass the cheat-codes in grub.cfg to Knoppix in order to boot from that image.

    Please direct me to the documentation section where the knoppix-data.inf is discussed, particularly passing the cheat-codes to knoppix during boot time.

    I am surprised because I had tried knoppix nodrm nofb 2 in knoppix-data.inf . But the codes were ignored.

  4. #4
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    I suppose there has been a misunderstanding about your question. Within 'knoppix-data.inf' there is of course only the information about the overlay partition (not overlay file). How to build this file you can see in '/usr/bin/flash-knoppix(2)'.

    How Knoppix interprets this file during boot, you can see within the "init"-file of the minirt.gz in the function mountdata() and there starting at the line "inf) # Contain partition information ...".

    For simplicity reason Knoppix only supports "overlay partition" on the 2nd partition with partitionname KNOPPIX-DATA and ReiserFS. If you want to change this behaviour, you have to do many hacks by yourself in this two scriptfiles.

  5. #5
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    @ Rajib

    If one is using Knoppix as a LiveUSB, one may add or change cheatcodes at boot
    by modifying APPEND statements in /mnt-system/syslinux.cfg.

    If this is done before any persistent changes are recorded, I would expect that
    to serve to apply to any cheatcodes you want.

  6. #6
    Senior Member registered user
    Join Date
    Dec 2008
    Location
    Mysore, India
    Posts
    272
    Yes, Utu, so I found! I have been exploring the boot folder in mnt-system/boot/syslinux and tested and found the entered code to be working, across multiple booting. My first line looks as follows:
    Code:
     DEFAULT knoppix
    APPEND lang=en apm=power-off initrd=minirt.gz nomce nofb nodrm tz=/Asia/Kolkata libata.force=noncq hpsa.hpsa_allow_any=1 loglevel=1
    TIMEOUT 20
    So now I have a working Knoppix running from pen-drive with a persistent ext4 partition whose data and files I can change from other computers.
    Thank you, Utu. You always provide straight-forward reply.

    PROBLEM SOLVED!
    Last edited by rajibando; 04-25-2015 at 03:03 PM.

  7. #7
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    Quote Originally Posted by rajibando View Post
    So now I have a working Knoppix running from pen-drive with a persistent ext4 partition whose data and files I can change from other computers.
    You are quite welcome, Rajib.
    Do you have some reason to prefer ext4 to rieserfs?

  8. #8
    Senior Member registered user
    Join Date
    Dec 2008
    Location
    Mysore, India
    Posts
    272

    The reason for using ext4

    Quote Originally Posted by utu View Post
    Do you have some reason to prefer ext4 to rieserfs?
    Yes, defragmentation of the RFS and corruption following multiple shutdowns. I have discussed this earlier: My HCL laptop is faulty, thanks to our cybercoolies. Its heat-dissipation system is faulty, leading it to high temperatures when the CPU cycles are 100% utilised.

    And I also wish to use this last post from my end to thank Mr. Schulz, a very nice person, who tried to help me complete this project, stayed with me and provided inputs.

  9. #9
    Senior Member registered user
    Join Date
    Dec 2008
    Location
    Mysore, India
    Posts
    272

    My idea needs further explanation for those who search for answers

    Dear Utu, I felt I needed to explain myself better.

    Both ext4 and the reiser are Journaling Filesystems. To understand the intricacies which warrants implementation of Journals, one has to understand the read-write operations and a power failure during the system's writing data on a storage device, e.g., HDD.

    Journaling is a separate area to store To-Be-Written data before writing. If power is cut off during writing from the journal to the permanent data area, we have the journal to recover our work. ext4 is the latest one, having the scope for a huge journal.

    Linux doesn't implement Raiser with its full capabilities. Moreover, Knoppix-data.img is really Reiser upon another FS, i.e., journal upon journal, i.e., four (2^2) times the amount of read-write operations than when using a single FS.

    My damaged laptop is the result of design by damaged minds. This was the reason for my implementing ext4 directly. I hope I have explained myself as clearly as I am capable of.
    Last edited by rajibando; 04-26-2015 at 08:34 AM.

  10. #10
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    Knoppix-data.img is really Reiser upon another FS, i.e., journal upon journal,..
    knoppix-data.img and knoppix-data.aes are special files within the Flash disk install of Knoppix (FAT32). These files are the overlay files and are ext2 formatted (encrypted or not).

    The overlay partition in a standard Flash disk install of Knoppix is the whole 2nd partition and is ReiserFS formatted. You can also check and fix ReiserFS with the tool "reiserfsck". Therefore I cannot see the need to use ext4 instead of ReiserFS.
    I have been exploring the boot folder in mnt-system/boot/syslinux and tested and found the entered code to be working, across multiple booting.
    It's the Micro-Remastering as KK told us.
    Last edited by Werner P. Schulz; 04-26-2015 at 10:17 AM.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


ACASIS 2.5/3.5 inch 2 Bay SATA USB 3.0 Hard Drive Disk HDD SSD Enclosure 4 RAID picture

ACASIS 2.5/3.5 inch 2 Bay SATA USB 3.0 Hard Drive Disk HDD SSD Enclosure 4 RAID

$58.99



M.2 NVME SATA SSD Enclosure USB 3.2 Gen 2 10Gbps for M-Key or M+B Key SSD to 8TB picture

M.2 NVME SATA SSD Enclosure USB 3.2 Gen 2 10Gbps for M-Key or M+B Key SSD to 8TB

$40.86



SanDisk 2TB Ultra 3D NAND SSD, Internal Solid State Drive - SDSSDH3-2T00-G26 picture

SanDisk 2TB Ultra 3D NAND SSD, Internal Solid State Drive - SDSSDH3-2T00-G26

$149.99



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$14.99



Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot picture

Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot

$13.99



Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot picture

Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot

$13.99



Fanxiang SSD 512GB 1TB 2TB 4TB 2.5''SATA III Internal Solid State Hard Drive LOT picture

Fanxiang SSD 512GB 1TB 2TB 4TB 2.5''SATA III Internal Solid State Hard Drive LOT

$19.99



Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot picture

Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot

$188.99



Fanxiang 256GB 512GB 1TB 2TB 4TB Internal SSD 2.5

Fanxiang 256GB 512GB 1TB 2TB 4TB Internal SSD 2.5" SATA III 6GB/s for PC/MAC Lot

$178.19