[Kernel/Drive] 急救,系统进不去了,重启了之后就直接进入docker容器里面
Tofloor
poster avatar
范LJ
deepin
2023-01-30 04:22
Author

症状:

开机不进入deepin桌面,直接进入ubuntu docker容器

现象:

开机->进入系统选择界面->选择deepin启动程序->黑屏->亮起闪一下->黑屏->等2分钟左右->进去docker ubuntu容器命令登入界面,然后就没然后了,之后就只能操作容器,进不了deepin桌面,急救呀

Reply Favorite View the author
All Replies
范LJ
deepin
2023-01-30 04:46
#1

我启动一个带有

privileged =true 和cmd是 /sbin/init 的容器

Reply View the author
范LJ
deepin
2023-01-30 04:47
#2

系统启动就一直进这个ubuntu容器

Reply View the author
Lwh2008-Equinox
deepin
2023-01-30 05:31
#3

感觉类似于运维用chroot修复崩溃的系统一样。。。

试一试chroot到deepin根?(chroot具体用法我不清楚,建议找官方文档)

Reply View the author
152******14
deepin
2023-01-30 05:36
#4

偶发?出现之前你做过什么吧?

Reply View the author
Lwh2008-Equinox
deepin
2023-01-30 05:38
#5

https://blog.csdn.net/whatday/article/details/104496061

⬆️补充内容,希望对你有用处

Reply View the author
范LJ
deepin
2023-01-30 05:46
#6
152******14

偶发?出现之前你做过什么吧?

一直存在这个问题,但是之前没有像现在这样,直接进不去了,有需要我可以把我的docker compose及容器发出来

Reply View the author
范LJ
deepin
2023-01-30 05:49
#7
152******14

偶发?出现之前你做过什么吧?

出现之前我,就重启了一次系统,因为之前是一直被注销用户,所以我就一直不关机,今天电脑卡死了,我就重启了一次然后就在也进不去了

Reply View the author
范LJ
deepin
2023-01-30 05:52
#8
Lwh2008-Equinox

https://blog.csdn.net/whatday/article/details/104496061

⬆️补充内容,希望对你有用处

可能不行,看了一下这些操作的前提是我能进系统,可以我现在卡在容器里面,只能操作容器,无法操作主系统

Reply View the author
152******14
deepin
2023-01-30 05:55
#9

实在不行 你就备份数据 重装的了。linux中重装解决一切烦恼,简单粗暴有效。

Reply View the author
范LJ
deepin
2023-01-30 05:55
#10
Lwh2008-Equinox

https://blog.csdn.net/whatday/article/details/104496061

⬆️补充内容,希望对你有用处

是有点像就是我类似起了一个虚拟机,现在不进系统了直接进虚拟机里面了

Reply View the author
范LJ
deepin
2023-01-30 05:56
#11
152******14

实在不行 你就备份数据 重装的了。linux中重装解决一切烦恼,简单粗暴有效。

最后的办法确实只能这样

Reply View the author
thepoy
deepin
2023-01-30 06:43
#12

这时候就能体现podman的好了

Reply View the author
Lwh2008-Equinox
deepin
2023-01-30 18:29
#13
thepoy

这时候就能体现podman的好了

这是什么?

Reply View the author
吉吉如律令
deepin
2023-01-30 19:46
#14
Lwh2008-Equinox

这是什么?

docker的竞品,很多情况下能够替代docker建立和管理容器

Reply View the author
Lwh2008-Equinox
deepin
2023-01-30 21:34
#15
吉吉如律令

docker的竞品,很多情况下能够替代docker建立和管理容器

都是通过chroot实现的容器引擎?(哪天打算试一试。。。)

Reply View the author