[ELDK] genext2fs problem of not allocating ramdisk image
Wolfgang Denk
wd at denx.de
Wed Sep 30 12:41:36 CEST 2009
Dear "J.Hwan.Kim",
In message <4AC331C7.1080108 at gmail.com> you wrote:
> The DULG indicates how to use genext2fs as follows :
>
>
> $ ROOTFS_DIR=rootfs # directory with root file system content
> $ ROOTFS_SIZE=3700 # size of file system image
^^^^^^^^^^^^^^^^^^^^
> When I do command "genext2fs -U -d rootfs -D rootfs_device.tab -b 3700 -m 10 -i 380 ramdisk.img",
> it returns error message "genext2fs: couldn't allocate a block (no free space)"
This means that the generated file system is too small to hold all the
data you want to put in.
> How can I solve the problem?
Increase the size of the file system, i. e. the value passed for the
"-b" option (3700 in your example above).
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The goal of science is to build better mousetraps. The goal of nature
is to build better mice.
More information about the eldk
mailing list