How to compile debian kernel source into a generic kernel?
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.