-
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

Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray
$39.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

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

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

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

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

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

Seagate Exos X16 ST12000NM001G 12TB 256MB 7200RPM 3.5" SATA 6Gb/s Enterprise HDD
$349.95