Browse by category

Search    |    Advanced search

I rebuilt my Kernel and it is so big in size (over 10MB). Why?

It is likely that you compiled your kernel in debug mode. Kernels built in debug mode contain many symbols that are used for debugging, thus greatly increasing the size of the kernel.

If you don't want to run a debug Kernel, make sure that both of the following are true:
  1. You do not have a line in your kernel configuration file that reads: makeoptions DEBUG=-g
  2. You are not running config with the -g option.

Either of the above settings will cause your kernel to be built in debug mode. As long as you make sure you follow the steps above, you can build your kernel normally, and you should notice a fairly large size decrease; most kernels tend to be around 1.5MB to 2MB.

Add comment
Views: 979
Votes: 0
Comments: 0

Other articles in this Category