Results 1 to 5 of 5

Thread: Adding default cheat codes

  1. #1
    Junior Member
    Join Date
    Aug 2006
    Posts
    5

    Adding default cheat codes

    Hello there!

    I decided to use knoppix as my default travel OS replacement. However, I still would like to make a few of tiny changes to it.
    Most importantly, I'd like to make the default (just hitting the enter) code to be something like this: "knoppix splash dma config=scan". Can someone give me pointers to remastering howtos for newbies? I prefer english (my german is not very good). If i'll be able to do this the rest will come by itself.

    Thanx
    Marcel

  2. #2
    Banned
    Join Date
    Aug 2006
    Posts
    3
    kernel booting is not governed by any linux distribution, it is the responsibility of a boot manager. commonly, iso9660 filesystems on intel machines that follow the 'el torito" standard use "isolinux" for that purpose. isolinux defines a default boot directory. usually it is encoded in isolinux binary image, and may be verified if you dump the cd boot code in some iso-image editing software (like magiciso, ultraiso). on most systems it is "/boot/isolinux". from that directory "isolinux.cfg" configuration file is read that specifies boot kernel, options, and other such-like. it is a text file that may easily be modified and crafted to your own liking. and of course, bear in mind that cd's are read-only.

  3. #3
    Junior Member
    Join Date
    Aug 2006
    Posts
    5
    Quote Originally Posted by 78be6b9f
    ...on most systems it is "/boot/isolinux". from that directory "isolinux.cfg" configuration file is read that specifies boot kernel, options, and other such-like. it is a text file that may easily be modified and crafted to your own liking. and of course, bear in mind that cd's are read-only.
    thanx for your reply, mate. does this mean that all i need is to edit the second line of the abovementioned file?
    (DEFAULT linux
    APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=minirt.gz nomce quiet BOOT_IMAGE=knoppix)

    actually, that'd be something i expected. confirm, please.

    cheers
    marcel

  4. #4
    Senior Member registered user
    Join Date
    Feb 2005
    Posts
    228
    Yes, but there are two limitations:
    1. Don't edit isolinux.cfg with a windows editor, unless you know exactly how to preserve Unix text format.
    2. You cannot simply write to the iso file. Instead you have to copy the files from the cd to a temporary folder, edit isolinux.cfg and create and new iso file with mkisofs. Take a look at the remastering article in the wiki. It explains how to modify the cd and how make a bootable iso file that contains your modifications. The only difference is that you don't even have to remaster because you can copy the KNOPPIX image file right from the cd without uncompressing it.

  5. #5
    Junior Member
    Join Date
    Aug 2006
    Posts
    5
    Quote Originally Posted by ockham23
    Yes, but there are two limitations:
    1. Don't edit isolinux.cfg with a windows editor, unless you know exactly how to preserve Unix text format.
    2. You cannot simply write to the iso file. Instead you have to copy the files from the cd to a temporary folder, edit isolinux.cfg and create and new iso file with mkisofs. Take a look at the remastering article in the wiki. It explains how to modify the cd and how make a bootable iso file that contains your modifications. The only difference is that you don't even have to remaster because you can copy the KNOPPIX image file right from the cd without uncompressing it.
    thanx for your reply.
    ad 1)
    indeed i'm a windows user who wants to switch. can you tell me how to "preserve Unix text format" on win system? maybe it is just a matter of a text editor.

    ad 2)
    good to know. I use UltraISO, which can update the files inside of iso file and preserve the bootability (and other properties).

    feel free to comment

    cheers
    marcel

Similar Threads

  1. Cheat codes
    By RoyalMail in forum Hardware & Booting
    Replies: 4
    Last Post: 11-23-2009, 04:00 PM
  2. Setting default cheat codes.. remastering knoppix.
    By mohit.jain.india in forum Customising & Remastering
    Replies: 0
    Last Post: 08-31-2005, 06:45 PM
  3. Cheat codes
    By lbenn in forum Hardware & Booting
    Replies: 5
    Last Post: 06-02-2005, 03:13 PM
  4. Setting default boot Cheat Codes
    By cld in forum General Support
    Replies: 1
    Last Post: 07-15-2004, 01:45 PM
  5. how to use cheat codes after hdd install
    By marklinux in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 06-11-2004, 03:28 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
  •  


Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS picture

Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS

$179.98



Dell Precision Tower 7810 Xeon E5-2630 v3 @ 2.40GHz , 32GB Ram, NO HDD, NO OS picture

Dell Precision Tower 7810 Xeon E5-2630 v3 @ 2.40GHz , 32GB Ram, NO HDD, NO OS

$239.99



Dell Precision T7820 2x Xeon Silver 4114 2.20GHz 950W No RAM GPU HDD 4x SATA picture

Dell Precision T7820 2x Xeon Silver 4114 2.20GHz 950W No RAM GPU HDD 4x SATA

$350.48



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



INTEL XEON E5-2680V4 SR2N7 2.40GHZ CPU picture

INTEL XEON E5-2680V4 SR2N7 2.40GHZ CPU

$11.00



Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS picture

Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS

$84.49



DELL Precision 5820 Workstation Xeon W-2123 3.6ghz/NO RAM/NO SSD/P400 Vid picture

DELL Precision 5820 Workstation Xeon W-2123 3.6ghz/NO RAM/NO SSD/P400 Vid

$139.99



Genuine Intel Xeon W-2145 3.70Ghz  8 Cores LGA2066 CPU SR3LQ Tested USA SELLER  picture

Genuine Intel Xeon W-2145 3.70Ghz 8 Cores LGA2066 CPU SR3LQ Tested USA SELLER

$94.94



Intel Xeon Phi 5110P 60-Core 1.053GHz Coprocessor   picture

Intel Xeon Phi 5110P 60-Core 1.053GHz Coprocessor

$50.00



Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM picture

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM

$699.00