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.
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.

Apple Mac Pro 2019 1TB OEM SSD Kit-832GB +128GB - 656-0122/ 656-0121
$69.99
Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot
$60.00
Samsung 1TB SSD BM91H 1TB (MZ-VMA1T00) Internal SSD M.2
$135.00
Dell Latitude 14" Laptop Computer Intel i5 Up To 32GB RAM 1TB SSD Windows 11 Pro
$545.25
Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD
$255.98
Acer Predator Helios Neo 16S AI 16" i9 275HX 2S RTX 5070 Ti 32GB 1TB SSD Refurb
$1746.47
SAMSUNG T7 Portable SSD 1TB Indigo Blue USB 3.2 Gen2 External MU-PC1T0H/AM
$159.99
1TB Kingston DataTraveler Max DTMAX/1TB USB Type-C Flash Drive
$86.95
External SSD 1TB 2TB 4TB Portable Hard Drive USB 3.0 Type-C High Speed PC Mac
$19.99
Dell Latitude 14" Laptop Computer Intel i7 Up To 32GB RAM 1TB SSD Windows 11 Pro
$330.73