RE: recomiling the kernel

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

 



I've noticed that even if you compile in some of the features that are
needed at boot time like raid1, ext[23]fs, etc, that the kernel will not
load properly.  Are there some features you must have as modules?  I know
mkinitrd complains if I have raid built in instead of as a module.

N

-----Original Message-----
From: fedora-list-bounces@xxxxxxxxxx [mailto:fedora-list-bounces@xxxxxxxxxx]
On Behalf Of Daniel Ulfe
Sent: Thursday, July 08, 2004 2:27 PM
To: For users of Fedora Core releases
Subject: Re: recomiling the kernel


if your kernel has modules you must generate initrd file (mkinitrd) and add
line in gurb.conf



On Thu, 8 Jul 2004 15:30:09 -0300 (ART), Marcelo Manzato
<fed_usp@xxxxxxxxxxxx> wrote:
> Hi,
> 
> I recently tried to recompile the kernel on my FC2,
> but when I boot using the new one I get the following
> message:
> "kernel panic: no init found. Try..."
> I used the source from the FC2, and executed the
> following commands:
> # ln -s linux-2.... linux
> # cp /boot/config... /usr/src/linux/.config
> # make oldconfig
> # make
> # make modules_install
> # cp arch/i386/boot/bzImage /boot
> # vi /etc/grub.conf
> Here I let my grub.conf as the following:
> 
> default=0
> timeout=10
> splashimage=(hd0,0)/grub/splash.xpm.gz
> title Fedora Core (2.6.5-1.358)
>         root (hd0,0)
>         kernel /vmlinuz-2.6.5-1.358 ro root=LABEL=/
> rhgb quiet
>         initrd /initrd-2.6.5-1.358.img
> 
> title Fedora Core Modified
>         root (hd0,0)
>         kernel /bzImage ro root=LABEL=/ rhgb quiet
>         initrd /initrd-2.6.5-1.358.img
> 
> I also have tried to comment the line "initrd ..."
> from Fedora Core Modified section, but even I got the
> message "kernel panic: unable to mount root fs.."
> (something like this).
> What did I do wrong?
> 
> _______________________________________________________
> Yahoo! Mail agora com 100MB, anti-spam e antivírus grátis! 
> http://br.info.mail.yahoo.com/
> 
> 
> --
> 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