感谢支持
我们一直在努力

RedHat AS4 U4 kernel-2.6.9-5 –> kernel-2.6.9-42 升级

RedHat AS4 U4 kernel-2.6.9-42 升级
[root@www.linuxidc.com ~]# uname -ra
Linux www.linuxidc.com 2.6.9-5.ELsmp #1 SMP Wed Jan 5 19:30:39 EST 2005 i686 i686 i386 GNU/Linux


做Oracle rac 10g


ocfs2-2.6.9-42.EL-1.2.4-2.i686.rpm 要求内核为 2.6.9-42.EL (找不到 2.6.9-42.ELsmp 的内核升级rpm所以只好找个EL的应付一下 )
 
 先在网上找到 kernel-2.6.9-42.EL.i686.rpm,mkinitrd-4.2.1.6-1.i386.rpm 这两个rpm,
 1、更新 mkinitrd
 删除 mkinitrd-4.1.18
 [root@www.linuxidc.com oracle]# rpm -e –nodeps mkinitrd-4.1.18-2
 安装 mkinitrd-4.2.1.6
 
 [root@www.linuxidc.com oracle]# rpm -ivh mkinitrd-4.2.1.6-1.i386.rpm
warning: mkinitrd-4.2.1.6-1.i386.rpm: V3 DSA signature: NOKEY, key ID 443e1821
Preparing…                ########################################### [100%]
   1:mkinitrd               ########################################### [100%]
  
 2、安装    kernel-2.6.9-42.EL 内核
 备份 /boot
 [root@www.linuxidc.com ~]# cp -R /boot /boot.old
 [root@www.linuxidc.com oracle]# rpm -ivh kernel-2.6.9-42.EL.i686.rpm
warning: kernel-2.6.9-42.EL.i686.rpm: V3 DSA signature: NOKEY, key ID a7048f8d
Preparing…                ########################################### [100%]
   1:kernel                 ########################################### [100%]
  
   3、编辑 grub.conf


[root@www.linuxidc.com oracle]# cd /boot/grub  
  
   [root@www.linuxidc.com grub]# vi grub.conf


# 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,0)
#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#          initrd /initrd-version.img
#boot=/dev/sda
#default=1
default=0
timeout=20
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux AS (2.6.9-42.EL)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-42.EL ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.9-42.EL.img
title Red Hat Enterprise Linux AS (2.6.9-5.ELsmp)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-5.ELsmp ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.9-5.ELsmp.img
title Red Hat Enterprise Linux AS-up (2.6.9-5.EL)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-5.EL ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.9-5.EL.img
~


重启系统 reboot

赞(0) 打赏
转载请注明出处:服务器评测 » RedHat AS4 U4 kernel-2.6.9-5 –> kernel-2.6.9-42 升级
分享到: 更多 (0)

听说打赏我的人,都进福布斯排行榜啦!

支付宝扫一扫打赏

微信扫一扫打赏