Did you try make rpm and then rpm -i newkernel.rpm ?
Mariusz Pekala wrote: >On Wed 6 February 2002 07:50, you (Selvi) wrote: > >>Currently we are using redhat 7.2 the kenel version shows 2.4.7-10. Now our >>testing team needs kernel 2.4.9 to code developement. Please help me I >>don't know about kernels. >> >> >>Now what should i do ? >> > >Quick and dirty answer... >Go to http://www.kernel.org and download the tarball for needed kernel. >Unpack it somewhere (I use /usr/src/linux-2.4.version... althought some >people suggest different location). >>From this directory run: > ># make mrproper > ># vim Makefile (to change a bit the kernel version: from 2.4.9 to >2.4.9.myversion - for example. You may skip this.) > ># make menuconfig (or 'make config' - plain shell-like or 'make xconfig' - >for X version. It didn't worked for me.) > ># make dep > ># make bzImage > ># make modules (if you configured the kernel to use modules. Usually you >will.) > ># make modules_install > >It may take about an hour.... Of course it may be much faster if you do have >a fast machine. On my AMD K6-2 350 MHz it takes about 40 minutes. >Then you need to install the compiled kernel where it will be loaded when >booting. >If I remember it well, you may run 'make install' or 'make lilo' or something >other. Just scan READMEs, INSTALLs, and Documentation/kbuild directory. > >I do it this way: ># cp ./arch/i386/boot/bzImage /boot/vmlinuz-2.4..... ># cp ./System.map /boot/System.map-2.4...... ># vim /etc/lilo.conf > add a block for new kernel: > image=/boot/vmlinuz-2.4..... > label=My_new_kernel > ...other options.... ># /sbin/lilo > >And that's all. Usually leave your current kernel default - sometimes your >new kernel may fail, so you boot with your old one and run 'make clean' from >the directory with kernel source (instead of make mrproper) and go steps from >make menuconfig to lilo. >If you run 'make clean' then your last configuration is left untouched. make >mrproper deletes your configuration, so you start with options default for >your architecture. > >If you have some time (you should have :-) then go to http://www.linuxdoc.org >and read the Kernel-HOWTO (http://www.linuxdoc.org/HOWTO/Kernel-HOWTO.html). >Also look for README and INSTALL files in your kernel-source directory. >Look in the Documentation/kbuild directory. > >The whole magic is to get familiar with various options in the 'make config' >step. (I am not yet too experienced here - still learning). >I suggest (but you have to do what you think is right) to select everything >as module (if this is possible), and leave default selections for options you >don't understand. >Most of the steps you can execute as normal user. Only 'make modules' 'make >modules_install' and copying may need to be run as root. >Make modules - becouse modules not owned by root may be rejected by the >module loader. Deeper info you wil find in man pages... I don't remember >which ones. > >I hope that this helps you. >--Mariusz > > _______________________________________________ Seawolf-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/seawolf-list
