PDA

View Full Version : Newbies question about recompiling kernel


aakk
5th November 2005, 16:12
OK I compiled my first kernel using Falko's guide, it was OK.

Now I have to recompile my existing kernel (2.6.14) and I'm wandering whitch commands to execute after 'make menuconfig', changing device drivers etc and exiting 'Linux Kernel Configuration'?
I use Sarge.
Thanks

falko
5th November 2005, 16:30
http://www.howtoforge.com/forums/showthread.php?t=21

aakk
5th November 2005, 16:50
It's same kernel version, I just want to change sound configuration (new sound adapter).
Do I need to start with 'fakeroot....' after changing configuration?

falko
5th November 2005, 17:53
You have to start with make clean and then make menuconfig

aakk
5th November 2005, 18:28
Yes I know that but I'm not sure after that and changing configuration.
Should I run:

make-kpkg clean
fakeroot make-kpkg --initrd --revision=custom.1.0 kernel_image

dpkg -i kernel-image-2.6.11.7_custom.1.x_i386.deb

or somethin else?

falko
5th November 2005, 18:51
make-kpkg clean
fakeroot make-kpkg --initrd --revision=custom.1.1 kernel_image
cd ../
dpkg -i kernel-image-2.6.11.7_custom.1.1_i386.deb

So you increase the revision number. It's not necessary, but makes sense. :)

aakk
5th November 2005, 19:00
OK, thaught so. Thank You VEEERY much.
I tried to configure my Creative SB Live 24 but nothinh happened.
I'll try again. Have you suggestions?

falko
5th November 2005, 21:38
Not really...