Skip to contentSkip to conversation

How to build more than 16M ramdisk for u-boot

DISCUSSION 徐小威 2 participants 2 messages Aug 19, 2005

lore
Share & tools
lore

徐小威

author
#0 lore raw

Hi all:

I found if i build ramdisk more than 16M, i'll got error at using
mke2fs command.

dd if=/dev/zero of=ramdisk bs=1024k count=20

/sbin/mke2fs -F m0 ramdisk
mke2fs 1.36 (05-Feb-2005)
mke2fs: bad blocks count - ramdisk

why ?

I used FC3 & eldk 3.1.1.

Best Regard,
Rober Hsu

#1 lore raw
Quoted 10 lines · ?????????

Hi all:

I found if i build ramdisk more than 16M, i'll got error at using
mke2fs command.

dd if=/dev/zero of=ramdisk bs=1024k count=20

/sbin/mke2fs -F m0 ramdisk
mke2fs 1.36 (05-Feb-2005)
mke2fs: bad blocks count - ramdisk

typo?

try: /sbin/mke2fs -F -m0 ramdisk