Monday 11 July 2011

7 steps to configure your kernel manually

1. Download the latest kernel source package from the website kernel.org.
2. extract the package
3. Use the following command list

make mrproper
make LANG=LC_ALL LC_ALL=menuconfig

( during the config don't manually select modules till your not 100 percent sure of Wt ur doing . Instead u could use the config file of previous kernel from the boot folder and load it)

make
make modules_install
cp -v arch/x86/boot/bzImage /boot/linuxconfig (if arch is 32bit)

cp -v System.map /boot/System.map
cp -v .config /boot/config

4. Delete the source files
5. Update grub (verify whether the grub finds two kernel files )
6. Restart the system
7. If the new kernel works properly delete the previous kernel files from etc , bin , usr folders and update grub again

No comments:

Post a Comment