not necessary since kernel-source depends on bzip2 it will be brought it automatically when you install the kernel source# 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 # get the kernel source... apt-get install kernel-source-2.4.20
From this point on you shouldn't be root, add yourself to the group 'src' instead.['adduser <yourself> src' as root, you'll have to restart your shell for this to take effect, the easiest way is to just start a new subshell with 'bash' or similar.]
# 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-kpkg kernel_image
You need to use fakeroot for this step since you shouldn't be doing this as root. I typically use 'fakeroot make-kpkg --append-to-version blah --initrd kernel_image kernel_headers modules_image'. The append-to-version option makes it possible to install two kernels from the same tree simultaneously.
(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 : ).
It is not a silly way to become root, it is just silly to become root. :)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]