linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: "Dross Zhou" <zjuzhou@yahoo.com.cn>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: How to mount romfs in flash as root filesystem?
Date: Mon, 29 Apr 2002 16:35:24 +0200	[thread overview]
Message-ID: <20020429143529.A188FFF68@denx.denx.de> (raw)
In-Reply-To: Your message of "Mon, 29 Apr 2002 22:14:08 +0800." <20020429141408.33240.qmail@web15001.mail.bjs.yahoo.com>


In message <20020429141408.33240.qmail@web15001.mail.bjs.yahoo.com> you wrote:
>
> 	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

Probably because you mistyoed  the  device  name?  There  is  an  'o'
missing, it seems.

> root,how can i mount /dev/mtdblock0 (ROMFS) as root
> filesystem?I used linux2.4.4 from denx .

Just pass "root=/dev/mtdblock0", that's all.

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
I must follow the people.  Am I not their leader? - Benjamin Disraeli

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

  reply	other threads:[~2002-04-29 14:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-29 14:14 How to mount romfs in flash as root filesystem? Dross Zhou
2002-04-29 14:35 ` Wolfgang Denk [this message]
2002-04-30  8:40   ` Gunnar Larisch
2002-04-29 15:04 ` Jim Thompson
  -- strict thread matches above, loose matches on Subject: below --
2002-04-30  9:33 Kári Davíðsson
     [not found] <EADB10BAC266A14A85ECBF8686A73E31937F12@kolkrabbi.flaga.is>
2002-05-02 11:57 ` Dross Zhou
2002-05-02 12:00 Kári Davíesson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020429143529.A188FFF68@denx.denx.de \
    --to=wd@denx.de \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=zjuzhou@yahoo.com.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).