首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >GNOME会话未在文件系统损坏后启动

GNOME会话未在文件系统损坏后启动
EN

Ask Ubuntu用户
提问于 2011-01-16 10:42:35
回答 2查看 3.1K关注 0票数 2

我正在运行Ubuntu9.10桌面版。突然,今天/home被破坏了,我被提示手动运行fsck。我运行了fsck -y /home并重新启动了系统。系统启动了,但我没有GUI界面(GNOME会话),而是一个带有用户提示的黑色屏幕。有什么窍门能正常启动我的系统吗?任何帮助都是非常感谢的。

编辑:1

该错误类似于以下内容(可能与一些错误有关,因为我必须手动键入它):

machine1登录:根

密码:

在tty1上登录Sun 1月16日15:30:46

EXT3 3-fs错误(devie sda1):ext3_lookup :已删除的inode引用

设备sda1上的中止日志

重新安装文件系统只读

代码语言:javascript
复制
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
EN

回答 2

Ask Ubuntu用户

回答已采纳

发布于 2011-01-29 15:45:06

只要运行fsck -y /,或者fsck -y /dev/sda1修复了这个问题,系统就像往常一样启动了gnome。运行fsck的最佳方式是从live或usb棒启动系统。但是在运行fsck之前,备份必要的数据也被认为是强制性的。

票数 0
EN

Ask Ubuntu用户

发布于 2011-01-16 11:05:09

登录并尝试startx

您的/home是否位于单独的分区上?

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/21800

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档