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 1QuOpu-0004Hc-W0 for garchives@archives.gentoo.org; Fri, 19 Aug 2011 13:10:11 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8706E21C2DD; Fri, 19 Aug 2011 13:10:01 +0000 (UTC) Received: from mail-yi0-f71.google.com (mail-yi0-f71.google.com [209.85.218.71]) by pigeon.gentoo.org (Postfix) with ESMTP id 3353121C2E0 for ; Fri, 19 Aug 2011 13:08:57 +0000 (UTC) Received: by yie30 with SMTP id 30so4179819yie.10 for ; Fri, 19 Aug 2011 06:08:57 -0700 (PDT) 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.236.191.136 with SMTP id g8mr5362676yhn.4.1313759336879; Fri, 19 Aug 2011 06:08:56 -0700 (PDT) In-Reply-To: Message-ID: <20cf30563e93985a3b04aadb6e8f@google.com> Date: Fri, 19 Aug 2011 13:08:56 +0000 Subject: Re: Re: [gentoo-user] /dev/sda* missing at boot From: frares@gmail.com To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=20cf30563e93985a2a04aadb6e8c X-Archives-Salt: X-Archives-Hash: 710272bdfdfe0c112b9ed62fb26bc239 --20cf30563e93985a2a04aadb6e8c Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Em 18/08/2011 23:27, Mark Knecht escreveu: > On Thu, Aug 18, 2011 at 11:59 AM, 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 (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 > > > > PS: 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 > Maybe I'm missing the obvious here but have you taken a copy of > whatever config file was used/generated by genkernel and used that as > a jumping off point for building your own kernel. kernel's a kernel's > a kernel. What it is capable of doing is in the .config file. If > genkernel doesn't give you a .config file - I've never used genkernel > so I don't know what it does - then assuming you have the feature > turned on you can get the running config using zcat /proc/config.gz. > Save that to a new .config file, put it in the kernel source directory > and you should be good to go. > You can also use zcat /proc/config.gz on the install CD kernel if yuo > boot from that. Save it to a disk and use it as the basis for creating > your own config. > HTH, > Mark That's what I am doing right now. I am using genkernel to have something to boot on. Then I will try to find a way to optimize another one. Thanks Francisco --20cf30563e93985a2a04aadb6e8c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Em 18/08/2011 23:27, Mark Knecht <markknecht@gmail.com> escreveu:
> On Thu, Aug 18, 2011 at 11:59 AM, =A0frares@gmail.com> wrote:
> > Hi, guys
> >
> > It is a shame, I know, b= ut after several years using Gentoo, it is the first
> > time I = try to build a kernel without "genkernel".
> >
&g= t; > 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-r= oot"); during the boot it stops,
> > complaining about that= , gives me the option to get a shell, from which I am
> > able t= o see that there is no /dev/sda* .
> >
> > I have inc= luded everything SATA, so it looks like that is not a kernel
> >= problem, but a initramfs issue, I guess.
> >
> > Wha= t am I missing?
> >
> > Thanks a lot
> > F= rancisco
> >
> > P.S.: my boot partition is sda2, sda= 3 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=3D/= dev/ram0
> > init=3D/linuxrc real_root=3D/dev/sda4 vga=3D0x318 v= ideo=3Duvesafb:1024x768-32
> > nodevfs udev devfs=3Dnomount quie= t CONSOLE=3D/dev/tty1
> > initrd /boot/initramfs-genkernel-x86_6= 4-2.6.39-gentoo-r3
>
> Maybe I'm missing the obvious h= ere but have you taken a copy of
> whatever config file was used/ge= nerated by genkernel and used that as
> a jumping off point for bui= lding your own kernel. kernel's a kernel's
> a kernel. What= it is capable of doing is in the .config file. If
> genkernel does= n't give you a .config file - I've never used genkernel
> s= o I don't know what it does - then assuming you have the feature
&= gt; turned on you can get the running config using zcat /proc/config.gz.> Save that to a new .config file, put it in the kernel source direct= ory
> and you should be good to go.
>
> You can al= so use zcat /proc/config.gz on the install CD kernel if yuo
> boot = from that. Save it to a disk and use it as the basis for creating
>= your own config.
>
> HTH,
> Mark
>
= >

That's what I am doing right now. I am using genkernel= to have something to boot on. Then I will try to find a way to optimize an= other one.

Thanks
Francisco --20cf30563e93985a2a04aadb6e8c--