-
Senior Member
registered user
a remaster guide to just change default cheatcodes
Would someone look over this guide. I can not test it now.
Instructions
[edit]
Setting up for isolinux.cfg Remastering
This is an abbreviated remaster just to change boot options
1. Boot from the Knoppix CD
2. Open a root shell:
o Menu: Kmenu->Knoppix->Root Shell
o Note: All commands below are run from this root shell.
3. Find the partition you will use to work on. In this example it is called hda1 . The partition should have a minimum of 3 GB free space
4. Mount the partition:
o mount -rw /dev/hda1 /mnt/hda1
o Note: Make sure that it is read/write or you will get errors when you later chroot. To check: run mount
5. Create a root directory to work in -- if you put all your files here it will be easy to clean up
o mkdir /mnt/hda1/knx
6. If you don't have 1 GB RAM (cat /proc/meminfo (physical+swap)) then you will need a swapfile:
o cd /mnt/hda1/knx
o dd if=/dev/zero of=swapfile bs=1M count=750
o mkswap swapfile
o swapon swapfile
7. Make 1 directories, one for your new Master CD:
o mkdir -p /mnt/hda1/knx/master
8. copy the files from your cdrom - you'll need these files to build the ISO later.
o cp -Rp /cdrom/* /mnt/hda1/knx/master/
o Now, copy the isolinux.cfg to your desktop. You can add cheatcodes on the lines that start APPEND (for example desktop=gnome, or dma, or home=scan in this case I changed the default laungage from de(german) to us(english).
WHEN YOU ARE DONE THE FILE MUST BE EXACTLY THE SAME SIZE AS THE ORIGINAL. I MEAN EXACTLY. YOU CAN ADD OR REMOVE # SIGNS TO MAKE THE FILE SIZES MATCH. IT MAY NOT BE A 1:1 RATIO. IF YOU ADD 3 CHARACTORS THAT DOES NOT MEAN THAT YOU CAN JUST REMOVE 3# SIGNS YOU MAY HAVE TO REMOVE 4# SIGNS OR ADD 10. I DON’T KNOW WHY.
DEFAULT linux
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=minirt.gz nomce quiet BOOT_IMAGE=knoppix
TIMEOUT 300
PROMPT 1
DISPLAY boot.msg
F1 boot.msg
F2 f2
F3 f3
LABEL knoppix
KERNEL linux
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=minirt.gz nomce quiet BOOT_IMAGE=knoppix
LABEL expert
KERNEL linux
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=minirt.gz nomce BOOT_IMAGE=expert
LABEL memtest
KERNEL memtest
APPEND initrd=
LABEL knoppix-txt
KERNEL linux
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=normal initrd=minirt.gz nomce quiet BOOT_IMAGE=knoppix
LABEL debug
KERNEL linux
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=normal initrd=minirt.gz debug BOOT_IMAGE=debug
LABEL fb1280x1024
KERNEL linux
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=794 xmodule=fbdev initrd=minirt.gz nomce quiet BOOT_IMAGE=knoppix
LABEL fb1024x768
KERNEL linux
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 xmodule=fbdev initrd=minirt.gz nomce quiet BOOT_IMAGE=knoppix
LABEL fb800x600
KERNEL linux
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=788 xmodule=fbdev initrd=minirt.gz nomce quiet BOOT_IMAGE=knoppix
LABEL failsafe
KERNEL linux
APPEND ramdisk_size=100000 init=/etc/init lang=us vga=normal atapicd nosound noapic noacpi pnpbios=off acpi=off nofstab noscsi nodma noapm nousb nopcmcia nofirewire noagp nomce nodhcp xmodule=vesa initrd=minirt.gz BOOT_IMAGE=knoppix
LABEL m23
KERNEL m23
APPEND devfs=nomount vga=normal load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=32000 initrd=m23rt.gz root=/dev/ram0 rw
LABEL userdef
KERNEL linux
APPEND ################################################## ################################################## ################################################## ################################################## ################################################## ################################################## ################################################## ################################################## ################################################## ######################################
9. Make MD5 hash
o cd /mnt/hda1/knx/master
o find -type f -not -name md5sums -not -name boot.cat -not -name isolinux.bin -exec md5sum '{}' \; > KNOPPIX/md5sums
10. Make ISO File System
o For old versions <=3.3
mkisofs -pad -l -r -J -v -V "KNOPPIX" -b KNOPPIX/boot.img -c KNOPPIX/boot.cat -hide-rr-moved -o /mnt/hda1/knx/knoppix.iso /mnt/hda1/knx/master
o for Knoppix >= 3.4 or other isolinux based distributions:
mkisofs -pad -l -r -J -v -V "KNOPPIX" -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -hide-rr-moved -o /mnt/hda1/knx/knoppix.iso /mnt/hda1/knx/master
That should give you a new ISO in /mnt/hda1/knx. If you move knoppix.iso up one directory to /mnt/hda1 you can test the image to make sure if will work. Just reboot with the cheatcode knoppix bootfrom=/dev/hda1/knoppix.iso
Similar Threads
-
By fergus in forum Hardware & Booting
Replies: 0
Last Post: 07-26-2007, 07:47 AM
-
By bashhelp in forum Customising & Remastering
Replies: 0
Last Post: 11-23-2005, 11:59 AM
-
By pascal82 in forum General Support
Replies: 2
Last Post: 05-10-2005, 11:43 AM
-
By sci_fi in forum Customising & Remastering
Replies: 3
Last Post: 12-31-2004, 05:22 PM
-
By bfree in forum General Support
Replies: 0
Last Post: 04-26-2004, 05:20 AM
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

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

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot
$573.98

Windows 11 Pro Install/Recovery/Repair USB Flash Drive
$35.00

SK HYNIX 32GB 2RX4 PC4 2666V ECC SERVER RAM
$199.00

USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot
$3.75

256GB 4x64GB Samsung DDR4-2666 ECC LRDIMM M386A8K40BM2-CTD6Q Server RAM
$1699.99

Samsung 32GB DDR4-2666V-2Rx4-RB2-12 RAM M393A4K40CB2-CTD6Q
$169.00

Lot of 14 SK hynix 32GB DDR4-2933 ECC RDIMM 2Rx4 HMA84GR7JJR4N-WM 448GB
$2499.99

5 in 1 Memory Card Reader USB 3.0 OTG Adapter SD Card Reader For iPhone/iPad LOT
$9.99

SMART(Micron)SafeStor 32GB(1X32GB) 1RX4 NN4-3200AA(DDR4) HPE Server Memory
$159.98