compiled kernel - modules mess (was:kernel doesn't compile?)

Emiliano Brunetti emiliano_brunetti at idg.it
Fri Jan 23 13:09:31 UTC 2004


On Fri, 2004-01-23 at 12:05, Andre Costa wrote:
> On Fri, 23 Jan 2004 09:59:36 +0100
> Emiliano Brunetti <emiliano_brunetti at idg.it> wrote:
> 
> > On Thu, 2004-01-22 at 13:19, Matt H. wrote:
> > > On Thu, 22 Jan 2004 12:45:11 +0100, Emiliano Brunetti wrote:
> > >  
> > > > - at first boot my new kernel got panic - it wouldn't recnogize
> > > > boot option root=LABEL=/ in grub.conf. A simple change into
> > > > root=/dev/myhd solved. Any hints on how to restore it to
> > > > root=LABEL=/?
> > > 
> > > You need to build a new initrd image for that custom kernel and add
> > > it to your grub conf.
> > > See this for some helpful kernel related info:
> > > http://www.linux.org.uk/%7Edavej/docs/fedora-kernel-faq.txt
> > 
> > I had a look at that page but didn't find much unfortunately. I'll
> > read better later.
> > 
> > However, reading logs of kernel compilation i realized that it
> > actually faild to build a correct initrd image. I used to think it was
> > automatically generated, but seems that it can't find proper location
> > of modules.
> > 
> > I don't know how to continue now, and man mkinitrd didn't help much.
> > 
> > Can somebody explain to me how to do it? Or even point me to more
> > how-to style information?
> 
> Did you check my msg about enabling RAM disk support? Your probl could
> be not related to initrd after all.

Yes i checked. The problem is not limited to LABEL support however. I 
can see from compile time logs that 'make install' fails when trying
to generate a correct initrd. 

And i have no idea of how to fix it manually. man mkinitrd didn't help
much either.

Maybe there are also some more problems, but indeed the initrd image
is not generated correctly.

Could you explain me how to do it manually or link to me some useful 
docs?

Thanks

E





More information about the fedora-list mailing list