[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[debian-knoppix] remastering 3.4: kernel 2.6 as standard




I only found a syslinux.cfg in the compressed kernel image and I made this change: APPEND ramdisk_size=100000 init=/etc/init lang=de apm=power-off hda=scsi....BOOT_IMAGE=knoppix26
instead of BOOT_IMAGE=knoppix at the end.

Well, there are 2 types of knoppix cd's:
- knoppix 3.3 . Using kernel 2.4.x, and using syslinux to boot
    Last version is knoppix-2004-02-16.iso
- knoppix 3.4 . Using kernel 2.4.x and 2.6.x, and using isolinux to boot
    Unique version -from now- is Knoppix 3.4 c't.iso

If you want to run kernel 2.6 is obvious that you need knoppix 3.4 c't.iso

Differences between location of syslinux.cfg and isolinux.cfg on that
cd's on path are (i don't remember exactly, but similar to these):
- syslinux.cfg is on /cdrom/KNOPPIX/boot.img(is on that loop device)/
- isolinux.cfg is on /cdrom/KNOPPIX/boot/isolinux.cfg

Differences between syslinux.cfg and isolinux.cfg are small:
- Big difference is that with syslinux.cfg you have a DEFAULT section
and that is section executed by default. With isolinux.cfg you have a
DEFAULT <tag>, and a list of <tag> <options>, and DEFAULT <tag> is the
tag that is executed by default.

Well, having these in mind, if you want to "change" boot options of a
knoppix cd, a easy way is this:
PHASE 1. LOOKING IT. You can mount cd, and edit isolinux.cfg file with a
simple editor like vi, and see what is it format and what options there are.
PHASE 2. MODIFY IT. A very simple way to do it -without need to remaster
cd- is using 'hexedit'. It is a hexadecimal editor, but it works.
You only have to do: hexedit knoppix34ct.iso
You can togle to right panel (TAB key).
Then search word DEFAULT (Ctrl+S keys)
Then you can edit typing what you want.
You also can mark a region (Ctrl+Space keys), copy it (Esc+W keys), and
then paste it (Ctrl+Y keys).
The only limitation is "to work" in area between DEFAULT and last ####
series. It delimites the isolinux.cfg file. As you have seen in PHASE 1,
isolinux.cfg file begins with DEFAULT and ends with a #### area to allow
you change/add things in that file without modifing file size.
Finally save it (F2 key) or exit (Ctrl+C)
Anyway, you can see all options inside hexedit (F1 key).
It seems complicated to edit this, but if you have a "vision" of PHASE
1, and mark areas, modify something, and paste after the position of
change you have done, it is simple to get it right.

In your case:
- you have to change/add DEFAULT kernel26
  and any other option you want to add/change.
- i usually change lang=(to my language)
- and you can do it run without press any key by changing/adding TIMEOUT
20 (this is 2 seconds of time before DEFAULT section will be executed)
(- a possible way to do it without modifing knoppix "default" knoppix24
and knoppix26 boot options, is to use a tag boot option you don't use or
create a new tag, and make DEFAULT <your tag> to point to your especific
tag).

I hope it will be useful for you.



________________________________________________________________________________________
Este mensaje ha sido analizado y protegido por la tecnologia antivirus www.trendmicro.es
_______________________________________________
debian-knoppix mailing list
debian-knoppix@linuxtag.org
http://mailman.linuxtag.org/mailman/listinfo/debian-knoppix


Reply to: