免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1091 | 回复: 0
打印 上一主题 下一主题

内核升级。日志 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-12-27 23:20 |只看该作者 |倒序浏览

前些天照着这篇文章升级内核:
http://leftleg.hzpub.com/post/573/
前些步骤都轻易解决了,但是重启后出错:
Booting 'Red Hat Enterprise Linux AS(2.6.20)'
root(hd0,0)
Filesystem type is ext2fs,partition type 0x83
kernel /vmlinuz-2.6.20 ro root=/dev/sda1 rhgb quiet
Error 15:File not found

不过很显然作者在这里出错了:

(2) 将kernel行的“LABEL=/”换成根目录所在的分区(上一步查看的就是)
此步很重要,修改错误将可能导致进不去系统,我把我修改后的grub.conf文件列出来,不明之处,可以对照修改:
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.6.18)
root (hd0,0)
kernel /vmlinuz-2.6.18 ro root=/dev/hda2
initrd /initrd-2.6.18.img



将红色的改为kernel /boot/vmlinuz-2.6.18 ro root=/dev/hda2
initrd /boot/initrd-2.6.18.img
继续重启(注意在GRUB界面可直接按e进入编辑模式,修改启动参数的哦>_

错误继续:
Uncompressing Linux... Ok,booting the kernel.
Red Hat nash version 4.1.18 starting
mount:error 6 mounting ext3
mount:error 2 mounting none
switchroot: mount failed:22
umount /initrd/dev failed:2
kernel panic - not syncing:Attempted to kill init!

今天就到此了, 明天继续。2008:12:27,23,19



本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/58954/showart_1751995.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP