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 1Qu82l-0008Ml-MZ for garchives@archives.gentoo.org; Thu, 18 Aug 2011 19:14:20 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D36EF21C199; Thu, 18 Aug 2011 19:14:10 +0000 (UTC) Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com [209.85.161.53]) by pigeon.gentoo.org (Postfix) with ESMTP id A1B5721C16D for ; Thu, 18 Aug 2011 19:13:14 +0000 (UTC) Received: by fxd23 with SMTP id 23so1846936fxd.40 for ; Thu, 18 Aug 2011 12:13:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=cHZ6iC87HnjQxxKiIaWvMfMqmrz9jKByHUccZPxQ0sk=; b=AzmUVmATtaA38Hojc9Ds9YOBcbDjtDXCrvvPkT+NETnodW318BoeUbonUefwz2WRj7 JueDGxewcKpK459pJyWas7hZfhZa8JObCi1xu9GxLCEvB3pbaGJYbwXes2l+SNGQ/jvt QYRdH6qAPXS0I4tptx4Ea8WgFSC0Mhph7BkK4= 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.223.66.91 with SMTP id m27mr1614163fai.7.1313694793782; Thu, 18 Aug 2011 12:13:13 -0700 (PDT) Received: by 10.223.104.83 with HTTP; Thu, 18 Aug 2011 12:13:13 -0700 (PDT) In-Reply-To: <20cf305e2551cc15c604aacc34f7@google.com> References: <20cf305e2551cc15c604aacc34f7@google.com> Date: Thu, 18 Aug 2011 15:13:13 -0400 Message-ID: Subject: Re: [gentoo-user] /dev/sda* missing at boot From: Michael Mol To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 36fb57889f88ed0260f3bba59f629fed On Thu, Aug 18, 2011 at 2:59 PM, wrote: > > Hi, guys > > It is a shame, I know, but after several years using Gentoo, it is the fi= rst time I try to build a kernel without "genkernel". > > And now I can't boot to that new kernel, it does not find (and really do = not have a) /dev/sda* root partition ("real-root"); during the boot it stop= s, complaining about that, gives me the option to get a shell, from which I= am able to see that there is no /dev/sda* . > > I have included everything SATA, so it looks like that is not a kernel pr= oblem, but a initramfs issue, I guess. If you've got a SATA controller, no frills, then all you=C2=A0*really* need is AHCI. Build that into your kernel if you're worried about having the right modules in initramfs. You can break it out into a module later if you like. Opinions differ as to how much stuff should be broken into modules vs being built-in to the kernel. I tend to build in everything absolutely needed for boot, myself. Some people build in just about everything, and some people build in almost nothing. There's no "right" way for every use case. Also, check your BIOS to see if it's running your SATA controller in some kind of IDE emulation mode. If it is, disable that. (Some motherboards let you choose between "IDE" and "RAID", where "RAID" is AHCI mode. Others call IDE mode 'legacy', and still others might actually call the AHCI mode 'AHCI') Motherboards running SATA controllers in IDE emulation mode is an incredibly common thing: 17:18 <@IRule> beh 17:18 <@IRule> hda1 turned into sda1 17:19 < shortcircuit> IRule: Turn SCSI-generic support, or did you switch from legacy to AHCI in your BIOS? 17:20 <@IRule> shortcircuit: quiet, you -- :wq