- 论坛徽章:
- 0
|
想问一下各位对于编译内核后,系统的默认启动还是以前的老内核,如何让她默认新内核启动呢?
我的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/hda3
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS-4 i386 (2.6.9-22.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-22.EL ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.9-22.EL.img
title CentOS-4 i386 (2.6.14)
root (hd0,0)
kernel /vmlinuz-2.6.14 ro root=LABEL=/ enforcing=0
initrd /initrd-2.6.14.img |
|