升级内核

前些天照着这篇文章升级内核:
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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值