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
  •  


Western Digital 1TB Caviar WD1002FBYS Enterprise SATA Hard Disk Drives picture

Western Digital 1TB Caviar WD1002FBYS Enterprise SATA Hard Disk Drives

$24.99



832514-B21 HPE 1TB SAS 12Gb/s 7.2K SFF SC HDD 832984-001 picture

832514-B21 HPE 1TB SAS 12Gb/s 7.2K SFF SC HDD 832984-001

$129.00



WD_BLACK 1TB D30 Game Drive SSD for Xbox Summer Collection - WDBAMF0010BSU-WESN picture

WD_BLACK 1TB D30 Game Drive SSD for Xbox Summer Collection - WDBAMF0010BSU-WESN

$109.99



Western Digital 1TB WD Blue SA510 SATA SSD Internal 2.5”/7mm Cased - WDS100T3B0A picture

Western Digital 1TB WD Blue SA510 SATA SSD Internal 2.5”/7mm Cased - WDS100T3B0A

$89.99



2 PACK  Seagate ST1000LM035 Mobile HDD 1TB 2.5

2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive

$27.49



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$19.99



Samsung - Geek Squad Certified Refurbished 870 EVO 1TB SATA Solid State Drive picture

Samsung - Geek Squad Certified Refurbished 870 EVO 1TB SATA Solid State Drive

$67.99



Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot picture

Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot

$13.99



1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot picture

1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot

$80.39



Apple 1TB Solid State Drive for Apple MacBook Pro picture

Apple 1TB Solid State Drive for Apple MacBook Pro

$80.00