From: Mark Knecht <markknecht@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: initramfs & RAID at boot time
Date: Sat, 17 Apr 2010 14:36:39 -0700 [thread overview]
Message-ID: <p2h5bdc1c8b1004171436h5fad72b7u24aea939a8edc2f@mail.gmail.com> (raw)
In-Reply-To: <h2j5bdc1c8b1004171032ofcada63dzbe74a29617cab7c4@mail.gmail.com>
On Sat, Apr 17, 2010 at 10:32 AM, Mark Knecht <markknecht@gmail.com> wrote:
> Hi,
> I've never learned to do an initramfs as I've never used hardware
> in a Linux box that required it. However now I find myself using mdadm
> software-RAID and getting dinged on the linux-raid list when I ask
> about things like the kernel autodetecting RAID drives at boot time as
> the mdadm developers are firmly fixated on using initramfs and
> auto-detecting nothing. Going with the flow I'm studying this Gentoo
> Wiki link:
>
> http://en.gentoo-wiki.com/wiki/Initramfs
>
> and most specifically this portion on software RAID:
>
> http://en.gentoo-wiki.com/wiki/Initramfs#Software_RAID
>
> where the statement "But if you use an initramfs the kernel will not
> automatically scan for RAIDs until it is told to." caught my
> attention. Does anyone know if the word "not" in that statement is
> absolutely true? I.e. - if I take a kernel that today finds a RAID1 /
> drive and boots, that if I do nothing other than turn on that feature
> in the kernel then the boot process is not going to assemble my RAID,
> not find / and then fail to boot?
>
> Maybe I'm reading too much into that but I like that my system
> boots and I don't think I want to do things that stop it from doing
> so... ;-)
>
> That said, if it's true, does the "noinitrd" kernel parameter
> override it and then RAID would work and the boot completes normally?
>
> Thanks,
> Mark
>
Empirically any way there doesn't seem to be a problem. I built the
new kernel and it booted normally so I think I'm misinterpreting what
was written in the Wiki or the Wiki is wrong.
Now to try building the actual initramfs...
Cheers,
Mark
next prev parent reply other threads:[~2010-04-17 21:36 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-17 17:32 [gentoo-user] initramfs & RAID at boot time Mark Knecht
2010-04-17 21:36 ` Mark Knecht [this message]
2010-04-17 22:01 ` [gentoo-user] " Neil Bothwick
2010-04-18 6:57 ` Ciprian Dorin, Craciun
2010-04-18 7:42 ` Jarry
2010-04-19 11:16 ` Ciprian Dorin, Craciun
2010-04-18 8:16 ` Neil Bothwick
2010-04-19 11:27 ` Ciprian Dorin, Craciun
2010-04-19 11:51 ` Neil Bothwick
2010-04-18 15:13 ` Mark Knecht
2010-04-18 18:01 ` Neil Bothwick
2010-04-18 21:10 ` Mark Knecht
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=p2h5bdc1c8b1004171436h5fad72b7u24aea939a8edc2f@mail.gmail.com \
--to=markknecht@gmail.com \
--cc=gentoo-user@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