Kernel rebuild?
Hi
How can i rebuild a kernel? I have a working system with kernel ,but i did some changes in my kernel .config file and now i want to rebuild it. kernel 2.6.18 #ls /usr/src linux-2.6.18 Thanks. |
1: make xconfig
2: make dep bzImage modules modules_install 3: cp your created bzImage to the /boot/ directory 4: add your new kernel to your boot loader |
What distribution do you use? There might be a specific method for yours.
The generic is: *as user: cd linux-2.6.18 make oldconfig => this will take your running /boot/config-`uname -r` file as a reference. change your settings here (don't modify by hand the .config!!) make clean make *as root: make install Then update your /boot/grub/menu.lst to add a new section for your new kernel. Keep your old kernel and old kernel section in grub in case something goes wrong! ps: google is your friend also ;) |
All times are GMT -5. The time now is 09:51 PM. |