找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 3960|回复: 15

问下大佬,U盘挂载了 overlay好像不起作用该咋整?

[复制链接]
发表于 2019-3-22 16:50 | 显示全部楼层 |阅读模式
弄了一天,网上也搜过,怎么弄都不行

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×

评分

参与人数 1恩山币 +1 收起 理由
dongz*** + 1 来来来,有什么伤心的事说出来让大家开心一下。

查看全部评分

我的恩山、我的无线 The best wifi forum is right here.
发表于 2019-3-22 17:28 | 显示全部楼层
帮你顶一下帖子、





FTP工具大全
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-2-5 10:18 | 显示全部楼层
快一年了,解决了吗?我的也这样,怎么弄??

点评

重启下?紫薯布丁  详情 回复 发表于 2020-2-5 20:13
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-2-5 20:13 | 显示全部楼层
a1683970498 发表于 2020-2-5 10:18
快一年了,解决了吗?我的也这样,怎么弄??

重启下?紫薯布丁

点评

重启之后还是一样  详情 回复 发表于 2020-2-6 08:25
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-2-6 08:25 | 显示全部楼层
piaofuwoliu 发表于 2020-2-5 20:13
重启下?紫薯布丁

重启之后还是一样

点评

mkdir -p /tmp/introot mkdir -p /tmp/extroot mount --bind / /tmp/introot mount /dev/sda1 /tmp/extroot tar -C /tmp/introot -cvf - . | tar -C /tmp/extroot -xf - umount /tmp/introot umount /tmp/extr  详情 回复 发表于 2020-2-6 14:45
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-2-6 14:45 | 显示全部楼层
a1683970498 发表于 2020-2-6 08:25
重启之后还是一样

mkdir -p /tmp/introot
mkdir -p /tmp/extroot
mount --bind / /tmp/introot
mount /dev/sda1 /tmp/extroot
tar -C /tmp/introot -cvf - . | tar -C /tmp/extroot -xf -
umount /tmp/introot
umount /tmp/extroot

进putty 先输这一串代码,把机器里的文件复制到U盘上,再挂overlay,U盘格成ext4,重启后就好了。
第四行里的sda1,看你机器把U盘认成啥就改成啥,我的是sdc。

点评

谢谢,成功了.可用14.24gb  详情 回复 发表于 2020-2-6 16:03
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-2-6 16:03 | 显示全部楼层
wyfabc 发表于 2020-2-6 14:45
mkdir -p /tmp/introot
mkdir -p /tmp/extroot
mount --bind / /tmp/introot

谢谢,成功了.可用14.24gb
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-4-13 19:59 来自手机 | 显示全部楼层
我前几天才挂成功了,但昨天发现不能更新源仓库
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-4-13 21:13 | 显示全部楼层
我找到方法了。也成功了

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×

点评

aes
什么方法?怎么弄?  详情 回复 发表于 2022-3-25 15:04
你是什么方法,求分享。  详情 回复 发表于 2020-4-24 21:41
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-4-24 21:41 | 显示全部楼层
百年待伊 发表于 2020-4-13 21:13
我找到方法了。也成功了

你是什么方法,求分享。

点评

先试试6楼方法。  详情 回复 发表于 2020-4-27 09:34
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-4-27 09:34 | 显示全部楼层
5218975 发表于 2020-4-24 21:41
你是什么方法,求分享。

先试试6楼方法。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-12-25 02:47 | 显示全部楼层
本帖最后由 跞跞 于 2020-12-25 03:06 编辑

我的设备是/dev/sda。
1.格式化设备为ext4 (已经是ext4的跳过)
opkg update
opkg install e2fsprogs
mkfs.ext4 /dev/sda

2.格式化成ext4后,复制当前overlay系统文件
mkdir /tmp/usbdev
mount /dev/sda /tmp/usbdev
cp -r /overlay/* /tmp/usbdev/
umount /tmp/usbdev

3.luci页面设置挂载点
luci页面选 挂载点页面。
下面选添加设备。(已经刷新出设备的选 修改)
然后选上 启用此挂载点, UUID选上u盘设备,下面挂载点 使用overlay
点 保存应用
自动刷新到挂载点主页面后,再次点保存应用。
等1分钟(至少要等20秒,大概),重启
就行了
6楼的大概可以挂载到/ 根目录。我看复制的是整个openwrt系统文件。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-3-25 15:04 | 显示全部楼层
百年待伊 发表于 2020-4-13 21:13
我找到方法了。也成功了

什么方法?怎么弄?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-3-28 20:38 | 显示全部楼层
root@OpenWrt:~# mkfs.ext4 /dev/nvme0n1p3
Error relocating /usr/sbin/mkfs.ext4: ext2fs_get_journal_params: symbol not found
Error relocating /usr/sbin/mkfs.ext4: ext2fs_add_journal_inode3: symbol not found
Error relocating /usr/sbin/mkfs.ext4: ext2fs_count_used_clusters: symbol not found
Error relocating /usr/sbin/mkfs.ext4: ext2fs_create_journal_superblock2: symbol not found
root@OpenWrt:~# lsblk
NAME          MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
loop0           7:0    0 467.1M  0 loop /overlay
nvme0n1       259:0    0 119.2G  0 disk
├─nvme0n1p1   259:1    0    32M  0 part /boot
│                                       /boot
├─nvme0n1p2   259:2    0   668M  0 part /rom
├─nvme0n1p128 259:3    0   239K  0 part
└─nvme0n1p3   259:4    0 118.6G  0 part
为什么我这边格式化提示这个呢,盘都存在呢,118.6这个,大神指导一下,折腾了1天了(物理机OpenWrt扩容)

点评

一模一样的,唉  详情 回复 发表于 2022-8-26 13:46
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-8-26 13:46 | 显示全部楼层
1457964 发表于 2022-3-28 20:38
root@OpenWrt:~# mkfs.ext4 /dev/nvme0n1p3
Error relocating /usr/sbin/mkfs.ext4: ext2fs_get_journal_p ...

一模一样的,唉

点评

https://m.baidu.com/video/page?pd=video_page&nid=11318341829639252015&sign=3038801916312876739&word=%E6%BD%98%E5%A4%9A%E6%8B%89%E5%AE%89%E8%A3%85%E6%8F%92%E4%BB%B6&oword=%E6%BD%98%E5%A4%9A%E6%8B%89%E5  详情 回复 发表于 2022-8-26 14:45
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-26 19:09

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表