LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (http://www.linuxquestions.org/questions/red-hat-31/)
-   -   Rebuilding kernel, /lib/modules/*kernel version* not appearing (http://www.linuxquestions.org/questions/red-hat-31/rebuilding-kernel-lib-modules-%2Akernel-version%2A-not-appearing-613417/)

khaos83 01-14-2008 01:48 AM

Rebuilding kernel, /lib/modules/*kernel version* not appearing
 
i tried to recompile the kernel and /lib/modules/*kernel version* will appear but it didn't.

What I did is, as root

cp /usr/src/linux-2.4.21.47.EL /usr/src/linux-2.4.21.47.ELcustom01

edit Makefile in ELcustom.
VERSION = 2
PATCHLEVEL = 4
SUBLEVEL = 21
EXTRAVERSION = -47.ELcustom01

make mrproper
make menuconfig
make dep
make clean
make bzImage
make modules

by now, there should be a new /lib/modules/*kernel version* but i didn't get it. Where did i go wrong ?

syg00 01-14-2008 02:58 AM

You need a "make modules_install" - in 2.6, just do "make && make modules_install".

khaos83 01-14-2008 03:28 AM

argh .... so thats how it's done ...
I will continue on my own from here until i hit something i can't solve ...
Acually I misunderstood the guide i am following ...I though <make module> also covers <make modules_install>.

I will continue to work with grub and see if all these will make ipx work with RHEL ES 3.

Thanks for the help.


All times are GMT -5. The time now is 07:45 PM.