Re: custom built kernel fails to mount root fs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2002-11-14 at 03:08, Marko Asplund wrote:
> 
> i'm having a strange problem trying to boot a custom built 2.4.19 kernel
> on a Psyche system. the Red Hat 2.4.18-17.8.0smp kernel works fine on this
> system but a custom built kernel fails to mount root device during boot.
[snip]
what was the order of make commands you used to make the kernel?  eg
(from the /usr/src/linux-<version> directory) you commands should look
something like this

 make mrproper

create a .config file either by
 make xconfig
or
 cp configs/kernel-<blah>.config ./.config;
edit it and then
 make oldconfig

 make dep
 make bzImage
 make modules
 make modules_install
and finally
 mkinitrd
may be necessary.  Remember also that the root(hdx,y) directive in grub
specifies you /boot partition and the other commands are relative to
there, so you don't need to append /boot to them all, and grub counts
from 0, not 1.  The root=/dev/blah option you pass to the kernel is in
normal /dev/hda2 form.  It may be easier to label the volume as '/' and
then just say root=LABEL=/

Having said all this I know nothing about LVMs and you may know
everything I've said already :)
Hope this helps,
-- 
Iain Buchanan <iain@nospam.pcorp.com.au>
Can anyone remember when the times were not hard, and money not scarce?

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux