praka123
left this forum longback
How to custom kernel .deb
you are doing the wrong way boy!.that method is good for distros like fedora/suse.
remember 2.6.25 kernel faces problem with nvidia driver though latest driver 173.x does support .25 but without xen support.
I dont like "sudo" .so for the next steps ,I assume you are on a root terminal with "#" prompt generally.
In ubuntu, you do this to get root terminal :
I will brief my tutorial here:
1.
with internet ON
2.
3.extract kernel source in .tar.bz2 format into /usr/src/ directory (in terminal use "tar -jxvf linux.tar.bz2)
4.change into /usr/src/linux-2.6.25 from terminal using :
5.now,
6.
7. now we have to customize :-
8.press exit once you finishes.
9.now
10. run :
Once the compilation is successfully finished ,the kernel .deb will be available in /usr/src directory.
there are some optimization using gcc for saving time like giving makeopts=-j3 for a normal SMP processor.that you can google I suppose.
best of Luck.
regarding kernel compile.this is the link with pictures:
*www.howtoforge.com/kernel_compilation_debian_p2
but you may not like to follow it as it is!
you are doing the wrong way boy!.that method is good for distros like fedora/suse.
remember 2.6.25 kernel faces problem with nvidia driver though latest driver 173.x does support .25 but without xen support.
I dont like "sudo" .so for the next steps ,I assume you are on a root terminal with "#" prompt generally.
In ubuntu, you do this to get root terminal :
Code:
sudo su -
I will brief my tutorial here:
1.
Code:
apt-get update && apt-get upgrade
2.
Code:
apt-get install build-essential kernel-package libc6-i686 initramfs-tools libncurses5-dev
3.extract kernel source in .tar.bz2 format into /usr/src/ directory (in terminal use "tar -jxvf linux.tar.bz2)
4.change into /usr/src/linux-2.6.25 from terminal using :
Code:
cd /usr/src/linux-2.6.25
5.now,
Code:
make clean && make mrproper
6.
Code:
cp /boot/config-`uname -r` /usr/src/.config
7. now we have to customize :-
Code:
make menuconfig
8.press exit once you finishes.
9.now
Code:
make-kpkg clean
10. run :
Code:
make-kpkg --initrd --append-to-version=-gary-kernel kernel_headers kernel_image
Once the compilation is successfully finished ,the kernel .deb will be available in /usr/src directory.
there are some optimization using gcc for saving time like giving makeopts=-j3 for a normal SMP processor.that you can google I suppose.
best of Luck.
regarding kernel compile.this is the link with pictures:
*www.howtoforge.com/kernel_compilation_debian_p2
but you may not like to follow it as it is!