yq2012 发表于 2022-4-13 20:25:42

求助:TF在第三方固件如果当拓展卡存储用

1.我刷了第三方的固件-后台-磁盘管理能识别到我的SD卡, 现在由于我的一个AD软件很大,我想把文件传输进去 请问怎么用?

我在OPT文件夹上传文件 经常提示No space left on device

yq2012 发表于 2022-4-13 20:36:07

有挂在分区,但是我上传文件 还是提示No space left on device

萝卜大侠 发表于 2022-4-14 09:35:04

看这个帖子呢
https://forum.gl-inet.cn/forum.php?mod=viewthread&tid=14&extra=page%3D1

yq2012 发表于 2022-4-14 10:33:49

萝卜大侠 发表于 2022-4-14 09:35
看这个帖子呢
https://forum.gl-inet.cn/forum.php?mod=viewthread&tid=14&extra=page%3D1

这个在第四部就报错了,具体的我一会截图给你看一下

萝卜大侠 发表于 2022-4-15 10:46:41

yq2012 发表于 2022-4-14 10:33
这个在第四部就报错了,具体的我一会截图给你看一下

发了截图吗?没看到你的截图呢

yq2012 发表于 2022-4-15 14:08:06

萝卜大侠 发表于 2022-4-15 10:46
发了截图吗?没看到你的截图呢

还没发。今天晚上发谢谢你了

yq2012 发表于 2022-4-15 14:54:42

萝卜大侠 发表于 2022-4-15 10:46
发了截图吗?没看到你的截图呢

第三步就提示:Error loading shared library libubus.so.20220228: No such file or directory (needed by /sbin/block)Error relocating /sbin/block: ubus_free: symbol not found
Error relocating /sbin/block: ubus_lookup_id: symbol not found
Error relocating /sbin/block: ubus_connect: symbol not found
Error relocating /sbin/block: ubus_invoke_fd: symbol not found

yq2012 发表于 2022-4-15 14:55:47

yq2012 发表于 2022-4-15 14:54
第三步就提示:Error loading shared library libubus.so.20220228: No such file or directory (needed...

补充一张图

yq2012 发表于 2022-4-15 15:16:20

yq2012 发表于 2022-4-15 14:55
补充一张图

格式化的一步   
block info 这个代码也正常了 可正常读取

yq2012 发表于 2022-4-15 15:18:23

yq2012 发表于 2022-4-15 15:16
格式化的一步   
block info 这个代码也正常了 可正常读取

执行
DEVICE="/dev/mmcblk0"
eval $(block info ${DEVICE} | grep -o -e "UUID=\S*")
uci -q delete fstab.overlay
uci set fstab.overlay="mount"
uci set fstab.overlay.uuid="${UUID}"
uci set fstab.overlay.target="/overlay"
uci commit fstab

yq2012 发表于 2022-4-15 15:20:31

yq2012 发表于 2022-4-15 15:18
执行
DEVICE="/dev/mmcblk0"
eval $(block info ${DEVICE} | grep -o -e "UUID=\S*")


执行mkdir -p /tmp/cproot
mount --bind /overlay /tmp/cproot
mount ${DEVICE} /mnt
tar -C /tmp/cproot -cvf - . | tar -C /mnt -xf -      
umount /tmp/cproot /mnt

萝卜大侠 发表于 2022-4-15 16:30:44

yq2012 发表于 2022-4-15 15:18
执行
DEVICE="/dev/mmcblk0"
eval $(block info ${DEVICE} | grep -o -e "UUID=\S*")


看你这应该可以了呀

yq2012 发表于 2022-4-15 17:08:08

萝卜大侠 发表于 2022-4-15 16:30
看你这应该可以了呀

但是没有扩容上呢

萝卜大侠 发表于 2022-4-15 18:00:40

yq2012 发表于 2022-4-15 17:08
但是没有扩容上呢

日志信息发一下呢

yq2012 发表于 2022-4-15 18:07:09

萝卜大侠 发表于 2022-4-15 18:00
日志信息发一下呢

日志在哪儿

萝卜大侠 发表于 2022-4-15 18:13:08

yq2012 发表于 2022-4-15 18:07
日志在哪儿

执行dmesg和logread命令就会输出

yq2012 发表于 2022-4-15 18:21:22

萝卜大侠 发表于 2022-4-15 18:13
执行dmesg和logread命令就会输出

dmesg这个是

yq2012 发表于 2022-4-15 18:22:17

萝卜大侠 发表于 2022-4-15 18:13
执行dmesg和logread命令就会输出

logread这个日志

萝卜大侠 发表于 2022-4-15 18:29:25

log都被冲掉了看不到
我这个帖子参考的是openwrt官方的配置方法,原文链接如下
https://openwrt.org/docs/guide-user/additional-software/extroot_configuration


也许是你的openwrt太老了,可以先刷回GL官方固件试下可行性
也可以试下下面链接中的办法
https://blog.csdn.net/jacob210/article/details/105443098

yq2012 发表于 2022-4-15 18:30:06

GL官方的可以,我之前试过
页: [1] 2
查看完整版本: 求助:TF在第三方固件如果当拓展卡存储用