> Er meinte die Konfigurations-Datei f�r die Kernel�bersetzung. Bei Redhat
> liegt die z.B. unter /boot/config-2.4.xx-y, die kann man dann nach
> /usr/src/linux/.config kopieren und in /usr/src/linux einfach "make
> oldconfig" eintippen. Dann �bersetzt man einen Kernel mit den gleichen
> Optionen, wie sie auch in der Distribution gesetzt waren.
und hier kommt die genaue Anleitung aus dem Buch RHCE (trage ich immer mit
mir rum ;-))
1.) cd /usr/src/linux
2.) editiere Zeile 4 des Makefile EXTRVERSION=2TB (TB = Vorname/Name)
3.) make mrproper
4.) cp configs/kernel-2.4.2-i686.config arch/i386/defconfig
5.) make oldconfig
6.) make menu(config) / make xconfig
7.) Konfiguration anpassen
8.) make dep
9.) make bzImage
10.) make modules
11.) cp arch/i386/boot/bzImage /boot/vmlinuz/-2.4.2TB
12.) make modules_install
optional: makeinitrd /boot/initrd 2.4.2TB.img 2.4.2TB
13.) cp System.map /boot/System.map-2.4.2TB
14.) cp .config /boot/config-2.4.2TB
LILO-Update
15.) cd /etc
16.) vi lilo.conf
boot=/dev/hda
map=boot/map
install=/boot/boot.p
prompt
timeout=20
message=/boot/message
linear
dafault=linux
--- neu hinzufuegen ---
image=/boot/vmlinuz
label=linux
read-only
root=/dev/hda2
15.) lilo -t -vvv (lilo testen)
16.) lilo -v
FERTIG
P.S. o.g. Angaben zu Dateinamen und Bezeichnungen sind nur Bsp. (dev/hda2
usw.)
Gru�
Thomas
----------------------------------------------------------------------------
PUG - Penguin User Group Wiesbaden - http://www.pug.org