LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 04-29-2010, 09:16 PM   #1
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,084

Rep: Reputation: 336Reputation: 336Reputation: 336Reputation: 336
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
thanks
 
Old 04-29-2010, 09:32 PM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
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.
 
Old 04-29-2010, 09:41 PM   #3
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,084

Original Poster
Rep: Reputation: 336Reputation: 336Reputation: 336Reputation: 336
OK

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.
 
Old 04-29-2010, 09:50 PM   #4
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
slack 12, switch to generic kernel from huge kernel, using grub? jaguarrh Slackware 8 09-19-2007 07:29 AM
Why can't I compile this kernel module? (kernel: 2.6.8-powerpc Debian sarge) Lannix Linux - Hardware 5 05-01-2007 01:29 PM
Configure kernel source for standard debian kernel (module install) twinkers Debian 2 12-22-2005 12:19 PM
compile a kernel from source??? vbtalent Fedora 5 11-22-2005 04:29 PM
Kernel-source, alsa-driver and kernel compile jasone Linux - General 13 05-26-2005 01:15 AM


All times are GMT -5. The time now is 03:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration