在虚拟机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/
mount -t ubifs ubi0:rootfs /mnt/
/var/log/message日志打印信息是什么?
你的内核支不支持ubifs 文件系统?如果不支持,编译内核的时候要把ubifs 文件系统编译进去 本帖最后由 阿瓜000 于 2015-04-04 10:10 编辑
你没创建卷吧你的ubi0:rootfs哪来的?
需要使用ubimkvol来创建rootfs这个volume
页:
[1]