-
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

Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray
$39.99

Seagate ST8000DM004 8TB 3.5" 6Gb/s 256MB SATA HDD P/N: 2CX188-300 Tested
$149.99

Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A
$64.00

(ST8000NM0045) SEAGATE ENTERPRISE 8TB 7200RPM 4Kn SATA 6Gb/s 3.5" HARD DRIVE
$199.99

Seagate ST500DM009 BarraCuda 500 GB 3.5" SATA III Desktop Hard Drive
$14.99

HGST Ultrastar 7K4000 3TB 7200RPM SATA III 3.5" Hard Drive HDD HUS724030ALA640
$39.99

Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE
$68.99

HGST HUA723030ALA640 3TB SATA 7200 RPM 3.5 in Enterprise HDD | 0F14044 (100%)
$45.00

DELL 2TB Enterprise HDD (7200RPM, 3.5", SATA III, 128MB Cache) HUS722T2TALA600
$49.95

Seagate ST12000NM0127 12TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive
$318.99