Re: Kernel Upgrade?

From: Pollywog (linux-debian_at_shadypond.com)
Date: 01/30/05

  • Next message: Steve Turnbull: "Re: Kernel Upgrade?"
    To: debian-user@lists.debian.org
    Date: Sun, 30 Jan 2005 19:14:18 +0000
    
    

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

    -----------</cut>-----------------------------
    >
    > 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:

    http://www.debian.org/doc/manuals/reference/ch-kernel.en.html

    -- 
    8)
    sp@mtr@p: croak@shadypond.com
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Steve Turnbull: "Re: Kernel Upgrade?"