[deepin exploration] 重启黑屏,请教各位老师怎么办? Resolved
Tofloor
poster avatar
137******87
deepin
2024-04-13 12:30
Author

IMG_20240413_122957.jpg

Reply Favorite View the author
All Replies
137******87
deepin
2024-04-13 12:30
#1

在线等

Reply View the author
neko
deepin
Ecological co-builder
2024-04-13 12:33
#2
137******87

在线等

有u盘就做个livecd修复文件系统

http://livecd.uostools.com/

Reply View the author
137******87
deepin
2024-04-13 12:37
#3

多谢指导,做好了运行一下就好了吗?

Reply View the author
阿尼樱奈奈
Moderator
2024-04-13 12:38
#4

需要去Live CD修改root密码的

参考:https://bbs.deepin.org/phone/zh/post/237419

Reply View the author
jjcui8595
deepin
2024-04-13 12:43
#5

也可以试试用fsck修复分区

Reply View the author
把一切操作变成GUI
deepin
Backbone of ecological co-construction group
2024-04-13 12:56
#6
Reloading systen manager configuration
Starting default.target
you are in emergency mode .After logging in,type "journalctl -xb" to view system logs ,"systemctl reboot" to reboot,or "exit"to continue bootup.
Cannot open access to console ,the root account is locked.
See sulogin(8) man page for more details.

Press Enter to continue.

可能是由于 /etc/fstab 文件的错误导致的。

这个文件是用来管理开机自动挂载的。如果你在重启时加载了外部硬盘、存储器或者是网络共享空间==,

但没有加载成功,可能会出现这个问题。

试试进入tty2:ctrl+alt+f2

输入密码登录root账户。

sudo su

执行命令 journalctl -xb 查看日志输出。

在错误提示信息附近可以看到错误相关的设备像硬盘一般就是/dev/xxxx,又或者是固态就是/dev/nvme.... 。

执行命令 umount /dev/disk/***** (对应自己出错的设备)卸载设备。

执行命令 fsck -y /dev/disk/***** 执行fsck校验并修复文件。

执行命令 reboot 重启系统。

另外,你也可以尝试检查 /etc/fstab 文件,注释或删除可能引起问题的挂载记录。如果确定不再使用,可以直接删除。

Reply View the author
137******87
deepin
2024-04-13 13:15
#7
neko

有u盘就做个livecd修复文件系统

http://livecd.uostools.com/

多谢指导,已经修复,正常开机

IMG_20240413_131428.jpg

Reply View the author
137******87
deepin
2024-04-13 13:16
#8

是硬盘的问题,liveCD修复了,稍后再换一块,应该不会出问题,多谢各位回复,多谢

Reply View the author