LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 631|回复: 7

kernel 2.6 的进不了系统了

[复制链接]
发表于 2005-6-23 16:36:56 | 显示全部楼层 |阅读模式
我的机器上有winxp,linux2.4,linux2.6,前些天2.6能正常工作,可今天2.6的却进不了,提示如下:
EXT2-fs : hdc8 : couldn't mount because of unsupported optional features(4)
kernel panic - not syncing : VFS : Unable to mount root fs on unknown-block(22.8)
那位大侠可以帮助我吗?
发表于 2005-6-23 16:55:29 | 显示全部楼层
看样子好像是你把grub的menu.list中的kernel挂载的设备写错了,你的2.4是否还能进去,如果能说明你的系统并没挂,你可以参照menu.list中2.4的部分,修改2.6试试看
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-6-23 17:31:52 | 显示全部楼层
我可以肯定grub没有错,我的2.4可以.我用什么修复都没有办法,请问你有没有更好的办法.
回复 支持 反对

使用道具 举报

发表于 2005-6-24 03:09:51 | 显示全部楼层
fsck试一下:
# e2fsck /dev/hdc8
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-6-24 09:38:38 | 显示全部楼层
我进不系统,也mount 不上,我如何用fsck试一下,我在2.4试过,还是不可以,请问你还有没有好的办法.我看了一些说,如果显示错误中有panic,就代表系统瘫痪了是不是?
回复 支持 反对

使用道具 举报

发表于 2005-6-24 10:40:07 | 显示全部楼层
panic只是说系统遇到了一些无法恢复的错误,不能继续了,就好像你这里系统无法挂载根分区,进行不下去了,于是就panic了。简单说就是崩溃。
你的系统是什么?几块硬盘?建议你把grub.conf一起贴上来。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-6-24 11:07:29 | 显示全部楼层
我只有一块硬盘,系统是thizlinux
grub如下:
# 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,7)
#          kernel /boot/vmlinuz-version ro root=/dev/hdc8
#          initrd /boot/initrd-version.img
#boot=/dev/hdc
default=2
timeout=10
splashimage=(hd0,7)/boot/grub/splash.xpm.gz
title Thiz Server (2.6.11)
        root (hd0,7)
        kernel /boot/vmlinuz-2.6.11 ro root=/dev/hdc8
        initrd /boot/initrd-2.6.11.img
#title Thiz Server (2.4.21)
#        root (hd0,7)
#        kernel /boot/vmlinuz-2.4.21 ro root=/dev/hdc8  acpi=off vga=791 splash=silent
#        initrd /boot/initrd-2.4.21.img
title ThizServer (2.4.22-3Thiz)
        root (hd0,7)
        kernel /boot/vmlinuz-2.4.22-3Thiz ro root=LABEL=/  acpi=off vga=791 splash=silent
        initrd /boot/initrd-2.4.22-3Thiz.img
title Windows
        rootnoverify (hd0,0)
        chainloader +1
回复 支持 反对

使用道具 举报

发表于 2005-6-27 09:18:58 | 显示全部楼层
" couldn't mount because of unsupported optional features(4)"

用其他kernel进去检查一下文件系统
btw:确认你hdc8上面是ext2,而不是ext3?另外最好在kernel config的时候把所有的ext2的option的东西都选上
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表