which is ERASED upon boot up for God knows what reason
I don't know where this information comes from. The knoppix.sh script doesn't exist in DSL to begin with...it is an optional script that the user can add to the boot process if desired. It cannot be erased if added to the ISO because ISO is read-only, regardless of how it's mounted.
As far as I know, the only Knoppix initialization script is /etc/init.d/knoppix-autoconfig, which takes care of hardware detection and then runs knoppix.sh if it's found. The knoppix-autoconfig script can also not be erased, for the same reason.I still cannot see how just using that 'UltraISO' program will allow you to remaster the dsl image (in /KNOPPIX/KNOPPIX)...APOLOGIES! INCOMPLETE ADVICE!
Anshik, the primary Knoppix boot script is "linuxrc". This script is packed into file "minirt24.gz." which is on your bootfloppy if you use a floppy, or in folder "BOOT" on your CD or USB stick if you use ISOLINUX version of DSL. SYSLINUX version slightly different.
"minirt24.gz" is compressed. On the bootfloppy, it is less than 1 MB but when it is decompressed it occupies 3-4 MB of drive space. Thus you must first copy the ".gz" somewhere else to decompress if you are starting with a floppy. Then uncompress with: gunzip minirt24.gz
Above command will erase "minirt24.gz" and overwrite it with 3-4MB "minirt24". Now, "minirt24" is a ramdrive image -- ext2 filesystem. To access the files within this image, mount the image with mount -t ext2 -o loop minirt24 /t where /t is a temporary folder created just for this mount [["mkdir /t"]].
After above, you will find file "linuxrc" in folder /t, where you can edit it. Since the ramdrive image is for a 3-4 MB drive, the folder /t must not contain more than 3-4 MB; but there is soemthing like 500 KB of free space so you can do a ton of script editing without modifying the ramdrive parameters. Unmounting the ramdrive then is all that is needed to leave the new contents in the image. Than recompress the ramdrive image and you are done!
This is only for people who want to do really heavy Linux scripting. Unnecessary for most for sure.Mr Hat: Sometimes I just go off...... UltraISO utterly irrelevant in this thread!
Mr Mik: "linuxrc" is the main boot script in most Live Linux CDs; authored by Klaus Knopper. It is definitely in "minirt24" and "minirt24" is indeed erased during boot. At least before DSL 3 and UNIONFS.
Since I brought it up, here is more whacko irrelevancy...... You can edit ISO images with FreeDOS. Yes, FreeDOS. Just did it. Program names to Google: OMI.EXE SHSUCDRD.EXE
One little problem with FreeDOS: I have not found a way to re-image the ISO after editing. It appears to me the DOS program ISOBAR makes re-imaging possible but I have not yet verified this....
Quote (Anshik @ Oct. 03 2006,09:15)
I've install DSL on usb. I want to edit KNOPPIX image, to run my script, at the init3. Thank you.