我正在运行Ubuntu9.10桌面版。突然,今天/home被破坏了,我被提示手动运行fsck。我运行了fsck -y /home并重新启动了系统。系统启动了,但我没有GUI界面(GNOME会话),而是一个带有用户提示的黑色屏幕。有什么窍门能正常启动我的系统吗?任何帮助都是非常感谢的。
该错误类似于以下内容(可能与一些错误有关,因为我必须手动键入它):
machine1登录:根
密码:
在tty1上登录Sun 1月16日15:30:46
EXT3 3-fs错误(devie sda1):ext3_lookup :已删除的inode引用
设备sda1上的中止日志
重新安装文件系统只读
root@machine1:~# startx
ktemp: failed to create file via template `/tmp/serverauth.xxxxxxxxxxx: Read-only file
/usr/bin/startx: line 157: cannot create temp file for here-document: Read-only file
xauth: error in locking authority file /root/.Xauthority
/usr/bin/startx: line 173: cannnot create temp file for here-document: Read-only file
xauth: error in locking authority file /root/.Xauthority
/usr/bin/startx: line 173: cannnot create temp file for here-document: Read-only file
X: cannot stat /tmp/.x11-unix (No such file or directory), aborting giving up.
xinit: No such file or directory (errno 2): unable to connect to xserver
xinit: No such process (errno 3): Server error
xauth: error in locking authority file /root/.Xauthority发布于 2011-01-29 15:45:06
只要运行fsck -y /,或者fsck -y /dev/sda1修复了这个问题,系统就像往常一样启动了gnome。运行fsck的最佳方式是从live或usb棒启动系统。但是在运行fsck之前,备份必要的数据也被认为是强制性的。
发布于 2011-01-16 11:05:09
登录并尝试startx
您的/home是否位于单独的分区上?
https://askubuntu.com/questions/21800
复制相似问题