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 1QuE9P-0005UF-8M for garchives@archives.gentoo.org; Fri, 19 Aug 2011 01:45:35 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E041721C16A; Fri, 19 Aug 2011 01:45:18 +0000 (UTC) Received: from mail-vx0-f181.google.com (mail-vx0-f181.google.com [209.85.220.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 846EE21C12A for ; Fri, 19 Aug 2011 01:44:21 +0000 (UTC) Received: by vxi39 with SMTP id 39so2743178vxi.40 for ; Thu, 18 Aug 2011 18:44:21 -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; bh=A5UyUPTcx/DEQk901nfkKGn6Lu4bRdENkz4xWbaz5ak=; b=TPwvHIvE5DTg7ZaPeKA4XR6OfGZt2iEB3Iksrrjfb6F8WO02+ZIplefoAAi3el57Js 5rtkGX39xg87qJahQ5e/TOuXFWa0q8XSO00f8CFIQ1jBRPrDq2OtGJb8bYU6d22DGuh7 Eqc3VkJLXJ6iKjuG6iSyLBP00qfdmBEd3oKo8= 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.52.89.9 with SMTP id bk9mr1437043vdb.422.1313718260943; Thu, 18 Aug 2011 18:44:20 -0700 (PDT) Received: by 10.52.109.229 with HTTP; Thu, 18 Aug 2011 18:44:20 -0700 (PDT) In-Reply-To: <20cf305e2551cc15c604aacc34f7@google.com> References: <20cf305e2551cc15c604aacc34f7@google.com> Date: Thu, 18 Aug 2011 21:44:20 -0400 Message-ID: Subject: Re: [gentoo-user] /dev/sda* missing at boot From: Matthew Finkel To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=20cf307f359c474c4504aad1de2b X-Archives-Salt: X-Archives-Hash: 2a7bbc855a1356848b0d7e33b2790728 --20cf307f359c474c4504aad1de2b Content-Type: text/plain; charset=ISO-8859-1 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 > first 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 > stops, 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 > problem, but a initramfs issue, I guess. > > What am I missing? > > Thanks a lot > Francisco > > P.S.: my boot partition is sda2, sda3 is a swap partition, and everything > else is in sda4. sda1 is not used (up to now) and this is my grub.conf : > > title Gentoo Linux 2.6.39-gentoo-r3 > root (hd0,1) > kernel /boot/kernel-genkernel-x86_64-2.6.39-gentoo-r3 ro root=/dev/ram0 > init=/linuxrc real_root=/dev/sda4 vga=0x318 video=uvesafb:1024x768-32 > nodevfs udev devfs=nomount quiet CONSOLE=/dev/tty1 > initrd /boot/initramfs-genkernel-x86_64-2.6.39-gentoo-r3 Do you have a block device driver built into the kernel? And what type of shell are you dropped into when then happens? Is it a single-user mode shell or grub (or something else entirely)? Also, while you're booted into the livecd/dvd/usb and you chroot, try lspci -k and check to see what modules/drivers that lists as installed and see if you have them enabled in your config. - Matt --20cf307f359c474c4504aad1de2b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Thu, Aug 18, 2011 at 2:59 PM, <frares@gmail.com>= wrote:
Hi, guys

It is a shame, I know, but after several years using Gentoo= , it is the first time I try to build a kernel without "genkernel"= ;.

And now I can't boot to that new kernel, it does not find (an= d really do not have a) /dev/sda* root partition ("real-root"); d= uring the boot it stops, 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 = problem, but a initramfs issue, I guess.

What am I missing?

T= hanks a lot
Francisco

P.S.: my boot partition is sda2, sda3 is a = swap partition, and everything else is in sda4. sda1 is not used (up to now= ) and this is my grub.conf :

title Gentoo Linux 2.6.39-gentoo-r3
root (hd0,1) = =
kernel /boot/kernel-genkernel-x86_64-2.6.39-gentoo-r3 ro r= oot=3D/dev/ram0 init=3D/linuxrc real_root=3D/dev/sda4 vga=3D0x318 video=3Du= vesafb:1024x768-32 nodevfs udev devfs=3Dnomount quiet CONSOLE=3D/dev/tty1 =
initrd /boot/initramfs-genkernel-x86_64-2.6.39-gentoo-r3
=


Do you have a block device driver built into the kernel?= And what type of shell are you dropped into when then happens? Is it a sin= gle-user mode shell or grub (or something else entirely)? Also, while you&#= 39;re booted into the livecd/dvd/usb and you chroot, try lspci -k and check= to see what modules/drivers that lists as installed and see if you have th= em enabled in your config.

- Matt
--20cf307f359c474c4504aad1de2b--