[Tutorials] 打开后进不了系统,求教
Tofloor
poster avatar
153******72
deepin
2023-01-06 17:58
Author

之前还是可以正常进入的。今早出现。进不去了
image.png

Reply Favorite View the author
All Replies
shy
deepin
2023-01-06 18:01
#1

https://bbs.deepin.org/post/247952

参考这个修一下就行

deepin还是建议系统内关机而不是虚拟机的强制关机。。

windows上出问题了开机会弹磁盘修复

linux上要自己修233

Reply View the author
jjcui8595
deepin
2023-01-06 18:15
#2

一般是非正常关机造成的,fsck修复一下硬盘分区

Reply View the author
吉吉如律令
deepin
2023-01-06 18:44
#3

doubt 你咋又问一遍?

Reply View the author
153******72
deepin
2023-01-06 18:50
#4

还是进不去,查不出那个分区

Reply View the author
153******72
deepin
2023-01-06 18:53
#5

求教,试了好几次 fsck -y 输入UUID还没有反应
image.png

Reply View the author
153******72
deepin
2023-01-06 19:21
#6
jjcui8595

一般是非正常关机造成的,fsck修复一下硬盘分区

你好,还是进不去

Reply View the author
jjcui8595
deepin
2023-01-06 22:13
#7
153******72

你好,还是进不去

先lsblk查看系统所在分区,然后再修复相应分区

Reply View the author
W2J
deepin
2023-01-06 22:23
#8

我前阵子也遇上了这个事儿,阳康后想想两个来月没重启笔记本了,一高兴就关机重启。

结果就起不来了直接进营救模式,和你的一样。

后来查明,是内核被无人值守方式升级了,升级后内核缺陷acpi检测故有故障,还把过去的旧内核给清除了。

我后来想想主机也该清扫了,就备份了home用户,重装了1604LTS,然后就好了。

按着LTS不该自动升级内核,但是人家就给你把内核升级了!

想想我有三个主分区+二个逻辑分区( NTSHARE+REPO),就把第三个主分区装上了Ubuntu1804,作为启动保险备份。

其实我本想装个Deepin20.7作为备份系统,奈何20.7安装盘ISO无法用GRUB2引导启动,只好装了1804,20.7装虚拟机倒是很顺利,连装两台都成功了。就是20.7的rootb和recovery很浪费SSD空间,后面要费心合并到data分区去。

越想越痛恨自动升级内核的做法,后面自己找了找,将apt-daily四个无人值守升级相关服务都关掉了,一劳永逸。

刚才关虚拟机,发现20.7居然阻止关机,说是无人值守关机服务正在升级部件,赶紧找到五个服务关了它。

Reply View the author
W2J
deepin
2023-01-06 22:34
#9

据网文说,Ubuntu 无人值守升级是定时在 6:00和18:00,shutdown升级就不确定了。

 

~$ ls /lib/systemd/system |grep unattended

unattended-upgrades.service

~$ sudo systemctl stop unattended-upgrades.service

$ sudo systemctl disable unattended-upgrades.service

Synchronizing state of unattended-upgrades.service with SysV service script with /lib/systemd/systemd-sysv-install.

Executing: /lib/systemd/systemd-sysv-install disable unattended-upgrades

insserv: warning: current start runlevel(s) (empty) of script `unattended-upgrades' overrides LSB defaults (2 3 4 5).

insserv: warning: current stop runlevel(s) (0 2 3 4 5 6) of script `unattended-upgrades' overrides LSB defaults (0 6).

Removed /etc/systemd/system/multi-user.target.wants/unattended-upgrades.service.

~$ 

 

 

Reply View the author