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

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
-
Senior Member
registered user
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.
-

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
-
By RoyalMail in forum Hardware & Booting
Replies: 4
Last Post: 11-23-2009, 04:00 PM
-
By mohit.jain.india in forum Customising & Remastering
Replies: 0
Last Post: 08-31-2005, 06:45 PM
-
By lbenn in forum Hardware & Booting
Replies: 5
Last Post: 06-02-2005, 03:13 PM
-
By cld in forum General Support
Replies: 1
Last Post: 07-15-2004, 01:45 PM
-
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
-
Forum Rules

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM
$1625.00

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

Microsoft Windows Server 2025 Standard 64Bit 16 Core-50 CALs DVD With Key Sealed
$49.99

867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001
$245.00

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$409.99

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD
$378.93

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO
$308.00

2U AI MINING SERVER 2x Xeon 36 cores 2.3Ghz DDR4 2x NVIDIA V100 GPU PCIe 2PS USA
$799.00

Windows Server 2025 datacenter 64bit 24 Core 50 cal DVD + PRODUCT LICENSE KEY.
$49.99

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD
$149.99