红联Linux门户
Linux帮助

linux启动时磁盘错误一例

发布时间:2008-01-03 16:03:57来源:红联作者:cights
/home contains a file system with errors,check blocks.
/home:Group 81's inode table at 2654219 conflicts with some other fs blocks.
/home: UNEXPECTED INCONSISTENCY ; RUN fsck MANUSLLY
(ie , without -a or -p options)
*** An error occurred during the file system check.
*** Dropping you to a shrll ; the system will reboot
*** when you to leave shell....
Give root password for maintenance(or type Control-D for normal startup):

这表示你的filesystem可能有磁区错乱的情况,一般来说,这样的磁区错乱应该不是实体硬碟错误,比较可能是由于不正成关机造成filesystem的不一致(Inconsistent)所造成的。造成这个问题之后,我们必须要输入root的密码,进入run level 1 ,然后以fsck /dev/hd[ad][1-16]来修复磁碟。例如,假设上面的案例中, /home挂载在/dev/hda6上面,那我就『 fsck /dev/hda6 』,不要加上任何参数。等到系统发现错误,并且出现『clear [Y/N]』时,输入『 y 』吧!

这个过程可能会很长,而且如果你的partition上面的filesystem有过多的资料损毁时,即使fsck完成后,可能因为伤到系统槽,导致某些关键系统档案资料的损毁,那么依旧是无法进入Linux的。此时,就好就是将系统当中的重要资料复制出来,然后重新安装,并且检验一下,是否实体硬碟有损伤的现象才好!不过一般来说,不太可能会这样啦,通常都是fsck处理完毕后,就能够顺利再次进入Linux了。
文章评论

共有 2 条评论

  1. deepwhite 于 2008-01-03 16:57:26发表:

    引用:
    原帖由 relaaxx 于 2008-1-3 16:06 发表
    慎用fsck

    慎用!

  2. relaaxx 于 2008-01-03 16:06:52发表:

    慎用fsck