public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: frares@gmail.com
To: gentoo-user@lists.gentoo.org
Subject: Re: Re: [gentoo-user] /dev/sda* missing at boot
Date: Fri, 19 Aug 2011 13:08:56 +0000	[thread overview]
Message-ID: <20cf30563e93985a3b04aadb6e8f@google.com> (raw)
In-Reply-To: <CAK2H ed44eVYovNf_DT-N280dha6hYyONEUWogRrgsNDXAD1Vg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2190 bytes --]

Em 18/08/2011 23:27, Mark Knecht <markknecht@gmail.com> 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

[-- Attachment #2: Type: text/html, Size: 2727 bytes --]

       reply	other threads:[~2011-08-19 13:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAK2H ed44eVYovNf_DT-N280dha6hYyONEUWogRrgsNDXAD1Vg@mail.gmail.com>
2011-08-19 13:08 ` frares [this message]
2011-08-19 13:48 [gentoo-user] /dev/sda* missing at boot Alan McKinnon
2011-08-19 15:06 ` frares
  -- strict thread matches above, loose matches on Subject: below --
2011-08-19 10:09 Mick
2011-08-19 13:12 ` frares
2011-08-19 13:41   ` Gregory Woodbury
     [not found] <CA czFiDeW6L8aYBWkch4Fu TrkXVtdJc3y11U1UY2hMsq1HZdA@mail.gmail.com>
2011-08-18 19:17 ` frares
     [not found] <CALzub=p5PVSg=TO=n4iqXMcWZqP8K fJAEyNH43CQsf4Ncrshg@mail.gmail.com>
2011-08-18 19:15 ` frares

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20cf30563e93985a3b04aadb6e8f@google.com \
    --to=frares@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox