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
  •  


HP ProLiant Xeon E3-1220L V2 16 GB RAM 2.30 GHz MicroServer Gen8 NO DRIVES picture

HP ProLiant Xeon E3-1220L V2 16 GB RAM 2.30 GHz MicroServer Gen8 NO DRIVES

$174.99



HP PROLIANT MICROSERVER MICRO SERVER HSTNS-5151 T4 Used. picture

HP PROLIANT MICROSERVER MICRO SERVER HSTNS-5151 T4 Used.

$45.00



HP ProLiant HSTNS-5151 Micro Server 8GB RAM No Drives/Key/Caddies *READ* picture

HP ProLiant HSTNS-5151 Micro Server 8GB RAM No Drives/Key/Caddies *READ*

$94.99



Supermicro Server Tower Xeon BOOTS E5-2620 v4 2.10GHz 64GB RAM NO HDD NO OS picture

Supermicro Server Tower Xeon BOOTS E5-2620 v4 2.10GHz 64GB RAM NO HDD NO OS

$199.99



HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon picture

HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon

$846.19



SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount picture

SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount

$202.49



Supermicro 5018A-FTN4 Rack Server - Black picture

Supermicro 5018A-FTN4 Rack Server - Black

$125.00



HP PROLIANT ML30 GEN9 INTEL XEON E3-1230 V6 3.50 GHz 16GB RAM SKU#55344 picture

HP PROLIANT ML30 GEN9 INTEL XEON E3-1230 V6 3.50 GHz 16GB RAM SKU#55344

$164.99



1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE picture

1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE

$297.00



2U 12 Bay SAS3 SuperMicro Server 6028U-TR4T+ W/ X10DRU-i+ Barebone 12 Caddy RAIL picture

2U 12 Bay SAS3 SuperMicro Server 6028U-TR4T+ W/ X10DRU-i+ Barebone 12 Caddy RAIL

$299.00