Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Compileing Kernel From Source
- Created by: Gingerbreadman
- 1.Prepareing the system
- First of all you may want to Sudo su your terminal before you begin
- download the latest kernel from kernel.org (make sure you download the kernel source not just a patch)
- open a terminal and sudo apt-get install build-essential kernel-package bin86 libqt3-headers libqt3-mt-dev libncurses5-dev fakeroot
- once the kernel source is downloaded move it to /usr/src and unpack it
- cd /usr/src
- 2. Prepareing the Kernel
- From your terminal cd to where you unpacked the kernel source (eg. cd /usr/src/linux-2.6.30)
- now we need to copy your current config just to make things easy cp /boot/config-`uname -r` .config
- 3.Now we are ready to open the config tool
- if you use kde make xconfig
- if you use gnome make gconfig
- if you dont use either make menuconfig
- configure the kernel any way you like :-) once your done save and exit the config tool
- 4. Compile the kernel
- Gets easier now make-kpkg clean
- fakeroot make-kpkg --initrd --append-to-version=-cookie kernel_image kernel_headers
- this will leave you with 2 debian packages your new kernel and kernel headers ( tho headers arnt always needed)
- 5. Install the Kernel
- dpkg -i both your 2 new deb packages
- check to make sure it updated grub correctly
- reboot and see if it works if not boot into your old kernel and try again
Add Comment
Please, Sign In to add comment