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
  •  


LSI 9305-16i SATA SAS 12Gbs RAID Controller PCIe 3.0 x8 IT-Mode 4* 8643 SATA picture

LSI 9305-16i SATA SAS 12Gbs RAID Controller PCIe 3.0 x8 IT-Mode 4* 8643 SATA

$229.99



HPE 869102-001 Smart Array E208i-a SR Gen10 Storage Controller RAID SP: 871039 picture

HPE 869102-001 Smart Array E208i-a SR Gen10 Storage Controller RAID SP: 871039

$116.99



Lot of 4 - Genuine Dell (62P9H) PERC H710 512MB Mini Blade 6Gbps SAS Raid picture

Lot of 4 - Genuine Dell (62P9H) PERC H710 512MB Mini Blade 6Gbps SAS Raid

$44.99



Lot of 2 -Dell P2R3R PERC H330 Mini Mono 12Gbps SAS Non-raid Controller 0P2R3R picture

Lot of 2 -Dell P2R3R PERC H330 Mini Mono 12Gbps SAS Non-raid Controller 0P2R3R

$35.99



Inspur LSI 9300-8i Raid Card 12Gbps HBA HDD Controller High Profile IT MODE picture

Inspur LSI 9300-8i Raid Card 12Gbps HBA HDD Controller High Profile IT MODE

$15.98



LSI MegaRAID 9361-8i 12Gb PCIe 8-Port SAS/SATA RAID 1Gb w/BBU/CacheVault/License picture

LSI MegaRAID 9361-8i 12Gb PCIe 8-Port SAS/SATA RAID 1Gb w/BBU/CacheVault/License

$39.95



LSI MegaRAID 9361-8i 12Gbps PCIe 3 x8 SATA SAS 3 8 Port RAID + BBU & CacheVault picture

LSI MegaRAID 9361-8i 12Gbps PCIe 3 x8 SATA SAS 3 8 Port RAID + BBU & CacheVault

$39.00



ORICO Multi Bay RAID Hard Drive Enclosure USB 3.0/ Type-C For 2.5/3.5'' HDD SSDs picture

ORICO Multi Bay RAID Hard Drive Enclosure USB 3.0/ Type-C For 2.5/3.5'' HDD SSDs

$82.49



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



NEW LSI MEGARAID SAS 9361-8i 12GB/s SAS + SATA RAID CONTROLLER CARD PCIe x8 3.0 picture

NEW LSI MEGARAID SAS 9361-8i 12GB/s SAS + SATA RAID CONTROLLER CARD PCIe x8 3.0

$99.00