From: Kenneth Johansson <kenneth.johansson@inn.ericsson.se>
To: David Woodhouse <dwmw2@infradead.org>
Cc: mtd <linux-mtd@lists.infradead.org>
Subject: Re: jffs2 root
Date: Tue, 28 Aug 2001 19:13:13 +0200 [thread overview]
Message-ID: <3B8BD129.4A562C0@inn.ericsson.se> (raw)
In-Reply-To: 25744.999017640@redhat.com
David Woodhouse wrote:
>
> kenneth.johansson@inn.ericsson.se said:
> > What dose this mean?? It mounts jffs2 and I know /sbin/init is there.
> > The exact same kernel booting a ramdisk then mounting jffs2 works and
> > a diff of /sbin/init shows it to be correct.
>
> Odd. Are you 100% sure you haven't got 'init=' on the command line?
yes this is what happens with init=/bin/bash
--------
VFS: Mounted root (jffs2 filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 56k init 4k openfirmware
Starting userspace with /bin/bash
Starting userspace with /sbin/init
Kernel panic: No init found. Try passing init= option to kernel.
---------
I have booted from jffs2 one time (the first time I tried) but I had syslogd
starting in the init script and jffs2 creates data everytime something
happens that syslogd saves that creates more log ... Well I could not do much
before the disk was full so I did this steps.
erased the flash with erase /dev/mtd/0 0 128 (I have 8MB flash)
mounted /dev/mtdblock/0 on /mnt/mtd
Created the filesystem with (yes I know cp has -x option)
find / -type d -xdev -exec mkdir /mnt/mtd/{} \;
find / -type f -xdev -exec cp -dpvf {} /mnt/mtd/{} \;
It is not possible to boot from the result of this.
???
--
Kenneth Johansson
Ericsson Business Innovation AB Tel: +46 8 404 71 83
Viderögatan 3 Fax: +46 8 404 72 72
164 80 Stockholm kenneth.johansson@inn.ericsson.se
next prev parent reply other threads:[~2001-08-28 17:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-28 16:49 jffs2 root Kenneth Johansson
2001-08-28 16:54 ` David Woodhouse
2001-08-28 17:13 ` Kenneth Johansson [this message]
2001-08-28 17:17 ` David Woodhouse
2001-08-28 17:35 ` Kenneth Johansson
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=3B8BD129.4A562C0@inn.ericsson.se \
--to=kenneth.johansson@inn.ericsson.se \
--cc=dwmw2@infradead.org \
--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