Quoting Lee Chapelle (email@example.com):
> From: aphro <firstname.lastname@example.org>
> > cd to /usr/src
> > and run this:
> > wget http://metalab.unc.edu/pub/Linux/kernel/v2.3/linux-2.3.41.tar.gz
> that's cool!
> > mv linux linux-OLD
> no such directory or file <SPLAT>
It's no longer normal to unpack the kernel source in /usr/src,
and one wouldn't except there to be a linux symlink to be renamed
if you hadn't already unpacked one there, say, from hamm or previous.
If you download kernel-package and fakeroot, you can unpack the
source anywhere and then, at top level in the source,
> > make menuconfig
> > (configure the kernel to your liking)
fakeroot /usr/sbin/make-kpkg clean
fakeroot /usr/sbin/make-kpkg --revision=foo.1 kernel_image
something more meaningful --------
You'll be left with a package called /kernel-image-2.3.41_foo.1_i386.deb
in the directory above you (i.e. in ..) which you can then install
like any .deb file.
Email: email@example.com Tel: +44 1908 653 739 Fax: +44 1908 655 151
Snail: David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer: These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.