[KLUG Members] kernel

Phillip Hofmeister plhofmei at antiochcomputerconsulting.com
Wed Jun 23 17:04:39 EDT 2004


On Wed, 23 Jun 2004 at 11:48:27AM -0400, Michael W. Holdeman wrote:
> This is what "I" do (this may or may not work for you and in fact may destroy 
> your system) (Disclaimer)!!
> 
> deleate the symlink /sur/src/linux
> then ln -s /usr/src/linux-<your new version>
> cd /usr/src/linux
> make menuconfig
> (do the config stuff you want)
> make
> make modules_install
> cp /arch/i386/boot/bzImage /boot/kernel-<your new kernel eg 2.6.6win4lin>
> cp System.map /boot/System.map
> then edit /boot/grub/grub.conf to add the new kernel
> 
> 
> I hope this helps, and as I said this is what I do, may or may not be right 
> way to do it. I know alot of people don't like the symlink in teh /usr/src 
> directory and compiling as root etc..., but it's never been a problem for me.

IF you run Debian, a wonderful tool called make-kpkg (comes in the
"kernel-package" package) does all this for you.  It compiles your
kernel into one nice .deb file (like RPMs but for Debian) which you just
simply install using the package manager dpkg.

When the package is installed it makes all the changes to the symlinks
and re-runs lilo or grub for you.

-- 
Phillip Hofmeister

PGP/GPG Key:
http://www.zionlth.org/~plhofmei/
wget -O - http://www.zionlth.org/~plhofmei/key.asc | gpg --import


More information about the Members mailing list