码迷,mamicode.com
首页 > 其他好文 > 详细

make_ext4fs 失败

时间:2014-11-17 12:06:26      阅读:623      评论:0      收藏:0      [点我收藏+]

标签:des   android   ar   on   size   new   tt   res   c   

root@fengyun-server:/home/fmake_ext4fsengyun/android/reverse_engineer/rom制作# ./make_ext4fs -l 700M -s -a system ZNKG5-new2.img ./tempdir  
file_context_open: Error getting file context handle (No such file or directory)
No such file or directory

去掉 –a system参数

root@fengyun-server:/home/fengyun/android/reverse_engineer/rom制作# ./make_ext4fs -l 600M -s  ZNKG5-new.img ./tempdir  
Creating filesystem with parameters:
    Size: 629145600
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 7680
    Inode size: 256
    Journal blocks: 2400
    Label:
    Blocks: 153600
    Block groups: 5
    Reserved block group size: 39
error: do_inode_allocate_extents: Failed to allocate 322 blocks

 

调整 –l 700M

./make_ext4fs -l 700M -s  ZNKG5-new.img ./tempdir

make_ext4fs 失败

标签:des   android   ar   on   size   new   tt   res   c   

原文地址:http://www.cnblogs.com/cute/p/4103100.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!