Restoring the on-board root filesystem

Hi , I’ve extracted and copied on an ext3 USB flash drive the root filesystem archive provided on the olimex cd and the .img file and I’ve started correctly the board .

When I try with the command:

flash_eraseall -j /dev/mtd1

I get this message:

sam9-l9260:/# flash_eraseall -j /dev/mtd1

bash: flash_eraseall: command not found

And if Itry :

modprobe mtdchar

I get:

sam9-l9260:/# modprobe mtdchar

FATAL: Could not load /lib/modules/2.6.23/modules.dep: No such file or directory

but in the archive provided by OLIMEX’s cd there isn’t anything in the /lib/modules/2.6.23/

directory.

Please , can somebody tell me how to fix this problem?

Thank you very much.

Problem fixed (thanks to olimex support team) with the command :

/usr/sbin/flash_eraseall -j /dev/mtd1

:smiley: