======================================
### SOME CONFIGURATION ABOVE ###
LABEL xconf
MENU LABEL Slax Graphics mode (KDE)
KERNEL /boot/vmlinuz
APPEND initrd=/boot/initrd.gz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;telinit~4 changes=/slax/
TEXT HELP
More about currently selected:
Run Slax the best way we can.
Try to autoconfigure graphics
card and use the maximum
allowed resolution
ENDTEXT
### OTHER BOOT ENTRIES BELOW ###
======================================
You should already know that the main boot entry point for every Linux distribution (not the CD itself) is something called "Linux kernel". The boot entry above uses a kernel (i.e. a file in non-readable format, don't bother opening it) located at "/boot/vmlinuz". The kernel itself accepts several parameters defined on the line starting with "APPEND". You should look closely at the boot entry and take note of the elements which contain paths and files. In this case the elements we care about are:
1) The kernel (very important) located at "/boot/vmlinuz".
2) The initrd image located at "/boot/initrd.gz".
3) The changes directory located at "/slax/".
====================================== ### SOME CONFIGURATION ABOVE ### LABEL finnix MENU DEFAULT MENU LABEL Boot Finnix (x86) TEXT HELP Boot Finnix with a 32-bit kernel in normal 1024x768 pixel mode. ENDTEXT KERNEL linux APPEND apm=power-off vga=791 initrd=minirt quiet ### OTEHR BOOT ENTRIES BELOW ### ======================================The kernel is defined as "linux" with no path elements (no "/" signs), which means that the file is located in the same directory as the configuration file. In other words, the kernel is "/isolinux/linux". The same applies for the initrd image. It is defined as "minirt" and it is located at "/isolinux/minirt". There are no other interesting file/path elements. Now comes the magic part: in order to "merge" Slax and Finnix we need to: 1) Merge the file structure of both Slax and Finnix.
====================================== ### SLAX CD ROOT FOLDER ### | +--boot ###EXISTING SLAX FOLDER ### | +--slax ### EXISTING SLAX FOLDER ### | +--FINNNIX ### NEW FOLDER ### | +--FINNIX ### COPIED FILE ### | +--linux ### COPIED KERNEL FILE ### | +--minirt ### COPIED INITRD FILE ### ======================================Ready? The next step is obvious. We need to create additional boot entry in the file "/boot/slax.cfg" to point to our Finnix. Open "/boot/slax.cfg" and locate a spot where you would like to put the boot entry. I advise you to put it on the top just for the example. If you copy/paste the original Finnix boot entry (the same one we used to examine the structure) and you put it on the top, your final result should be something like this:
======================================
### SOME CONFIGURATION ABOVE ###
LABEL finnix
MENU DEFAULT
MENU LABEL Boot Finnix (x86)
TEXT HELP
Boot Finnix with a 32-bit kernel in normal 1024x768 pixel mode.
ENDTEXT
KERNEL linux
APPEND apm=power-off vga=791 initrd=minirt quiet
LABEL xconf
MENU LABEL Slax Graphics mode (KDE)
KERNEL /boot/vmlinuz
APPEND initrd=/boot/initrd.gz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;telinit~4 changes=/slax/
TEXT HELP
More about currently selected:
Run Slax the best way we can.
Try to autoconfigure graphics
card and use the maximum
allowed resolution
ENDTEXT
### OTHER BOOT ENTRIES BELOW ###
======================================
BE CAREFUL: THE "COPY/PASTE"-ED ENTRY ABOVE IS WRONG AND IT WILL NOT WORK!!!
Remember that we moved the kernel file and initrd image at new location? Now we need to update the "copy/paste"-ed boot entry with the new locations of the kernel and initrd. So, the actual new boot entry should look like this:
======================================
### SOME CONFIGURATION ABOVE ###
LABEL finnix
MENU DEFAULT
MENU LABEL Boot Finnix (x86)
TEXT HELP
Boot Finnix with a 32-bit kernel in normal 1024x768 pixel mode.
ENDTEXT
KERNEL /FINNIX/linux
APPEND apm=power-off vga=791 initrd=/FINNIX/minirt quiet
LABEL xconf
MENU LABEL Slax Graphics mode (KDE)
KERNEL /boot/vmlinuz
APPEND initrd=/boot/initrd.gz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;telinit~4 changes=/slax/
TEXT HELP
More about currently selected:
Run Slax the best way we can.
Try to autoconfigure graphics
card and use the maximum
allowed resolution
ENDTEXT
### OTHER BOOT ENTRIES BELOW ###
======================================
In summary we have the following final structure:
====================================== ### SLAX CD ROOT FOLDER ### | +--boot ### EXISTING SLAX FOLDER ### | | | +--slax.cfg ### MODIFIED WITH NEW BOOT ENTRIES ### | +--slax ### EXISTING SLAX FOLDER, NO CHANGES ### | +--FINNNIX ### NEW FOLDER ### | +--FINNIX ### COPIED FILE FROM FINNIX ### | +--linux ### COPIED KERNEL FILE FROM FINNIX ### | +--minirt ### COPIED INITRD FILE FROM FINNIX ### ======================================If you are ready, save your work, open the SLax CD ISO with your favorite CD ISO manipulation program (remember I told you to keep the originally download Slax CD ISO), update the file "/boot/slax.cfg" with the modified version and put the new "FINNIX" directory structure. In other words, just apply all the changes we did. Then save the CD ISO and burn it.