Kernel compile error: System is too big for standalone boot from floppy...
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: 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: *** [zImage] Error 1
make: Leaving directory `usr/src/linux-2.4.8/arch/i386/boot'
make: *** [zImage] Error 2
What should i do?
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.
|All times are GMT -5. The time now is 09:52 AM.|