[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Kernel Upgrade?

On 01/30/2005 05:44 pm, Steve Turnbull wrote:

> Install 'quick steps' (as root), make sure you have mkinitrd tools
> installed, and if you want to use your Knoppix config, find it and put it
> in /tmp. I would suggest you don't use this as it compiles modules for all
> sorts you probably don't need. A better solution would be to use the config
> when you first installed Debian, which is in /boot/config-x.xx.xx. Also,
> this assumes a 2.6 kernel;
> cd /usr/src
> tar xjvf kernel-source-2.6.xx
> ln -s kernel-source-2.6.xx linux
> cd linux
> make mrproper
> cp /boot/config-2.xx.xx .config (or your knoppix one?)
> make menuconfig (add/delete modules etc then save & exit)
> make
> make modules_install
> cd /boot
> cp /usr/src/linux/arch/i386/boot/bzImage linuz-2.6.xx
> cp /usr/src/linuz/System.map System.map-2.6.xx
> The 'make modules_install' will place your modules into /lib/modules/2.6.xx
> mkinitrd -o initrd.img-2.6.xx 2.6.xx
> Note the space before the last '2.6.xx'. This is looking at
> the /lib/modules/2.6.xx dir created earlier

This can also be done the Debian way using kernel-package (the make-kpkg 
command).  One advantage is that it updates GRUB for you if you are using 
GRUB.  There is an explanation of how to do this at:




sp@mtr@p: croak@shadypond.com

Reply to: