[NTLUG:Discuss] Kernel Source for RH 5.2

George E. Lass George.Lass at osc.com
Thu Sep 23 09:55:44 CDT 1999


Gregory A. Edwards wrote:
> 
> If you have RH5.2 I'd suggest using GLINT from the control-panel to
> install the source package.  Once you've done that you can recompile.
> Do you have the RH5.2 Installation Guide?
> 
> Greg E
> 

Unfortunately no; All I have are copies of the 2 cd-roms and the
2 "boot" floppies.  I did some more playing around last night with
rpm, and finally got the source to install and patch.  for those that
are interested, this is what I did:

1) rpm -i  kernel-2.0.36-0.7.src.rpm 
2) rpm -bp kernel-2.0.36.spec
3) mv /usr/src/redhat/BUILD/linux/* /usr/src/linux
4) cd /usr/src/linux
5) make mrproper
6) make menuconfig
7) make dep
8) make clean
9) make zImage
10) cp /usr/src/linux/i386/boot/zImage /boot/vmlinuz-2.0.36-0.7
11) lilo

Since I'm making a monolithic kernel I DON'T do a "make modules"
or "make modules_install" after making zImage.

Thanks to everyone that responded to my original posting,

George




More information about the Discuss mailing list