找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
楼主: simpl***

[N1盒子] [更新日志]N1 ARMBIAN变成只读文件系统 Read-only file system

  [复制链接]
来自手机 | 显示全部楼层
wanan 发表于 2018-12-1 21:48
已经解决 问题应该是N1有坏块  解决方法 从U盘启动 然后 e2fsck /dev/mmcxxxx 修复一下就可以了

我是刷入了EMMC,遇到了这个问题,直接运行这个e2fsck 报错 没有umont啊。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

来自手机 | 显示全部楼层
wade888 发表于 2018-12-2 01:16
用U盘启动,运行一次e2fsck /dev/mmcblk1p2,修复了。谢谢!

我是刷入了EMMC,遇到了这个问题,直接运行这个e2fsck 报错 没有umont啊。。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

用U盘启动,用u盘的系统检查emmc,好像某些版本的armbian,刷入emmc就自带坏块,必须修复
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

jarryson 发表于 2018-11-30 15:48
linux非正常关机,进入了单用户模式,都会/分区只读。

重启就能解决。或者mount -o remount,rw /

这段mount有用。不需重启
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

来自手机 | 显示全部楼层
今天碰到这个问题了,明天去试试
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

修复一下坏块就ok了。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

这个很不错哦
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

强大的恩山
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

用U盘启动,运行一次e2fsck /dev/mmcblk1p2,修复了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

只要不运行升级就没有问题
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

而且是在运行过程中
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

收藏了 慢慢学习
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

N1 ARMBIAN emmc变成只读文件系统 Read-only file system
解决方案
1. 重启就能解决:reboot
或者:mount -o remount,rw /
2. 用U盘启动,运行一次e2fsck /dev/mmcblk1p2,修复
3. 把 /root/install.sh 里的

parted -s "${DEV_EMMC}" mkpart primary fat32 700M 828M
parted -s "${DEV_EMMC}" mkpart primary ext4 829M 100%

改成

parted -s "${DEV_EMMC}" mkpart primary fat32 1024M 1152M
parted -s "${DEV_EMMC}" mkpart primary ext4 1153M 100%

就不会出这个问题。我估计是预留700M不够,boot程序直接修改了mmcblk1p2范围的数据。


验证方式:第一次启动emmc中armbian时,执行命令。
sync
echo s >/proc/sysrq-trigger
echo u >/proc/sysrq-trigger
fsck.ext4 -fvy /dev/mmcblk1p2
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

ukernel 发表于 2019-1-26 13:21
把 /root/install.sh 里的
parted -s "${DEV_EMMC}" mkpart primary fat32 700M 828Mparted -s "${DEV_EMM ...

在 目前最新的 Armbian_20.10_Arm-64_bullseye_current_5.9.0.img 中的install-aml.sh以及默认修改为
parted -s "${DEV_EMMC}" mkpart primary fat32 1000M 1512M
parted -s "${DEV_EMMC}" mkpart primary ext4 1513M 100%

点评

你好,预留的空间是做什么用的啊?Home Assistant的数据库文件增长太快想利用上呢。  详情 回复 发表于 2022-2-23 17:05
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

找到一个最简单的方法,不用U盘。
直接执行sudo shutdown -rF即可
参数:-r  重启,-F 重启时执行fsck
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-27 14:01

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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