Gentoo Archives: gentoo-user

From: Matthew Finkel <matthew.finkel@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] /dev/sda* missing at boot
Date: Fri, 19 Aug 2011 01:45:35
Message-Id: CAGF8hsvzrvjWH91qbUQXJTQ-YPyNYKxKRWK+nWnUT1VUeP9_UQ@mail.gmail.com
In Reply to: [gentoo-user] /dev/sda* missing at boot by frares@gmail.com
1 On Thu, Aug 18, 2011 at 2:59 PM, <frares@×××××.com> wrote:
2
3 > Hi, guys
4 >
5 > It is a shame, I know, but after several years using Gentoo, it is the
6 > first time I try to build a kernel without "genkernel".
7 >
8 > And now I can't boot to that new kernel, it does not find (and really do
9 > not have a) /dev/sda* root partition ("real-root"); during the boot it
10 > stops, complaining about that, gives me the option to get a shell, from
11 > which I am able to see that there is no /dev/sda* .
12 >
13 > I have included everything SATA, so it looks like that is not a kernel
14 > problem, but a initramfs issue, I guess.
15 >
16 > What am I missing?
17 >
18 > Thanks a lot
19 > Francisco
20 >
21 > P.S.: my boot partition is sda2, sda3 is a swap partition, and everything
22 > else is in sda4. sda1 is not used (up to now) and this is my grub.conf :
23 >
24 > title Gentoo Linux 2.6.39-gentoo-r3
25 > root (hd0,1)
26 > kernel /boot/kernel-genkernel-x86_64-2.6.39-gentoo-r3 ro root=/dev/ram0
27 > init=/linuxrc real_root=/dev/sda4 vga=0x318 video=uvesafb:1024x768-32
28 > nodevfs udev devfs=nomount quiet CONSOLE=/dev/tty1
29 > initrd /boot/initramfs-genkernel-x86_64-2.6.39-gentoo-r3
30
31
32
33 Do you have a block device driver built into the kernel? And what type of
34 shell are you dropped into when then happens? Is it a single-user mode shell
35 or grub (or something else entirely)? Also, while you're booted into the
36 livecd/dvd/usb and you chroot, try lspci -k and check to see what
37 modules/drivers that lists as installed and see if you have them enabled in
38 your config.
39
40 - Matt