有道新设备erofs只读?没关系我们会出手 #287
wyxdlz54188
started this conversation in
奇技淫巧
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
由@haropng 和myblock大佬提供的方案,我做测试
首先看是什么槽
cat /proc/cmdline
ls -l /dev/block/by-name
比如我的是b槽
先dd出rootfs_b 和boot_b
然后用DNA A解包再打包成ext4保留原大小
然后改boot 用hex x打开搜/dev
改erofs为ext4 并保持检测文件字节大小保证它没变
然后再dd回去
因为rootfs_b正在挂载所以dd到a槽的
boot仍旧dd在b槽
reboot即可
再mount挂载/就可以了
施工中
Beta Was this translation helpful? Give feedback.
All reactions