Results 1 to 3 of 3

Thread: kernel updating, is there something I'm missing?

  1. #1
    Member registered user
    Join Date
    Jul 2003
    Posts
    41

    kernel updating, is there something I'm missing?

    I tried updating my kernel to 2.6 test 9 one knoppix 3.3 (11-03-2003) using the following steps

    downloaded the 2.6 test 9 kernel from kernel.org

    extracted it in /usr/src to it's own directory

    created a simlink from /usr/src/linux -> /usr/src/linux-2.6.0-test9
    (baked up the existing simlink pointing to linux-2.4.2 to linux.bak)

    successfully ran make xconfig in /usr/src/linux-2.6.0-test9, and configed the options I wanted, saving the changes

    compiled the kernel by issuing the following command in /usr/src/linux-2.6.0-test9
    make-kpkg --revision=786:MyKernel2.6.0test9 kernel_image

    this did make a file in /usr/src called kernel-image-2.6.0-test9_MyKernel2.6.0test9_i386.deb

    I ran a dpkg -i on this file which seemed to work sucessfully as I got no errors and I did choose to add the boot block to my existing /etc/lilo conf.

    I rebooted only to find the old kernel was still being used (as uname-r returned 2.4.22-xfs)

    I decided to take a look at /etc/lilo.conf

    as I had suspected it looked like this

    default=Linux

    image=/boot/vmlinuz-2.4.22-xfs
    label=Linux
    initrd=/boot/initrd.gz
    read-only

    I checked /boot to make sure there was a vmlinuz-2.6.0-test9 and sure enough there was.

    so I edited /etc/lilo.conf to read as follows:

    default=Linux

    image=/boot/vmlinuz-2.6.0-test9
    label=Linux
    initrd=/boot/initrd.gz
    read-onl

    rebooted my computer and both /var/log/dmesg and uname -r still say I'm using the 2.4.22-xfs kernel.

    Is there something glaringly obvious that I'm missing here that I should have done?

  2. #2
    Member registered user
    Join Date
    Mar 2003
    Location
    Berlin, Germany
    Posts
    94
    Hi Hayabusa,

    ...
    so I edited /etc/lilo.conf to read as follows:

    default=Linux

    image=/boot/vmlinuz-2.6.0-test9
    label=Linux
    initrd=/boot/initrd.gz
    read-onl

    rebooted my computer and both /var/log/dmesg and uname -r still say I'm using the 2.4.22-xfs kernel.

    Is there something glaringly obvious that I'm missing here that I should have done?
    Did you run /sbin/lilo after you edited lilo.conf?

    Ciao Martin

  3. #3
    Member registered user
    Join Date
    Jul 2003
    Posts
    41
    worked like a charm. Now I can switch back and forth between kernels at my discretion, thanks.

    now if i could get my scroll button on my mouse working and vmware working under the new kernel I'd stick with it

Similar Threads

  1. Kernel missing from HD install?
    By riscbroker in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 06-25-2005, 08:49 PM
  2. Updating kernel
    By Killerah in forum General Support
    Replies: 3
    Last Post: 06-12-2005, 06:00 PM
  3. Questions about updating kernel from 2.4 to 2.6
    By Trace Green in forum Customising & Remastering
    Replies: 0
    Last Post: 05-17-2005, 03:19 AM
  4. 3.7 2.4.27 kernel regeneration fails -- what am I missing
    By BillS in forum Customising & Remastering
    Replies: 0
    Last Post: 12-20-2004, 05:04 PM
  5. KErnel Upgrade = missing devices?
    By katsushiro in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 11-17-2003, 05:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM picture

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM

$1499.00



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Dell PowerEdge R240 Intel Xeon E-2224 3.50GHz 8GB DDR4 ECC NO HDD 250W picture

Dell PowerEdge R240 Intel Xeon E-2224 3.50GHz 8GB DDR4 ECC NO HDD 250W

$285.97



867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001 picture

867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001

$245.00



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W

$409.99



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD

$378.93



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W

$524.99



Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO picture

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO

$488.00



Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD picture

Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD

$99.99



Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM picture

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM

$699.00