Re: trouble loading self compiled vanilla kernel

From: Vadim Lobanov
Date: Mon Jan 08 2007 - 13:12:28 EST


On Mon, 2007-01-08 at 16:52 +0100, Jonas Svensson wrote:
> On Mon, 8 Jan 2007, Tilman Schmidt wrote:
>
> > Jonas Svensson schrieb:
> > > I beleive make install does that in CentOS. There were a new initrd
> > > installed and it was not identical to the one supplied by CentOS.
> >
> > That's surprising. On SuSE I always have to build it separately
> > with mkinitrd, and the kernel makefiles are the same, after all.
> > Anyway, your symptoms definitely look like a bad initrd, so you
> > may want to have a closer look in that area. Perhaps build a
> > kernel you can boot without initrd for testing, ie. with the
> > drivers for the root disk and filesystem built in.
>
> I will try it again, maybe I missed something. I will also try to read
> more on initrd and see if I am wrong to assume that make install does it
> for me.

In my experience on openSUSE, the following sequence of commands
installs both the kernel and the initrd:
make *config*
make
make modules_install
make install
However, if the order of the last two make invocations is switched, then
the initrd does not get generated (correctly or at all). Although
unlikely to be the problem, it's a simple thing to eliminate from the
list of possible borkages.

-- Vadim Lobanov


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/