[Feedback on issues] chroot 磐石系统
Tofloor
poster avatar
RW31450
deepin
20 hours ago
Author

V25 断电关机后无法启动,可以用V25 live, 但是如何chroot到磐石系统修复?

ls /mnt/sda3

drwx------ 6 root root 4096 Sep 24 22:43 boot
drwx------ 2 root root 16384 Mar 12 2025 lost+found
drwxr-xr-x 4 root root 4096 Mar 12 2025 ostree
drwxr-xr-x 8 root root 4096 Mar 12 2025 persistent

Reply Favorite View the author
All Replies
neko
deepin
Ecological co-builder
Q&A Team
19 hours ago
#1

尝试修复文件系统然后重启试试

Reply View the author
pzm9012
Moderator
19 hours ago
#2

好问题,我也chroot不了带磐石的25

Reply View the author
neko
deepin
Ecological co-builder
Q&A Team
18 hours ago
#3
pzm9012

好问题,我也chroot不了带磐石的25

主要是磐石的目录结构太复杂麻烦了。

Reply View the author
Tent
deepin
18 hours ago
#4

我写个挂载磐石的方法,大概就是这样,可以参考下,挂载之后,按情况再bind挂载一下sys、proc、dev、run,然后chroot应该就行了。

sudo mkdir /target
sudo deepin-immutable-mount-root --root=/dev/xxxx --persistent=/dev/xxxx /target
Reply View the author
Tent
deepin
18 hours ago
#5

另外异常断电后无法启动,一般也不用chroot,修复下文件系统应该就够了

Reply View the author
RW31450
deepin
12 hours ago
#6
Tent

另外异常断电后无法启动,一般也不用chroot,修复下文件系统应该就够了

修复了文件系统(/home 的分区出了问题),现在可以启动了😄 。多谢了!

chroot 也就没再试。

不过启动后有一个 /usr/bin/deepin-rollback-dialog , 怎么也去不掉。只能把这个文件删了。

截图_20260111151353.png

Reply View the author