Rebuild kernel so complicated?

Razvan Ghitulete razvan.ghitulete at gmail.com
Thu Mar 13 20:14:50 EDT 2014


On 12/07/2013 12:57 PM, ??? wrote:
> AFAIK, rebuild the kernel should follow those steps at least:
>
>   * /copy /boot/system-$(uname -r).map to ${kernel_src}/
>   * /copy /boot/config-$(uname -r) to ${kernel_src}/
>   * /cd ${kernel_src}/
>   * /make menuconfig/, save config(If I don't wanna change anything
>     for test).
>   * /make -j9 bzImage./
>   * /override /boot/vmlinuz-$(uname -r) with
>     ${kernel_src}/arch/x86/boot/bzImage/
>
I might be in the wrong...but why are you copying your running kernel 
system.map to the src dir? AFAIK the system.map is generated during the 
build process. Also you should consider building the modules and 
installing them. Most probably your distro modules will have some 
problems with a custom built kernel(even though you have the same config).


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140314/caad0ed1/attachment.html 


More information about the Kernelnewbies mailing list