修改启动文件grub.conf确保新安装的内核为优先启动.
#
cat /boot/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,1)
# kernel /vmlinuz-version ro root=/dev/sda8
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise
Linux
AS (2.6.9-22.ELhugemem)
root (hd0,1)
kernel /vmlinuz-2.6.9-22.ELhugemem ro root=LABEL=/ rhgb quiet
pci=nommconf
initrd /initrd-2.6.9-22.ELhugemem.img
title Red Hat Enterprise
Linux
AS (2.6.9-22.ELsmp)
root (hd0,1)
kernel /vmlinuz-2.6.9-22.ELsmp ro root=LABEL=/ rhgb quiet pci=nommconf
initrd /initrd-2.6.9-22.ELsmp.img
title Red Hat Enterprise
Linux
AS-up (2.6.9-22.EL)
root (hd0,1)
kernel /vmlinuz-2.6.9-22.EL ro root=LABEL=/ rhgb quiet pci=nommconf
initrd /initrd-2.6.9-22.EL.img
如果hiddenmenu
下面的内容顺序不对,请修改default=x(x对应ELhugemem项)