Ubuntu-无法启动图形界面-系统文件损坏

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值