From: Lars Kellogg-Stedman <lars@larsshack.org>
To: linux-lvm@sistina.com
Subject: [linux-lvm] Is lvmcreate_initrd expected to work?
Date: Tue Nov 27 16:54:01 2001 [thread overview]
Message-ID: <3C041A0D.70608@larsshack.org> (raw)
Now that we've solved the pressing oh-my-goodness-my-system-won't-boot
problem, I've got a few other questions.
The lvm package comes with the nifty lvmcreate_initrd command...but in
my experience it simply doesn't work. While it's especially clever
about resolving library dependencies, it seems to ignore the issue of
kernel modules.
For instance, I'm running a "reasonably" stock RedHat/SGI 7.2
installation, which means that both SCSI support and the RAID5 module
are built as drivers. This means that my initrd needs, minimally:
- scsi_mod
- sd_mod
- xor
- raid5
- lvm-mod
And unfortunately, lvmcreate_initrd doesn't pick up on any of this.
I ended up custom building an initrd around busybox, which provides a
flexible pre-boot environment, including access to a shell prompt from
within the initrd (which proved extremely useful recently). But
obviously, not everybody is going to have the time or experience to do this.
I realize that the root-on-LVM design is fairly bleeding-edge, as these
things go, but it is in the FAQ. I suppose the best solution would be
for distribution vendors such as RedHat to include LVM support in their
own dist-specific 'mkinitrd' type script.
While it would probably be easier to build a custom kernel with all the
necessary drivers built in, I'll probably stick with this solution now
since I'm fond of my initrd. What are other folks doing?
-- Lars
next reply other threads:[~2001-11-27 16:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-27 16:54 Lars Kellogg-Stedman [this message]
2001-11-28 5:49 ` [linux-lvm] Is lvmcreate_initrd expected to work? Goetz Bock
2001-11-28 15:24 ` Lars Kellogg-Stedman
2001-11-29 3:03 ` Patrick Caulfield
2001-11-29 8:18 ` Theo Van Dinter
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=3C041A0D.70608@larsshack.org \
--to=lars@larsshack.org \
--cc=linux-lvm@sistina.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.