Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Oh God! What've I done! (kernel update)

    I just installed Ubuntu and wanted to upgrade the kernel so I followed the handy How To in the Ubuntu Forums howto section. It was working great, me not knowing what I was doing, but following the code command for command. However, upon reaching the command "sudo tar --bzip2 -xvf linux-2.6.12.tar.bz2" it came to my attention that I only had "linux-source-2.6.10.tar.bz2" instead of stopping there like I should have, I pressed on and finished the guide out still not knowing what I was doing. Will this destroy my operating system in any way? Is there any way to fix it? How do I really go about updating the kernel? Thanks

  2. #2
    how about reinstalling linux

  3. #3


    It still works fine as near as I can see. My question would have to be now, how do I really update the kernel?

  4. $spacer_open
  5. #4
    Linux Guru Cabhan's Avatar
    Join Date
    Jan 2005
    Seattle, WA, USA
    Okie dokie:

    What you did was download the 2.6.10 sources. That's fine; it's still a valid Linux kernel. If you had been using an earlier version, then you have, in fact, updated the kernel. Congrats!

    An uber-simplified kernel-update thingie:

    1) Download the sources
    2) Unzip them into the /usr/src/ directory (under a new subdirectory)
    3) Go into the new directory
    4) Run one of the following commands:
    make config     <-- Not Recommended
    make menuconfig <-- Recommended
    make xconfig    <-- Somewhat Recommended, But Fugly
    5) Set options! In menuconfig, highlight an option and press "?" to see help for the option. Do not skip over ANYTHING. Most help pages will include a recommendation if you don't know what it does.
    5a) Press "y" to compile something into the kernel
    5b) Press "m" to compile it as a module that can be added / removed at will
    5c) Press "n" to not compile something at all
    6) Once everything is done, save your configuration
    7) Run the following command:
    make install
    7a) If you use LILO, then when it asks if it should re-install LILO, tell it yes
    8) Edit your bootloader's config to make sure it will boot the new kernel image (usually /boot/vmlinuz). No, "vmlinuz" is not a typo.

    That is a majorly simplified version.

  6. #5


    I'll poke around elsewhere too so that I don't screw anything up.

  7. #6
    Linux Guru bryansmith's Avatar
    Join Date
    Nov 2004
    Looking for a distro? Look here.
    "There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
    Queen's University - Arts and Science 2008 (Sociology)
    Registered Linux User #386147.

  8. #7
    Join Date
    Nov 2004
    Why do you need it ?
    If you're just looking for a kernel that's build for your particular cpu(i386, i686, k7) simply do:
    sudo apt-get install linux-686
    (for pentium or better)

    sudo apt-get install linux-k7
    (for AMD)

    If you would start from source, I highly recommend building a deb package from your image.

  9. #8

    Looking For

    What I need is a kernel that is specifically built for the Pentium M processor. Additionally, I hear the new 2.6..x.x kernel has support for my touchpad. It's odd, but I almost can't stand the fact that I can't use the scroll part of my touchpad. I hear also it's a good idea to update the kernel from time to time.

  10. #9
    Linux Enthusiast
    Join Date
    Jun 2005
    The Hot Humid South
    If you have a 2.6.10 kernel installed, and want to update to 2.6.12, why not just patch it? It's a lot easier, and doesn't require you to configure anything.

  11. #10

    Easy is good

    So how do I just apply a patch?

Posting Permissions

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