From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1O3Fh7-0000Cr-BO for garchives@archives.gentoo.org; Sat, 17 Apr 2010 21:36:53 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4787FE0823; Sat, 17 Apr 2010 21:36:40 +0000 (UTC) Received: from mail-pw0-f53.google.com (mail-pw0-f53.google.com [209.85.160.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 0DE7DE0823 for ; Sat, 17 Apr 2010 21:36:39 +0000 (UTC) Received: by pwj10 with SMTP id 10so2358955pwj.40 for ; Sat, 17 Apr 2010 14:36:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:content-type :content-transfer-encoding; bh=H1MYFcDtMiHdzor0kKx3EB7exdfD5eZ9MM44lt6MPsc=; b=XLcCQNQuRxv+IqOWuDgVCE1XeYzR9WpO2YJ8iT3BH7F5IG1o1LM8aPa8D/GsEOjQl3 GgQq+wRfsQyQnD8+bW0DPn5rVLtaIaDPC0JAB1jMOsA3jWdQVWH44H2Pz/SkbSCnP2+Y FeL8s7DkHn3myjUJ5aSOOGTEwFq8dpU1jiShc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=t6StSv3gcKI62vwTvauLzcx7gTirYDMhJBtJYDJiZg5a2/oVzv3qwSOJMv2ubOJ1NK r7WX0aoq26kyS7tKqFalGKllv7IExDGaBZSJbDG/L4jl1r9uGBdYvrzL0KzwJrNGbZDy KMa9AWO0LlOo7MAW4tgnTwQc1d43sDuf3iPFQ= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.143.160.19 with HTTP; Sat, 17 Apr 2010 14:36:39 -0700 (PDT) In-Reply-To: References: Date: Sat, 17 Apr 2010 14:36:39 -0700 Received: by 10.142.152.8 with SMTP id z8mr1430984wfd.28.1271540199516; Sat, 17 Apr 2010 14:36:39 -0700 (PDT) Message-ID: Subject: [gentoo-user] Re: initramfs & RAID at boot time From: Mark Knecht To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 3a487146-5c7b-464c-9eba-e45e45556870 X-Archives-Hash: 8d9f51ed613166886924788a1b3a967e On Sat, Apr 17, 2010 at 10:32 AM, Mark Knecht wrote: > Hi, > =C2=A0 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? > > =C2=A0 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... ;-) > > =C2=A0 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