From: Dan Cardamore <dan.cardamore@officeserver.ca>
To: linux-mtd@lists.infradead.org
Subject: Re: Problem mounting JFFS2 as root, works for ext2
Date: Sun, 10 Aug 2003 11:50:23 -0400 [thread overview]
Message-ID: <20030810155023.GA21857@officeserver.ca> (raw)
In-Reply-To: <1060504021.29776.5.camel@imladris.demon.co.uk>
On Sun, Aug 10, 2003 at 09:27:04AM +0100, David Woodhouse wrote:
> On Sat, 2003-08-09 at 06:33, Dan Cardamore wrote:
>
> > If I boot using JFFS2 as my root, I get:
> > <snip>
> > VFS: Mounted root (jffs2 filesystem)
> > mount_devfs_fs(): unable to mount devfs, err: -2
> <...>
> > Warning: unable to open an initial console.
> > Kernel panic: No init found. Try passing init= option to the kernel
> >
> > If I boot from /dev/hda3 as my root (ext2), I get everything working
> > perfect.
>
> Does it bitch about failing to mount devfs in the case where you mount
> ext2-root too?
No, everything boots properly when I ext2. I should add some more info:
- When it mounts the jffs2 FS, it does it instantly which means that it
can't be mounted. Mounting it properly takes about 20 seconds.
- In my initrd linuxrc, I can run:
mount -t jffs2 /dev/mtdblock/1 /
and it works just fine. Then the kernel unmouts / and tries to mount
it again.
I've gotten past the problem by making my /dev/hda1 boot partition a
mini-root with just busybox and it then mounts the JFFS2 partition and
pivot_root's to it.
If anyone has an idea though as to why the kernel can't mount it, I'd
love to skip that kluge.
Thanks,
Dan
--
Dan Cardamore dan.cardamore@officeserver.ca
Cell: (613)355-8048 http://www.officeserver.ca
prev parent reply other threads:[~2003-08-10 15:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-09 5:33 Problem mounting JFFS2 as root, works for ext2 Dan Cardamore
2003-08-10 8:27 ` David Woodhouse
2003-08-10 8:27 ` David Woodhouse
2003-08-10 15:50 ` Dan Cardamore [this message]
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=20030810155023.GA21857@officeserver.ca \
--to=dan.cardamore@officeserver.ca \
--cc=linux-mtd@lists.infradead.org \
/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