Chinaunix首页 | 论坛 | 博客
  • 博客访问: 274162
  • 博文数量: 56
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 642
  • 用 户 组: 普通用户
  • 注册时间: 2013-12-16 15:11
文章分类

全部博文(56)

文章存档

2017年(6)

2015年(3)

2014年(41)

2013年(6)

我的朋友

分类: LINUX

2014-06-12 14:44:07

yum update kernel*后重启,找不到新内核,查看/etc/grub.conf
# cat /etc/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You do not have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /, eg.
#          root (hd0,0)
#          kernel /boot/vmlinuz-version ro root=/dev/sda1
#          initrd /boot/initrd-[generic-]version.img
#boot=/dev/sda
default=0                                         #default=0表示启动第一个kernel,default=1表示启动第2个,依次类推
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux Server (2.6.32-478.el6.x86_64)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.32-478.el6.x86_64 ro root=UUID=2f00636e-676b-4841-97f5-d8a5198338cf rd_NO_LUKS  KEYBOARDTYPE=pc KEYTABLE=us LANG=en_US.UTF-8 processor.max_cstate=1 crashkernel=256M nmi_watchdog=0 console=tty0 console=ttyS0,115200 reboot=pci biosdevname=0 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_NO_LVM rd_NO_DM rhgb quiet
    initrd /boot/initramfs-2.6.32-478.el6.x86_64.img           #如果缺失,看看kernel-devel有没有装

kernel.x86_64                               2.6.32-478.el6              @rhevh6
kernel-devel.x86_64                         2.6.32-478.el6              @rhevh6
kernel-firmware.noarch                      2.6.32-478.el6              @rhevh6
kernel-headers.x86_64                       2.6.32-478.el6              @rhevh6


阅读(1297) | 评论(1) | 转发(0) |
0

上一篇:权限详解

下一篇:How to install RHEL7 by grub

给主人留下些什么吧!~~

yangyangRH2014-06-12 15:24:11

如果遇到更新了kernel启动时找不到的情况,重新生成menu list
grub2-mkconfig -o /boot/grub2/grub.cfg