Debian method of kernel compiles

GL

Diamond Member
Oct 9, 1999
4,547
0
0
I've just slapped Debian onto an old server I'm experimenting with. I've got a lot of Linux experience with Slackware, SuSE and RedHat but this is my first venture into Debian land. It appears they have a custom method of installing kernels through apt-get but I'm not familiar with it.

I'll be using user-mode-linux so I'd like to get a stock Debian kernel, apply the kernel-patch-uml .deb and then install that kernel. Can somebody walk me through the process of how I would apply these kernel-patch .debs to the regular kernel? Thanks in advance. I know I could just do this the traditional way, but I'd like to stick to using packages 100% throughout the system.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
There's docs on Debian's site that explain it, I personally don't use make-kpkg though.
 

bluebear

Junior Member
Jul 7, 2003
1
0
0
There is a good document - The Very Verbose Guide to Updating and Compiling Your Debian Kernel.
Link http://www.osnews.com/story.php?news_id=2949. I have used both this method and the old standby: make menu config, then
make dep && make clean bzImage modules modules_install both work well for debian.

Hope it helps
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
Agreed, the "normal" kernel installation method works fine on debian, I have always used it, to no ill effect.
 

Panther505

Senior member
Oct 5, 2000
560
0
0
DOH! right to the top after I asked the same thing in my thread ....

I am a LOSER!

Must follow BBWF around more often..... (Hmmmmm ... does that qualify as a forum stalker?)
 

cleverhandle

Diamond Member
Dec 17, 2001
3,566
3
81
There's already a patch for UML in the package system - kernel-patch-uml. Also, something similar sounding (virtual private servers) called kernel-patch-ctx. So all you need to do is figure out how to tell make-kpkg to make use of those. Probably an environment variable or command-line flag. I'm sure the make-kpkg man page will get you rolling. If you haven't already, I'd do a test make-kpkg run without the patches - make-kpkg is pretty simple, but there's no reason to complicate things at the outset.