install 2.6.4 kernel on rh8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have big problems on this issue. My original kernel is 2.4.18-14. I do not get any image files installed in /boot and neither /boot/grub/grub.conf or /etc/grub.conf are updated when installing kernel 2.6.4. If anyone has done this upgrade and have time to follow the steps I have done, I would be happy to know what I have done wrong.

The steps I have done is:


downloaded kernel linux 2.6.4.tar.gz downloaded module-init-tools-3.0-pre10.tar.gz downloaded modutils-2.4.21-23.src.rpm

tar xvfz module-init-tools-3.0-pre10.tar.gz
cd module-init-tools-3.0-pre10
./configure --prefix=/sbin
make
make install
./generate-modprobe.conf /etc/modprobe.conf

Installing modutils-2.4.21-23.src.rpm:
rpm -i modutils-2.4.21-23.src.rpm
rpmbuild -bb /usr/src/redhat/SPECS//modutils.spec
rpm -Fi /usr/src/redhat/RPMS/i386/modutils-2.4.21-23.i386.rpm

Installing the kernel: (used directory /home/src/kernel)
gunzip linux-2.6.4.tar.gz
tar xvf linux-2.6.4.tar
cd linux-2.6.4

Making /home/src/kernel/linux-2.6.4/.config
cp /usr/src/linux-2.4/configs/kernel-2.4.18-686.config /home/src/kernel/linux-2.6-3/.config
make oldconfig


edited line in .config, CONFIG_EXT3_FS=m to CONFIG_EXT3_FS=y
Edited the Makefile:  EXTRAVERSION = -skim-ch6
make bzImage
make modules
make modules_install
make install
mkdir /sys

Editing /etc/rc.sysinit:
After line 'action $"Mounting proc filesystem: " mount -n -t proc /proc /proc' put in line 'action $"Mounting sysfs filesystem: " mount -n -t sysfs /sys /sys'


After failing I tried to edit the .config file 'CONFIG_BLK_DEV_SD=y and then run:
make bzImage
make modules
make modules_install
make install
This did not make any difference.


Contents of /boot:

boot.b
chain.b
config-2.4.18-14
config-2.4.18-14debug
config-2.4.18-14uml
grub
initrd-2.4.18-14debug.img
initrd-2.4.18-14.img
kernel.h
lost+found
message
message.ja
module-info
module-info-2.4.18-14
module-info-2.4.18-14debug
module-info-2.4.18-14uml
os2_d.b
System.map
System.map-2.4.18-14
System.map-2.4.18-14debug
System.map-2.4.18-14uml
vmlinux-2.4.18-14
vmlinux-2.4.18-14debug
vmlinuz
vmlinuz-2.4.18-14
vmlinuz-2.4.18-14debug
vmlinuz-2.4.18-14uml






















-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux