-   Debian (
-   -   How to compile debian kernel source into a generic kernel? (

linus72 04-29-2010 09:16 PM

How to compile debian kernel source into a generic kernel?
Was wonderin how I would compile a kernel from source on a debian squeeze system?

I know how to manually compile a kernel in slackware
but it seems debian has a different procedure

So, I want to compile a "generic" or vanilla kernel
not a debian-specific kernel

Meaning, like if I compiled a certain kernel on my slack 13 setup and then
installed that kernel, headers, modules,etc into my debian setup it runs just fine

If I instead try to just use a debian kernel,etc for a slack setup it has kernel panic.

Why is this and How would I just compile a debian-source kernel?

I am just experimenting and the debian source comes prepatched with aufs, etc
and thats why I want to use it in slackware

any help appreciated

MS3FGX 04-29-2010 09:32 PM

I'm not sure I understand the question exactly. You wouldn't make a Debian kernel into a generic vanilla kernel, you would just get the vanilla sources and build with that. If you are looking to get some patched functionality in the Linux kernel under a different distribution (like Slackware), then you would apply the specific patches to the vanilla kernel and build it on that system (this will be easy on Slackware, since it has an unmodified kernel).

In other words, you can't have both a Debian-specific kernel and a generic kernel at the same time, they are two different things.

linus72 04-29-2010 09:41 PM


basically, I need a kernel of 2.6.32+ patched with aufs as (M)
whenever I manually do the patches,etc in slackware it doesnt work

Debians basic kernel comes prepatched with aufs,etc

So, I was figurin it would be easier to try building the source in debian or something

The Target is haveing a 2.6.32+ kernel patched with aufs thats like a slackware kernel in that it will run on other systems
or whatever.
Thats my only goal here, to have a aufs patched kernel.

MS3FGX 04-29-2010 09:50 PM

Then you would want to figure out why the aufs patches aren't working, not try to use a distribution-specific kernel on another completely different operating system.

If you haven't already, make another topic in the Kernel forum describing the issues you had getting the aufs patches working on the vanilla kernel; this certainly isn't a Debian issue.

All times are GMT -5. The time now is 11:05 AM.