雪中的紫诺 发表于 2015-03-31 14:34

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

本帖最后由 雪中的紫诺 于 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/   

licup123 发表于 2015-04-02 22:35

mount -t ubifs ubi0:rootfs /mnt/

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

阿瓜000 发表于 2015-04-04 10:07

本帖最后由 阿瓜000 于 2015-04-04 10:10 编辑

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

   

arm-linux-gcc 发表于 2015-04-05 21:48

需要使用ubimkvol来创建rootfs这个volume
页: [1]
查看完整版本: 在虚拟机ubuntu上面挂载ubi文件爱你系统。提示未知的文件系统ubifs。什么问题呢?