免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 5234 | 回复: 4

[文件系统] 在虚拟机ubuntu上面挂载ubi文件爱你系统。提示未知的文件系统ubifs。什么问题呢? [复制链接]

论坛徽章:
0
发表于 2015-03-31 14:34 |显示全部楼层
5可用积分
本帖最后由 雪中的紫诺 于 2015-03-31 16:04 编辑

1、modprobe mtd

2、modprobe mtdblock

3、modprobe ubi mtd=0   
     

4、 modprobe nandsim first_id_byte=0x20 second_id_byte=0xaa third_id_byte=0x00 fourth_id_byte=0x15   

5、mtdinfo /dev/mtd0     

6、flash_eraseall /dev/mtd0   

7、ubiformat /dev/mtd0 -s 512 -f ./ubi.img

8、ubiattach /dev/ubi_ctrl -m 0   


前面几步都没问题,运行通过。但最后一步总是提示未知的文件系统,是那里原因呢  


9、 mount -t ubifs ubi0:rootfs /mnt/     

论坛徽章:
13
寅虎
日期:2014-03-16 21:06:152015年迎新春徽章
日期:2015-03-04 09:52:242015年亚洲杯之巴林
日期:2015-02-03 22:13:37卯兔
日期:2015-02-03 22:12:48子鼠
日期:2015-02-03 22:09:35亥猪
日期:2015-02-03 22:09:06金牛座
日期:2015-02-03 22:08:04摩羯座
日期:2015-01-18 21:39:23寅虎
日期:2015-01-01 11:38:40申猴
日期:2014-12-23 00:16:16午马
日期:2014-12-15 22:13:23寅虎
日期:2014-04-09 19:35:14
发表于 2015-04-02 22:35 |显示全部楼层
mount -t ubifs ubi0:rootfs /mnt/

/var/log/message日志打印信息是什么?
你的内核支不支持ubifs 文件系统?如果不支持,编译内核的时候要把ubifs 文件系统编译进去

论坛徽章:
0
发表于 2015-04-04 10:07 |显示全部楼层
本帖最后由 阿瓜000 于 2015-04-04 10:10 编辑

你没创建卷吧你的ubi0:rootfs哪来的?

   

论坛徽章:
1
2015年迎新春徽章
日期:2015-03-04 09:58:11
发表于 2015-04-05 21:48 |显示全部楼层
需要使用ubimkvol来创建rootfs这个volume
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP