Recompile kernel

Are there instructions on recompiling the kernel? The distribution came with the optimized for desktop kernel and I would like to know what options were used for this so that I can more/less duplicate. The reason I am asking is because I am trying to install some software and it is telling me that the source I have does not match my kernel, which is not possible since I installed the source with the optimized kernel. So, I am hoping a recompile will straighten some of this nonsense out.

Does that make some kind of sense?

Thanks,

Craigbert

Yast > Software > Software Management
Please make sure you have installed the ‘base-development’ pattern
http://dl.dropbox.com/u/10573557/Add%20Patterns/add-pattern-base-devel.jpeg
That is a kde UI
If you use gnome it looks a little different

Then run Yast > Software > Online Update

You may also need this package: linux-glibc-devel

Are there instructions on recompiling the kernel? The distribution came with the optimized for desktop kernel and I would like to know what options were used for this so that I can more/less duplicate. The reason I am asking is because I am trying to install some software and it is telling me that the source I have does not match my kernel, which is not possible since I installed the source with the optimized kernel. So, I am hoping a recompile will straighten some of this nonsense out.

Does that make some kind of sense?

Thanks,

Craigbert
I might also add that a bash script exits that can help you compile a kernel which can be found here in message #62 of the following message thread:

S.A.K.C. - SUSE Automated Kernel Compiler - Version 2.00

Thank You,

An alternative is to install the kernel development pattern (it may install
more than the OP needs).


PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.3 | GeForce
9600 GT | 4GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.0 | nVidia
ION | 3GB Ram

On 2011-05-21 20:06, craigbert wrote:
>
> Are there instructions on recompiling the kernel?

/usr/src/linux/README.SUSE

> The distribution came
> with the optimized for desktop kernel and I would like to know what
> options were used for this so that I can more/less duplicate.

/proc/config.gz

and somewhere I don’t remember.

> The
> reason I am asking is because I am trying to install some software and
> it is telling me that the source I have does not match my kernel, which
> is not possible since I installed the source with the optimized kernel.

Do:


cd /usr/src/linux
make cloneconfig && make scripts && make prepare

Then your sources will match the running kernel.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)

Compiling kernel in openSUSE – easy way | Beli’s blog