And I heard Haralambos Geortgilakis exclaim: > spotted the above titled article & it seemed to me some of us & me might > find it of use, so here is the url.... > > http://www.osnews.com/printer.php?news_id=2949
I was very excited to see this link, but after scanning the article concluded that the word 'Debian' should have been left out of the title, as it doesn't describe The Debian Way, but a more-or-less generic way of compiling a kernel. Is my perception here correct? I was under the impression that The Debian Way was something like: # make sure you've got the bzip2 package; the comment in the # article confusing 'tar' and 'gzip' also confused me, BTW... apt-get install bzip2 # Get the make-kpkg program and friends... apt-get install kernel-package # set up the conf file to do packaged patches and run the config # after patching--if you're not going to use Debian-packaged # patches, you don't need the first line; if you want to run the # configure as a separate step, you can leave out the second. I # use these for building kernels with the openmosix patch, # although I don't know whether it's packaged for 2.4.20 yet # : ( ... echo "patch_the_kernel := YES" >> /etc/kernel-pkg.conf echo "config_target := xconfig" >> /etc/kernel-pkg.conf # get the kernel source... apt-get install kernel-source-2.4.20 # go to the source... cd /usr/src # unpack it; note that the 'j' flag un-bzips it... tar -xjvf kernel-source-2.4.20.tar.bz2 # into the unzip'ed, un-tar'ed source... cd kernel-source-2.4.20 # Make it! You'll be asked to configure it first--here's where # other documentation like that mentioned can help; another # helpful thing if you have a working Debian kernel image # already installed is to load the configuration for the # current kernel from within the /boot directory. You may want # to copy it to another location first, or when you 'Save and # Exit' I think it might overwrite it. make-kpkg kernel_image (Note that the above requires that root has access to your X display, because it uses 'xconfig'. Now, this is probably going to show you how clue-less I am, but one simple way I do this on occasion is by 'ssh -X [EMAIL PROTECTED]' to become root for the above; go ahead, tell me it's silly--I know : ). Anyway, like I have already implied, I'm no expert here--but I thought this was more along the Debian lines. -- Daniel Teichert [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]