1 |
On Sat, Apr 17, 2010 at 10:32 AM, Mark Knecht <markknecht@×××××.com> wrote: |
2 |
> Hi, |
3 |
> I've never learned to do an initramfs as I've never used hardware |
4 |
> in a Linux box that required it. However now I find myself using mdadm |
5 |
> software-RAID and getting dinged on the linux-raid list when I ask |
6 |
> about things like the kernel autodetecting RAID drives at boot time as |
7 |
> the mdadm developers are firmly fixated on using initramfs and |
8 |
> auto-detecting nothing. Going with the flow I'm studying this Gentoo |
9 |
> Wiki link: |
10 |
> |
11 |
> http://en.gentoo-wiki.com/wiki/Initramfs |
12 |
> |
13 |
> and most specifically this portion on software RAID: |
14 |
> |
15 |
> http://en.gentoo-wiki.com/wiki/Initramfs#Software_RAID |
16 |
> |
17 |
> where the statement "But if you use an initramfs the kernel will not |
18 |
> automatically scan for RAIDs until it is told to." caught my |
19 |
> attention. Does anyone know if the word "not" in that statement is |
20 |
> absolutely true? I.e. - if I take a kernel that today finds a RAID1 / |
21 |
> drive and boots, that if I do nothing other than turn on that feature |
22 |
> in the kernel then the boot process is not going to assemble my RAID, |
23 |
> not find / and then fail to boot? |
24 |
> |
25 |
> Maybe I'm reading too much into that but I like that my system |
26 |
> boots and I don't think I want to do things that stop it from doing |
27 |
> so... ;-) |
28 |
> |
29 |
> That said, if it's true, does the "noinitrd" kernel parameter |
30 |
> override it and then RAID would work and the boot completes normally? |
31 |
> |
32 |
> Thanks, |
33 |
> Mark |
34 |
> |
35 |
|
36 |
Empirically any way there doesn't seem to be a problem. I built the |
37 |
new kernel and it booted normally so I think I'm misinterpreting what |
38 |
was written in the Wiki or the Wiki is wrong. |
39 |
|
40 |
Now to try building the actual initramfs... |
41 |
|
42 |
Cheers, |
43 |
Mark |