Ubuntu-无法启动图形界面-系统文件损坏
An automatic file system check(fsck) of the root filesystem failed
------------------------------------------------------------------
root@ubuntu:~# fsck
……
root@ubuntu:~# mount -a
root@ubuntu:~# startx
不行就重启
--------------------------------------------------------------------
2009-10-29 23:31
在使用ubuntu desktop 8.04的过程中我的主机系统时不时地出现这个故障,根文件系统在开机的时候挂载不了。提示如下:
* 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 file system mounted in read-only mode.
* The root filesystem maintence, press COUNTROL-D to terminate the maintence shell and restart the system
解决办法如下:
这时候重启机子,把ubuntu livecd放入光驱,启动后进入试用模式,在进入图形桌面以后启动一终端程序,依次输入
ubuntu@ubuntu:~$ sudo -i
root@ubuntu:~# fsck /dev/sda11
root@ubuntu:~# mount -a
注:/dev/sda11是我的ubuntu linux 安装时候的根文件系统存放盘符。完成之后重启进入你的ubuntu linux就可以了。现在截取我在操作时的部分消息如下:
ubuntu@ubuntu:~$ sudo -i
root@ubuntu:~# fsck /dev/sda11
fsck 1.40.8 (13-Mar-2008)
e2fsck 1.40.8 (13-Mar-2008)
/dev/sda11 has been mounted 20 times without being checked, check forced.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sda11: 277429/5124480 files (2.2% non-contiguous), 2078549/5120710 blocks
root@ubuntu:~# mount -a