[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help with kernel compilation!
Same problem occured for me when i first compiled the kernel.
The problem is that the kernel size may be bigger than the RAM size .in my
case i compiled the kernel on a 16MB machine,the kernel image became very
large.now i tried to boot it hanged after saying "Loading kernel........."
now i tried the same kernel on a 128MB machine it booted perfectly.
solution to the problem may be solved by recompling the kernel with
MODULES rather than static compiling.
thanks
vamsi
On Wed, 8 Jan 2003, John Navil Joseph wrote:
> Hi,
>
> I was trying to compile the kernel 2.4.20 on a newly installed
> Redhat 8.0 system.
>
> The kernel and the modules was compiled successfully.
>
> But i was getting the following error when executing "make install"
>
> ........
> ........
> Setup is 2521 bytes.
> System is 964 kB
> warning: kernel is too big for standalone boot from floppy
> sh -x ./install.sh 2.4.20 bzImage /usr/src/linux-2.4.20/System.map ""
> + '[' -x /root/bin/installkernel ']'
> + '[' -x /sbin/installkernel ']'
> + exec /sbin/installkernel 2.4.20 bzImage /usr/src/linux-2.4.20/System.map ''
> grubby fatal error: unable to find a suitable template
> make[1]: Leaving directory `/usr/src/linux-2.4.20/arch/i386/boot'
> >
>
> However i managed to configure grub manually by adding the new image.
> But i couldn't boot with the new kernel.
>
> It hangs with "Loading kernel....."!
>
> Can anyone tell me what i am missing here..?
>
> TIA,
> john
>
>
>
--
-----BEGIN GEEK CODE BLOCK-----
Version: 1.2
GCS d+ H- s g+++ !p !au a21 w-- v--- C++ U+++ P++ L+++ !3 N--
E- W M- !VMS po+++ t-- !5 !j R- G? !tv b++++
-----END GEEK CODE BLOCK-----
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/