Thanks Advanced!
BTW genkernel is a Gentoo autokernel script.
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Is there anything like GENKERNEL for debian?
Genkernel just does what the Debian kernel maintaners have already done. Configure a kernel that will recognice most hardware, so you don't need genkernel.
It may be that Debian has some other tool to assist in making a kernel, but If you want to make your own kernel why not just dive in and configure it your self. It's not that hard if you know what hardware you have.
It may be that Debian has some other tool to assist in making a kernel, but If you want to make your own kernel why not just dive in and configure it your self. It's not that hard if you know what hardware you have.
So, another Gentooist . Hello!
1) In case of creating a custom kernel, you have to do as follows:
... if you want to use Debian-provided kernel, of course (the above one is heavily patched and generally known to work).
Of course, you can try another kernel as you like.
2) Then do:
This is the nearest tool to genkernel, I think.
3) Then you should go to /usr/src and create a proper linux symlink to the kernel of your choice.
But first, if you installed Debian's kernel, you must unpack it:
Then the symlink:
4) Configure your kernel (you may also wish to copy .config file before):
5) And the most interesting part:
As you can see, there is a --revision option. You can also use the --append-to-revision option (like: --append-to-revision=20050504). But use only dots! Hyphens ('-' characters) are parsed by Debian installation tools so don't fool them!
6) The above will produce a Debian package, which can be installed alongside Debian-provided kernel, without any conflicts. After compilation, you should find a package ready to install in /usr/src:
Installation:
What's interesting, lilo/grub configuration will be automatically updated to reflect the fact that a new kernel has been installed.
Recommended reading:
* Preliminary Sarge Installation Manual, 8.5. Compiling a New Kernel
* Creating custom kernels with Debian's kernel-package system
1) In case of creating a custom kernel, you have to do as follows:
Code: Select all
# apt-get install kernel-tree-2.6.8
Of course, you can try another kernel as you like.
2) Then do:
Code: Select all
# apt-get install kernel-package
3) Then you should go to /usr/src and create a proper linux symlink to the kernel of your choice.
But first, if you installed Debian's kernel, you must unpack it:
Code: Select all
# cd /usr/src
# tar -xvjf kernel-source-2.6.8.tar.bz2
Code: Select all
# cd /usr/src
# rm -f linux
# ln -s kernel-source-2.6.8 linux
Code: Select all
# make menuconfig
Code: Select all
# cd /usr/src/linux
# fakeroot make-kpkg --revision=custom.1.01 kernel_image
6) The above will produce a Debian package, which can be installed alongside Debian-provided kernel, without any conflicts. After compilation, you should find a package ready to install in /usr/src:
Code: Select all
# cd /usr/src
# ls *.deb
kernel-image-2.6.8-i586_custom.1.01_i386.deb
Code: Select all
dpkg -i kernel-image-2.6.8-i586_custom.1.01_i386.deb
Recommended reading:
* Preliminary Sarge Installation Manual, 8.5. Compiling a New Kernel
* Creating custom kernels with Debian's kernel-package system
Experience shows that you can never have enough experience.
If someone solves a problem for you, say thanks... and put [SOLVED] in the title!
If someone solves a problem for you, say thanks... and put [SOLVED] in the title!