LinuxSir.cn,穿越时空的Linuxsir!

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

系统启动不了了,请大家帮忙阿!

[复制链接]
发表于 2006-6-25 12:28:07 | 显示全部楼层 |阅读模式
启动以后,检测完分区以后,出现以下信息:

checking root filesystem:
fsck 1.35 (28-Feb-2004)
/dev/hda2 contains a file system with errors, check forecd.
/dev/hda2;
Entry '.Xauthority' in /root (94185) has an incorrect filetype (was

1, should be 7).


/dev/hda2: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
        (i.e., without -a or -p options)


***********************************************************
*** An error occurred during the root filesystem check. ***
*** You will now be given a chance to log into the      ***
*** system in single-user mode to fix the problem.      ***
***                                                     ***
*** If you are using the ext2 filesystem, running       ***
*** 'e2fsck -v -y <partition>' might help.              ***
***********************************************************


Once you exit the single-user shell, the system will reboot.

Type control-d to proceed with normal startup,
(or give root password for system maintenance):

这是我从屏幕上抄出来的
在开头那里写了某个文件类型出错了。不知道它是怎么搞得。
我在上次系统正常的时候,运行过几遍gcc的命令,不过语法错了。不知道有没有关系
有人说我要做磁盘检查,但请问磁盘检查怎么做啊?
要在这画面下输入些什么东西?
还有的就是,我摁了crtl+d,它就重启了。
或者输入root的密码,也不起什么作用,还是重启。

我是个linux新手。希望大家多多帮忙阿!
发表于 2006-6-26 00:39:28 | 显示全部楼层
想办法进入终端模式(无论是用自带的安全模式,live-cd还是slackware的安装盘)
运行命令
e2fsck -v -y /dev/hda2

看结果
其它的问题都是精华教有的,自己看看
因为你的系统出了紧急情况才回答这个很简单的问题
否则
回答这样的简单问题是被其它的Sir批评的
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-6-26 17:20:53 | 显示全部楼层
谢谢这位前辈啊!主要是我除了linux是新手以外,这里也是。
很多规矩情况都不认识,你回复中的指导对我来说是很重要的

不过终端模式怎么进去呢?
包括安全模式,livecd,slackware是什么概念呢?!
我用过knoppix进过去,这个方式可以吗?

能不能在这画面下直接运行命令?
其实这些信息都是在开机的时候出现的,然后最后有个冒号让你输入信息
回复 支持 反对

使用道具 举报

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

本版积分规则

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