From: Wakko Warner <wakko@animx.eu.org>
To: linux-kernel@vger.kernel.org
Subject: initramfs
Date: Wed, 25 May 2005 13:41:35 -0400 [thread overview]
Message-ID: <20050525174135.GA1098@animx.eu.org> (raw)
I'm having problems with this. I apparently have a cpio archive that the
kernel likes. I am starting via grub with basically:
kernel /mykernel
initrd /mycpiofile
At first, I got "can't mount root". A little reading in main.c has it
looking for /init (shouldn't this be /bin/init instead?)
I moved my ./bin/init to . in my init filesystem tree and recreated the
cpio. my ./init script is a "#!/bin/busybox ash" script.
running cpio -tv, I see:
...
-rwxr-xr-x 1 root root 452508 May 5 14:33 bin/busybox
...
-rwxr-xr-x 1 root root 1328 May 9 15:46 init
...
Now I see a message saying:
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
I did that. According to the source, init= is overridden when /init exists.
I'd like to get off the initrd ramdisk style to save some more on space.
I assume it is populating properly since also I don't see the initial console
warning message.
Kernel: vanilla 2.6.12-rc4 compiled with -Os with debian gcc 3.3.5-1
--
Lab tests show that use of micro$oft causes cancer in lab animals
next reply other threads:[~2005-05-25 17:44 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-25 17:41 Wakko Warner [this message]
2005-05-25 18:26 ` initramfs Lennart Sorensen
2005-05-25 18:45 ` initramfs Wakko Warner
2005-05-25 19:54 ` initramfs Wakko Warner
2005-05-25 18:54 ` initramfs Wakko Warner
-- strict thread matches above, loose matches on Subject: below --
2005-07-13 10:06 initramfs Jacek Jabłoński
2003-08-21 4:44 Initramfs Garrett Kajmowicz
2003-08-21 6:30 ` Initramfs Bryan O'Sullivan
2003-08-21 14:19 ` Initramfs Jeff Garzik
2003-08-21 18:28 ` Initramfs Bryan O'Sullivan
2003-08-21 19:03 ` Initramfs viro
2003-08-21 19:57 ` Initramfs Bryan O'Sullivan
2003-08-21 20:22 ` Initramfs Willy Tarreau
2003-08-21 20:56 ` Initramfs viro
2003-08-21 22:34 ` Initramfs H. Peter Anvin
2003-08-21 22:31 ` Initramfs Werner Almesberger
2003-08-21 22:41 ` Initramfs Jeff Garzik
2003-08-21 23:15 ` Initramfs Werner Almesberger
2003-08-28 20:07 ` Initramfs H. Peter Anvin
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=20050525174135.GA1098@animx.eu.org \
--to=wakko@animx.eu.org \
--cc=linux-kernel@vger.kernel.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