Re: problem booting compiled kernel

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

 



Please edit /boot/grub/menu.lst and replace the entry

  root=LABEL=/

with 

  root=/dev/hdaX   ( X with the real partition number of your installation )

of your compiled kernel entry. It will boot without panicing, when
it tries to mount the root partition.

Cheers,

-Horen

On Tue, Jul 20, 2004 at 02:14:33PM +0200, Sylvain Raybaud wrote:
> I have had about the same problem trying to boot a recompiled version of my native fedora core 2 kernel 2.6.5-1.358;
> basically, you should make sure you have included in the kernel any tool necessary to mount ext (ext2 ou 3, I don't remember) filesystem, and swap too, but NOT AS MODULE (really built in).  But I think that's what I did, and my own custom kernel still panic when trying to mount the root filesystem.
> I think I also heard somewhere that kernel whith an odd number (2.5 is odd, 2.6 isn't) are prereleases while kernel whith an even number are stable releases.  It could the reason why your kernel won't boot, it is bogus, but I don't remember where I heard that so maybe I just dreamed it ;).
> please let me know if you succed in booting this kernel.
> Sylvain
> PS : I thought Fedora Core 2 was provided with 2.6 kernel, so why do you want to use the 2.5 one ?
> 
> >Hi there,
> >i compiled a 2.5.7 kernel and am trying to boot it.
> >I have fedora 2 with /dev/hda2 as root partition (just mentioning in case if 
> >this helps)
> >
> >I compiled the kernel and installed it with initrd images and grub entries.
> >It is giving an error message:
> >
> >"Kernel panic: VFS: Unable to mount root fs on 00:00"
> >
> >I have read most of the mailing lists given by google.
> >But I am not able to solve the problem.
> >When fedora 2 is able to mount the /dev/hda2 partition, why not a 2.5.7 
> >kernel?
> >I have compiled the kernel with all necessary options set.
> >please help me out.
> >
> >Thanks.
> >
> >
> >-- 
> >Regards,
> >B.Nagaprabhanjan.
> >Mobile No: 9892163849
> >http://www.it.iitb.ac.in/~nagaprabhanjan/
> >
> >
> >-- 
> >fedora-list mailing list
> >fedora-list@xxxxxxxxxx
> >To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
> >
> 
> 
> -- 
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux