How to mount romfs in flash as root filesystem?

Dross Zhou zjuzhou at yahoo.com.cn
Tue Apr 30 00:14:08 EST 2002


MIME-Version: 1.0
Content-Type: text/plain; charset=gb2312
Content-Transfer-Encoding: 8bit

Hi ,all
	Now my kernel has support ROMFS ,i can mount
/dev/mtdblock0 /mnt -t romfs and use chroot /mnt as
root filesystem.But i want to mount /dev/mtdblock0 as
root filesystem when system reboot,how to?I have try
many parameters into kernel such as "root=/dev/mtdblk0
romfs ro", but it is no use, it also mount NFS
root,how can i mount /dev/mtdblock0 (ROMFS) as root
filesystem?I used linux2.4.4 from denx .
	thanks.

--Zhou Chang




̯¿ªÄãµÄÕÆÐÄ ÈÃÎÒ¿´¿´Äã
http://sweepstakes.yahoo.com/2002cnuser

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list