LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Kernel compile error: System is too big for standalone boot from floppy... (http://www.linuxquestions.org/questions/linux-general-1/kernel-compile-error-system-is-too-big-for-standalone-boot-from-floppy-15900/)

nutshell 03-09-2002 07:55 AM

Kernel compile error: System is too big for standalone boot from floppy...
 
Hi,

I was compiling my kernel. I used the 'make bzImage' command and at the end it says the following:

warning: kernel is too big for standalone boot from floppy
make[1]: Leaving directory `/usr/src/linux-2.4.8/arch/i386/boot'

I also tried the 'make zImage' command with no success. IT says the at end:

System is 1069 KB
System is too big. Try using bzImage or modules.
make[1]: *** [zImage] Error 1
make[1]: Leaving directory `usr/src/linux-2.4.8/arch/i386/boot'
make: *** [zImage] Error 2

What should i do?

thnx

Mara 03-09-2002 10:11 AM

Make it smaller! 1MB for a floppy kernel - it's enormous!
What you can do?
Do you really need everything you've put inside your kernel? I think not. Leave only what neccessary. Or you can make it modular. It will make your boot disk more complicated, but is much better than BIG kernel. Move everything what's not needed at boot (ELF support, floppy support, etc) to modules. Then copy them to /lib/modules/kernel_version on your root basesystem for floppy (may not be on the sam one).
My floppy kernel is ~300KB with network support. And I have it all with all utilities on one floppy.
Good luck
Mara


All times are GMT -5. The time now is 09:13 AM.