-
Permanant cheat codes?
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!
-
Senior Member
registered user
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...
-
Senior Member
registered user
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.
-
Senior Member
registered user
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.
Similar Threads
-
By RoyalMail in forum Hardware & Booting
Replies: 4
Last Post: 11-23-2009, 04:00 PM
-
By skohrs in forum General Support
Replies: 4
Last Post: 03-13-2006, 10:15 PM
-
By ARAN in forum German Forum
Replies: 1
Last Post: 10-26-2005, 02:51 AM
-
By lbenn in forum Hardware & Booting
Replies: 5
Last Post: 06-02-2005, 03:13 PM
-
By Harry Kuhman in forum Ideas
Replies: 16
Last Post: 11-27-2004, 10:57 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90

SanDisk Ultra Luxe USB 3.1 Flash Drive – 5 Pack | Premium Metal USB Flash Drives
$59.99

1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot
$269.10

Microsoft Windows 11 Pro 64bit - New Sealed – Flash USB 1 PC
$49.99

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack
$826.09

Lot 5/10pcs USB Flash Drive Memory Stick 1MB-64GB Pendrive Thumb Drive 8GB 32GB
$385.00

USB Type-A Flash Drive Metal Memory Stick High Speed USB Drive 128GB 256GB 512GB
$8.47

LOT 10x SanDisk 32GB ULTRA USB 3.0 flash drive SDCZ48-032G 32 GB read 100 MB/s
$39.80

2021 Full Version Office Professional Plus for 1 PC Flash USB Drive
$59.99

128GB USB 14-in-1 MacOS bootable Installer repair recovery tech support service
$39.99