I think you can put your two codes in /boot/grub/menu.lst under
"kernel /boot/vmlinuz-2.6.11-kanotix-11 root=/dev/hda1 ro ramdisk_size=100000 lang=us apm=power-off nomce screen=1400x1050 vsync=60 " as this exemple shows, but I am not sure...
Hi folks, I've got a quick newbie question... I searched through the forums and couldn't find exactly what I was looking for, so I thought I'd ask.
I use Knoppix almost exclusively on my work laptop, and my screens strange default resolution dosen't seem to be natively supported. Every time I boot, I always need to enter cheatcodes to change to the proper resolution of 1400x1050, and to set vsync to 60.
How can I ensure that these two codes are set as defaults, so that I don't need to enter them every time?
Thanks in advance!
I think you can put your two codes in /boot/grub/menu.lst under
"kernel /boot/vmlinuz-2.6.11-kanotix-11 root=/dev/hda1 ro ramdisk_size=100000 lang=us apm=power-off nomce screen=1400x1050 vsync=60 " as this exemple shows, but I am not sure...
I assume you run Knoppix from CD, so you cannot simply edit the contents of menu.lst because the file is on CD and read only.
Normally, you would extract the ISO from the CD and modify the contents of the ISO with an ISO editor. But there is also a "dirty" way that I used to create a Kanotix CD with default cheat codes "myconf=scan home=scan vsync=70": I extracted the ISO from the CD using "cp" (cp /dev/cdrom/ [destination] kanotix.iso). Then I opened kanotix.iso with a hex editor, searched for menu.lst (which, fortunately, is not integrated into the compressed Kanotix image) and edited the line of commands that show up on the boot screen. Be careful, though, because you must neither overwrite important lines nor change the file size of menu.lst. When you're done editing kanotix.iso, burn it on CD.
Note: For Knoppix, it's isolinux.cfg that must be edited. But it's the same mechanism.
ockham23 last comment is very correct.
Just search the forums for isolinux.cfg.
I have posted many times on how to permanently turn on cheat codes in the isolinux.cfg file.

Intel Core i7-3770K 3.5 GHz Processor
$39.00
Intel Core i9-9900K SRG19 3.60GHz 16MB 8-Core LGA1151 B Grade CPU Processor
$175.00
INTEL CORE I7-870 SLBJG 2.93GHZ LGA1156 4 CORE CPU PROCESSOR
$23.00
(LOT OF 20) Intel Core i5-8400 CPU 2.80GHz Desktop Processor (SR3QT)
$700.00
AMD Ryzen 5 5500 Processor ( read Description)
$59.00
Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor
$114.99
Intel Core i7-9700 Octa-Core 3 GHz Desktop Processor LGA 1151
$79.99
Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor
$67.99
INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH
$179.99
$70.00