Sziasztok!
Van egy RedHat 8.0 amelyen sikeresen lefordítottam a kernelt.
make config /* A „Set version information on all module symbols” nincs bekapcsolva – mert azzal nem fordul le a kernel…*/
make dep && make bzImage && make modules && make modules_install && make install
Minden simán ment egészen a boot-ig.
GURB-t használok, a konfig fájl (az új kernel install után):
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,1)
# kernel /vmlinuz-version ro root=/dev/hda4
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,1)/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-14custom)
root (hd0,1)
kernel /vmlinuz-2.4.18-14custom ro root=LABEL=/
initrd /initrd-2.4.18-14custom.img
title Red Hat Linux (2.4.18-14)
root (hd0,1)
kernel /vmlinuz-2.4.18-14 ro root=LABEL=/
initrd /initrd-2.4.18-14.img
title Windows 2000
rootnoverify (hd0,0)
chainloader +1
title Floppy
rootnoverify (fd0,0)
chainloader +1
Kiválasztom az általam fordított kernelt: vmlinuz-2.4.18-14custom
maje ENTER. Ezután szépen lekezd betöltõdni a dolog, DE!!!
a modulokat nem a „/lib/modules/2.4.18-14custom” könyvtárból akarja betölteni, hanem
a gyári „/lib/modules/vmlinuz-2.4.18-14” könyvtárból. Ami ugye nekem nem jó.
Az „uname -a” parancs a következõt mondja
Linux indian 2.4.18-14 #10 Wed Sep 4 13:35:50 EDT 2002 i686 i686 i386 GNU/Linux
Ebbõl az látszik, mintha a régi (gyári 2.4.18-14) kernelt töltötte volna be,
de a #10 mutatja, hogy ez már a 10-dik fordítás, vagy is ez az én kernelem.
Ez elég érdekes. Akkor most mit töltött be?
Meg tudja mondani nekem valaki, hogy mit csinálok rosszul?
Elõre is köszi!
Laci.