roadapathy

Upstream Kernel Compiling

Jul 30th, 2011
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.57 KB | None | 0 0
  1. apt-get install fakeroot kernel-wedge build-essential makedumpfile kernel-package libncurses5 libncurses5-dev make-kpkg wget bzip2
  2.  
  3.  
  4. make mrproper
  5. cp -vi /boot/config-'uname -r' .config  (Find a working config and copy it over!)
  6. make oldconfig   (I forget the syntax. This might be wrong....)
  7. make menuconfig    (Customize it boyeeeee!)
  8. make localmodconfig   (Plug in all of your USB and misc devices so that the modules will load. Then run this)
  9. CONCURRENCY_LEVEL=`getconf _NPROCESSORS_ONLN` make-kpkg --initrd --append-to-version=-joels38utv1 kernel_image kernel_headers
Add Comment
Please, Sign In to add comment