How to mount romfs in flash as root filesystem?

Jim Thompson jim at musenki.com
Tue Apr 30 01:04:35 EST 2002


Which kernel version?

Dross Zhou writes:
>
> 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
>
>

--
"Life begins when you can spend your spare time programming
instead of watching television."  -- Cal Keegan


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





More information about the Linuxppc-embedded mailing list