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
  •  


USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack picture

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack

$826.09



Microsoft Office 2021 Pro Plus USB for 1PC Windows 10 & 11 picture

Microsoft Office 2021 Pro Plus USB for 1PC Windows 10 & 11

$62.55



MICRON MTA36ASF4G72PZ-2G6D1 32GB PC4-21300R DDR4-2666V RDIMM 2RX4 MEMORY DIMM picture

MICRON MTA36ASF4G72PZ-2G6D1 32GB PC4-21300R DDR4-2666V RDIMM 2RX4 MEMORY DIMM

$139.99



TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot picture

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot

$573.98



Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot picture

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot

$285.90



Samsung 64gb PC4-3200AA 2Rx4 DDR4 ECC LRDIMM Memory M393A8G40AB2-CWE - PARTS picture

Samsung 64gb PC4-3200AA 2Rx4 DDR4 ECC LRDIMM Memory M393A8G40AB2-CWE - PARTS

$1450.00



Samsung 32GB DDR4-2666V-2Rx4-RB2-12 RAM  M393A4K40CB2-CTD6Q picture

Samsung 32GB DDR4-2666V-2Rx4-RB2-12 RAM M393A4K40CB2-CTD6Q

$169.00



USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot picture

USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot

$3.75



1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot picture

1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot

$202.50



Wholesale 5/10/100PCS 1GB 2GB 4GB 8GB 16GB 32GB USB 2.0 Flash Drive Memory Stick picture

Wholesale 5/10/100PCS 1GB 2GB 4GB 8GB 16GB 32GB USB 2.0 Flash Drive Memory Stick

$289.80