Re: Rebuild kernel so complicated?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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).


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux