PDA

View Full Version : Knoppix/Isolinux Boot Config



justin_c
01-12-2005, 07:09 AM
I'm such a newbie at Linux; such a newbie ;D

I'm in process of creating a multi-distro, after I saw one made based on the Rescue is Possible GRUB bootloader.
What I have problems is which is the basic boot line that I should use; here is a ex.


title Boot Slax 4.2.0
kernel /SLAXR/vmlinuz append max_loop=255 init=linuxrc livecd_subdir=/SLAX load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=9999 root=/dev/ram0 hdsubdir=SLAX rw
initrd=/SLAX/initrd.gz
title
title Boot Slax 4.20 Kill-Bill
kernel /SLAXKB/vmlinuz append max_loop=255 init=linuxrc livecd_subdir=/SLAX load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=9999 root=/dev/ram0 hdsubdir=SLAX rw
initrd=/SLAX/initrd.gz
title
title Boot Slax Popcorn
kernel /SLAXPC/vmlinuz append max_loop=255 init=linuxrc livecd_subdir=/SLAX load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=9999 root=/dev/ram0 hdsubdir=SLAX rw
initrd=/SLAX/initrd.gz
title
title Boot Beatrix 05
kernel /BEATRIX/boot/isolinux/linux26 ramdisk_size=100000 init=/etc/init lang=us apm=power-off noscsi vga=0x317 splash=silent initrd=minirt26.gz nomce BOOT_IMAGE=beatrix
initrd=/boot/isolinux/minirt26.gz
title
title Boot DSL 0.9.2
kernel /DSL/boot/isolinux/linux26 ramdisk_size=100000 init=/etc/init lang=us apm=power-off noscsi vga=0x317 splash=silent initrd=minirt26.gz nomce BOOT_IMAGE=beatrix
initrd=/boot/isolinux/minirt26.gz
title
title Boot Knoppix 3.7





As you can tell, the all point to the linux26 and init files with boot parameters. Now, lets have a look at the default Knoppix isolinux.cfg


DEFAULT linux24
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=minirt24.gz nomce quiet BOOT_IMAGE=knoppix
TIMEOUT 300

PROMPT 1
DISPLAY boot.msg
F1 boot.msg
F2 f2
F3 f3
LABEL knoppix
KERNEL linux24
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=minirt24.gz nomce quiet BOOT_IMAGE=knoppix
LABEL linux26
KERNEL linux26
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=minirt26.gz nomce BOOT_IMAGE=knoppix
LABEL expert26
KERNEL linux26
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=minirt26.gz nomce BOOT_IMAGE=expert
LABEL knoppix26
KERNEL linux26
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=minirt26.gz nomce BOOT_IMAGE=knoppix
LABEL memtest
KERNEL memtest
APPEND initrd=
LABEL knoppix-txt
KERNEL linux24
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=normal initrd=minirt24.gz nomce quiet BOOT_IMAGE=knoppix
LABEL expert
KERNEL linux24
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=minirt24.gz nomce BOOT_IMAGE=expert
LABEL fb1280x1024
KERNEL linux24
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=794 xmodule=fbdev initrd=minirt24.gz nomce quiet BOOT_IMAGE=knoppix
LABEL fb1024x768
KERNEL linux24
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 xmodule=fbdev initrd=minirt24.gz nomce quiet BOOT_IMAGE=knoppix
LABEL fb800x600
KERNEL linux24
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=788 xmodule=fbdev initrd=minirt24.gz nomce quiet BOOT_IMAGE=knoppix
LABEL failsafe
KERNEL linux24
APPEND ramdisk_size=100000 init=/etc/init lang=us vga=normal atapicd nosound noapic noacpi acpi=off noscsi nodma noapm nousb nopcmcia nofirewire noagp nomce nodhcp xmodule=vesa initrd=minirt24.gz BOOT_IMAGE=knoppix
LABEL m23
KERNEL m23
APPEND devfs=nomount vga=normal load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=25000 initrd=m23rt.gz root=/dev/ram0 rw
LABEL userdef
KERNEL linux24
APPEND

They're both based on isolinux so the booting process should be quite similar. The question is; there's so many lines; which one do I pick to put down? I'm thinking about the top one; starting with DEFAULT. Can anybody give me some ideas or maybe another way to simplify the multi-booting process; I've heard of CDShell, but I'm still confused (need some help). I'm taking on this ambitious project...Dunno about it :|

lilsirecho
01-12-2005, 08:11 AM
Howdy!

Big project there!

The default is Linux24 which will init the Linux 24 Label, Kernel, and append lines and no other.

If you change the default at the top of the list, the boot will default to the new label, kernel and append that you desire from the remaining items on the listing.

These options are made at boot time, either by naming them specifically at boot time, or by letting the default selection prevail after the wait time set by the TIMEOUT entry.

Thus, to select the kernel linux26 as default, delete the Linux24 from the default line and insert linux26.

At boot time, linux24 could then be selected before the timeout occurs if desired. This reverses the original arrangement with Linux24 as default.

Best of luck!!

justin_c
01-12-2005, 08:15 PM
my bad double posted (pressed submit and i stopped since i found a mistake sorry)

justin_c
01-12-2005, 08:15 PM
DEFAULT linux26
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=minirt24.gz nomce quiet BOOT_IMAGE=knoppix
TIMEOUT 300

Just like that? It's in a different format the the rest...


color light-gray/blue black/light-gray
title *=*=*=*=*=*=*=*=*=* Based on R.I.P n' MultiDistro GRUB *=*=*=*=*=*=*=*=*=*
root (hd0)
title Boot Linux rescue system!
kernel /boot/kernel devfs=nomount vga=normal init=/linuxrc root=/dev/ram0 rw
initrd=/boot/initrd.gz
title Boot Linux rescue system! [skip keymap prompt]
kernel /boot/kernel devfs=nomount vga=normal nokeymap init=/linuxrc root=/dev/ram0 rw
initrd=/boot/initrd.gz
title Boot small initrd Linux system!
kernel /boot/kernel devfs=nomount init=/linuxrc rip_initrd vga=normal root=/dev/ram0 rw
initrd=/boot/initrd.gz
title Boot FreeBSD rescue system!
kernel /boot/memdisk
initrd=/boot/freebsd.img
title Boot memtest86+ v1.30 memory tester!
kernel /boot/memtest1.bin
title Boot memtest86 v3.2 memory tester!
kernel /boot/memtest2.bin
title - !!! For help press `c' then type `help', type !!!
root (hd0)
title - !!! `cat /doc/grub.txt' for usage examples !!!
root (hd0)
title -----------------------------------------------------------------------------------------------------------
root (hd0)
title Boot Slax 4.2.0
kernel /SLAXR/vmlinuz append max_loop=255 init=linuxrc livecd_subdir=/SLAX load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=9999 root=/dev/ram0 hdsubdir=SLAX rw
initrd=/SLAX/initrd.gz
title
title Boot Slax 4.20 Kill-Bill
kernel /SLAXKB/vmlinuz append max_loop=255 init=linuxrc livecd_subdir=/SLAX load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=9999 root=/dev/ram0 hdsubdir=SLAX rw
initrd=/SLAX/initrd.gz
title
title Boot Slax Popcorn
kernel /SLAXPC/vmlinuz append max_loop=255 init=linuxrc livecd_subdir=/SLAX load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=9999 root=/dev/ram0 hdsubdir=SLAX rw
initrd=/SLAX/initrd.gz
title
title Boot Beatrix 05
kernel /boot/isolinux/linux26 ramdisk_size=100000 init=/etc/init lang=us apm=power-off noscsi vga=0x317 splash=silent initrd=minirt26.gz nomce BOOT_IMAGE=beatrix
initrd=/boot/isolinux/minirt26.gz
title Boot DSL 0.9.2
kernel /boot/isolinux/linux24 ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 nomce noapic quiet BOOT_IMAGE=knoppix
initrd=/boot/isolinux/minirt24.gz
title Boot Knoppix 3.7
kernel /KNOPPIX/boot/isolinux/linux26 ramdisk_size 100000 init=/etc/init lang=us apm=power-off vga=791 initrd minirt24.gz nomce quiet BOOT_IMAGE=knoppix
title PCLinuxOS Prev8
kernel /PCLOS/isolinux/vmlinuz append livecd=initrd initrd=initrd.gz root=/dev/rd/3 devfs=nomount acpi=ht nomce vga=791 keyb=us fstab=rw,noautolabel
title Boot memtest86 v3.1a memory tester!
kernel /boot/memtest2.bin
title
Anybody notice any inconsistancies (spelling?) and anything that would be made easier or change? Opinions and comments and edits welcome :D

Aaron
01-12-2005, 09:39 PM
Here is an exerpt from my menu.lst if it helps(not lilo):


title Knoppix 3.7 kernel 2.6 from NTFS hda1 ISO scan ramdisk=512MB
kernel (hd0,0)/boot/knoppix.37/linux26 ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 nomce quiet bootfrom=/dev/hda1/boot/knoppix.37/*.iso config=scan home=scan ramdisk=524288 no prompt
initrd (hd0,0)/boot/knoppix.37/minirt26_ntfs.gz
boot

title Knoppix 3.7 kernel 2.4 from NTFS hda1 ISO scan ramdisk=512MB
kernel (hd0,0)/boot/knoppix.37/linux24 ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 nomce quiet bootfrom=/dev/hda1/boot/knoppix.37/*.iso config=scan home=scan ramdisk=524288 noprompt
initrd (hd0,0)/boot/knoppix.37/minirt24_ntfs.gz
boot

this is booting from an iso on an NTFS partition.