From: "Paul Smith" <psmith@nortel.com>
To: gentoo-catalyst@lists.gentoo.org
Subject: Re: [gentoo-catalyst] How is initrd built?
Date: 07 Jul 2005 10:35:12 -0400 [thread overview]
Message-ID: <vpdroe9eelb3.fsf@lemming.engeast.baynetworks.com> (raw)
In-Reply-To: <1120745158.11567.37.camel@cgianelloni.nuvox.net>
%% Chris Gianelloni <wolf31o2@gentoo.org> writes:
cg> On Thu, 2005-07-07 at 09:50 -0400, Paul Smith wrote:
>> In the new version, the initrd doesn't appear to be an ext2 filesystem
>> anymore... it's some kind of compressed cpio file?!?! Anyway, that's
>> what "file" tells me.
cg> It is an initramfs image. You can work with it just like any
cg> other cpio archive.
Well, yeah, I tried to do that, but it doesn't work. What am I doing
wrong (I haven't used cpio for years...)
I unpack the tarball and then:
# gzcat isolinux/gentoo.igz | cpio -tv
drwxr-xr-x 11 root root 0 Jul 6 20:09 .
drwxr-xr-x 2 root root 0 Jul 6 20:09 dev
crw-rw---- 1 root root 5, 1 Jul 6 20:09 dev/console
crw-rw---- 1 root root 1, 3 Jul 6 20:09 dev/null
drwxr-xr-x 2 root root 0 Jul 6 20:09 bin
drwxr-xr-x 2 root root 0 Jul 6 20:09 etc
-rw-r--r-- 1 root root 93 Jul 6 20:09 etc/fstab
drwxr-xr-x 4 root root 0 Jul 6 20:09 usr
drwxr-xr-x 2 root root 0 Jul 6 20:09 usr/bin
drwxr-xr-x 2 root root 0 Jul 6 20:09 usr/sbin
drwxr-xr-x 2 root root 0 Jul 6 20:09 proc
drwxr-xr-x 2 root root 0 Jul 6 20:09 temp
drwxr-xr-x 2 root root 0 Jul 6 20:09 sys
drwxr-xr-x 3 root root 0 Jul 6 20:09 var
drwxr-xr-x 3 root root 0 Jul 6 20:09 var/lock
drwxr-xr-x 2 root root 0 Jul 6 20:09 var/lock/dmraid
drwxr-xr-x 2 root root 0 Jul 6 20:09 sbin
Where's everything else? If I actually extract the archive I get the
same results: just this small directory skeleton and no actual contents
other than the ones in bin.
The file, of course, is huge and the system does boot properly so it's
all in there somewhere, but...???
I feel dumb :-/.
--
-------------------------------------------------------------------------------
Paul D. Smith <psmith@nortel.com> HASMAT--HA Software Mthds & Tools
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
These are my opinions---Nortel Networks takes no responsibility for them.
--
gentoo-catalyst@gentoo.org mailing list
next prev parent reply other threads:[~2005-07-07 14:35 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-06 13:45 [gentoo-catalyst] How is initrd built? Paul Smith
2005-07-06 13:52 ` Chris Gianelloni
2005-07-06 15:31 ` Paul Smith
2005-07-06 15:55 ` Chris Gianelloni
2005-07-06 16:36 ` Paul Smith
2005-07-06 16:47 ` Chris Gianelloni
2005-07-06 21:47 ` Paul Smith
2005-07-06 22:17 ` Chris Gianelloni
2005-07-07 15:14 ` Eric Edgar
2005-07-07 15:36 ` Paul Smith
2005-07-07 15:40 ` Eric Edgar
2005-07-07 16:02 ` Chris Gianelloni
2005-07-07 16:19 ` Paul Smith
2005-07-07 18:42 ` Paul Smith
2005-07-07 19:16 ` Chris Gianelloni
2005-07-07 20:01 ` Paul Smith
2005-07-07 20:44 ` Eric Edgar
2005-07-07 22:39 ` Paul Smith
2005-07-08 1:44 ` Paul Smith
2005-07-08 13:34 ` Chris Gianelloni
2005-07-08 13:31 ` Chris Gianelloni
2005-07-08 2:19 ` Paul Smith
2005-07-08 13:37 ` Chris Gianelloni
2005-07-06 22:08 ` Paul Smith
2005-07-06 22:36 ` Chris Gianelloni
2005-07-06 22:41 ` Paul Smith
2005-07-06 22:58 ` Chris Gianelloni
2005-07-07 13:50 ` Paul Smith
2005-07-07 14:05 ` Chris Gianelloni
2005-07-07 14:35 ` Paul Smith [this message]
2005-07-07 15:11 ` Eric Edgar
2005-07-07 19:14 ` Paul Smith
2005-07-07 19:34 ` Eric Edgar
2005-07-07 20:03 ` Paul Smith
2005-07-07 19:41 ` Chris Gianelloni
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=vpdroe9eelb3.fsf@lemming.engeast.baynetworks.com \
--to=psmith@nortel.com \
--cc=gentoo-catalyst@lists.gentoo.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