From: "Paul Smith" <psmith@nortel.com>
To: gentoo-catalyst@lists.gentoo.org
Subject: Re: [gentoo-catalyst] How is initrd built?
Date: 07 Jul 2005 12:19:12 -0400 [thread overview]
Message-ID: <vpdrackyeghr.fsf@lemming.engeast.baynetworks.com> (raw)
In-Reply-To: <20050707154004.GB19280@toucan.gentoo.org>
%% Eric Edgar <rocket@gentoo.org> writes:
ee> Catalyst doesnt really support unionfs at the moment. You will
ee> need to add unionfs to your isolinux loader script to get it to
ee> work.
"isolinux loader script"?
ee> unionfs=/path/to/block device will let you use a formatted device
ee> as the place to store changes. This code is VERY experimental and
ee> is currently just starting to be supported. It will not be in
ee> official cds for sometime as no one has tested it all besides
ee> myself.
Hm. I had it working with the previous genkernel/catalyst, with a
custom linuxrc, but took out what I had in favor of the new support;
maybe I was too hasty :-).
The way I had it working was twofold: first, I used it even in the
livecd situation where there was no formatted device; in this case the
"top" filesystem in the union, the RW one, was a ramdisk. The advantage
here is that I could avoid the long tmpfs copy step (by far the slowest
step) during boot: instead of copying all the modifiable directory
structures (/etc, /var, etc.) to a ramdisk I just used the unionfs to
overlay the RO partition and I was done.
Secondly, as you say, it could be used as a persistent storage. In this
case I had the linuxrc try to mount disk devices (using /sys/block/...)
until I found one with a special token file in the root of the
filesystem. I had it hardcoded to ext3 so I didn't need to worry about
different filesystem types. If I found an ext3 filesystem with that
token file in the root I would use that as the top (RW) element in the
unionfs.
Anyway, for the time being I'm mostly interested in the first item:
speeding up the boot. As things are turning out it's going to be more
important in my project to be able to install the whole thing to disk
and boot off of disk, than to boot off of CD with a persistent storage.
However, unionfs really helps me in two ways anyway: first is the boot
time from CD as I mentioned above. Second is the copy time to the HD
partition, which can also benefit.
--
-------------------------------------------------------------------------------
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 16:19 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 [this message]
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
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=vpdrackyeghr.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