
我用ubuntu时,出现这个问题,怎么解决呢?
root@Ubuntu:/home/mx#genext2fs-d'/root/cust1'-U-b4096'/root/cust2.img'genext2fs:could...
root@Ubuntu:/home/mx# genext2fs -d '/root/cust1' -U -b 4096 '/root/cust2.img'
genext2fs: couldn't allocate a block (no free space) 展开
genext2fs: couldn't allocate a block (no free space) 展开
2个回答
展开全部
很多年没有接触过Linux了。从网上搜索了一下genext2fs的用法,原来是用来创建linux软盘映像的工具。从错误提示看,应该是你给的-b 4096太小,放不下/root/cust1中的内容。先查看一下要放入映像文件的内容,根据内容大小设置-b 参数,要比实际内容稍微大一些。
参考资料: http://blog.csdn.net/liuyu60305002/article/details/6745526
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询