Is there a way to set a cheat code while Knoppix is running?
Can I manipulate /proc/cmdline and add the noeject code?
Is there a way to set a cheat code while Knoppix is running?
Can I manipulate /proc/cmdline and add the noeject code?
I can't see any other method way other than the one you've described. I've never tried to do that myself but you could certainly give it a shot.
Please let us know how it works.
I came up with an easy "fix" while reading another thread. I like to use XOSL as a boot loader. With XOSL installed you can stuff characters in the keyboard buffer when the booting OS is ready for them, So you could easily create a boot menu like:
I suggest installing XOSL on it's own tiny partition whenever first setting up a computer or repartitioning a hard drive. There are some other advantages to booting with it over Grub or Lilo that I mention in the other thread.Code:1. WinXP 2. Win98 3. Debian 4. Boot CD drive #1 5. Boot CD drive #2 6. Boot Knoppix in CD #1 with acpi=off 7. Boot Knoppix in CD #1 with toram, myconfig=scan
By the way, the XOSL technique has the added advantage of affixing the cheat codes to the system that needs them, not to the CD or DVD. That way you can use the same CD in several systems that might need different cheat codes, or carry it elsewhere, and it will behave like a normal Knoppix CD (which it is). You also can download new versions of Knoppix and not have to edit anything to make the work automatically with the same codes (although on occasion a new version does either need different codes or no longer needs codes it perviously did, but this is extremely easy to change in XOSL, whithout even manually editing a config file).
---
Verifying of md5 checksum and burning a CD at slow speed are important.
Maybe I was not completely clear on what you were asking. Once Knoppix is already up the cheat codes have alread done their thing. Of course, the noeject is an obvious exception there, and there are likely several ways to aviod the eject at shutdown if that is what you are after. But in the more general sense of changing cheat codes I think you have to focus on manually entering them, editing the ISO to force codes, or use a bootloader trick to feed the standard ISO the proper codes. Sure, for some codes Linux will let you change things after boot, starting a different GUI for example. But in general cheat codes are intended to help "guide" the hardware detection or override it.

Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray
$39.99
Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A
$64.00
Seagate ST12000NM0127 12TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive
$318.99
DELL 2TB Enterprise HDD (7200RPM, 3.5", SATA III, 128MB Cache) HUS722T2TALA600
$49.95
Seagate ST4000NM0034 Enterprise 4TB 7200RPM SAS 12Gb/s HDD v4
$39.00
Seagate ST500DM009 BarraCuda 500 GB 3.5" SATA III Desktop Hard Drive
$14.99
Seagate 3.5" Desktop HDD 3TB SATA III 6Gbps HDD 1ER166-510
$39.99
Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE
$68.99
Seagate ST8000NM0075 Enterprise Capacity 3.5 HDD 8TB SAS Hard Drive 8TB EXOS
$184.99
Seagate ST1000VM002 1TB 5900RPM 3.5" SATA 6Gb/s HDD | PC DVR CCTV | | 1Y
$55.95