ubuntu启动时出现An automatic file system check(fsck)of the root filesystem faile
本帖最后由 灰儿 于 2011-1-27 09:59 编辑不知道上次突然断电关机时出了什么问题,这次开机就检查到43%时就不再继续了,跳出以下的提示字符:
checking drive /dev/sda4: 43% (stage 1/5,29/47)nually.linked list found
an automatic file system check (fsck) of the root filesystem failed.
a manual fsck must be performed, then the system restarted.
the fsck should be performed in maintenance mode with the
root filesystem mounted in read-only mode.
The root filesystem is currently mounted in read-only mode.
A maintenance shell will now be started.
After performing system maintenance press CONTROL-D
to terminate the maintenance shell and restar the system
bash:no job control in this shell
解决办法:
该提示信息的意思是说根文件系统下的一个自动运行的文件项check失败,具体错误我也不不知道了,解决方法为在当前界面的命令符下运行fsck /dev/sda4 试试,再接下来提示的yes,no选项中,一直按“Y”键即可,最后再重启电脑一般都能正常启动。
附网上另外一些解决方法:
用恢复模式启动试试,启动的时候有几个启动项,用recovery mode,一般是第二个启动选项。然后运行 fsck /dev/sda4 试试
主要是根系统处于只读状态,进入后输入 mount -o rw,remount /dev/sda4 /使能读写,然后再修复系统
还有一个解决办法如下:
一、同时按下Ctrl+ATL+DEL键,进入用户界面。现在更该会话模式:进入安全模式终端。
# sudo -i # 输入密码# df//查询“/”文件所在,我的是 sda3。#fsck/dev/sda3//sda3 为“/”文件所在# mount -a重启就OK
二、这时候重启机子,把ubuntu livecd放入光驱,启动后进入试用模式,在进入图形桌面以后启动一终端程序,依次输入ubuntu@ubuntu:~$ sudo -iroot@ubuntu:~# fsck /dev/sda3root@ubuntu:~# mount -a
注:/dev/sda3是我的ubuntu linux 安装时候的根文件系统存放盘符。完成之后重启进入你的ubuntu linux就可以了。现在截取我在操作时的部分消息如下:
ubuntu@ubuntu:~$ sudo -iroot@ubuntu:~# fsck /dev/sda3fsck 1.40.8 (13-Mar-2008)e2fsck 1.40.8 (13-Mar-2008)/dev/sda3 has been mounted 20 times without being checked, check forced.Pass 1: Checking inodes, blocks, and sizesPass 2: Checking directory structurePass 3: Checking directory connectivityPass 4: Checking reference countsPass 5: Checking group summary information/dev/sda3: 277429/5124480 files (2.2% non-contiguous), 2078549/5120710 blocksroot@ubuntu:~# mount -a重启就OK
页:
[1]