[uClinux-dev] RAMdisk

From: simon@promate.com.tw
Date: Tue Feb 20 2001 - 01:07:02 EST


I use the following step to change the ramdisk size into 4096K byts

dd if=/dev/zero of=/dev/ram0 bs=1k count=4096
mke2fs -vm0 /dev/ram0 4096
tune2fs -i 0 /dev/ram0
mount /dev/ram0 /mnt
rmdir /mnt/lost+found
umount /mnt
dd if=/dev/ram0 of=ramfs4096 bs=1k count=4096
holes ramfs4096 > ramfs4096.img


But when I boot the kernel ,I got the following error message.


Command: mount -t ext2 /dev/ram0 /var
EXT2-fs: 01:00: couldn't mount because of unsupported optional features.
mount: wrong fs type, bad option, bad superblock on /dev/ram0,
       or too many mounted file systems
Command: mount -t ext2 /dev/ram1 /etc/config
EXT2-fs: 01:01: couldn't mount because of unsupported optional features.
mount: wrong fs type, bad option, bad superblock on /dev/ram1,
       or too many mounted file systems
Command: mkdir /var/tmp
/var/tmp: Read-only file system


Could someone tell me what's wrong?
The attached file is the boot message.
(See attached file: Cf.txt)

   Thank you!

This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/

This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:19:30 EDT