Announcement

Collapse
No announcement yet.

linux headers

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    linux headers

    I have been trying to install some software like ndiswrapper and drivers for my internal wireless chip and keep seeing some entries on the screen about linux-headers 2.5 or something like that and I have updated the linux headers to the newest version, I believe it is 2.6 and not sure if I need to do anything to make the default headers version the newest one that is install and not continue to use the older version of the headers.

    #2
    Re: linux headers

    In a konsole type uname -r.

    This will tell you what version you have. Then......

    sudo apt-get install linux-headers-(output of uname -r)

    I believe this is the procedure.
    ~$sudo make me a sandwich

    Comment


      #3
      Re: linux headers

      Or, just make it one command (and learn a little about Bash) with just "sudo apt-get install linux-headers-$(uname -r)".
      ($(foo) will replace that with the output of "foo" as if it was executed.)
      For external use only.

      Comment


        #4
        Re: linux headers

        I updated my laptop and did apt-get install linux-headers-2.6.20.16-generic and installed the newest version of the linux headers. Everything should be ok now right? Well for some reason when I do a uname-r it still says my current version is 2.6.20-15-generic. So I tried doing the apt-get update linux-headers-2.6.20-16 it says I already have the newest version. Any ideas?

        Comment


          #5
          Re: linux headers

          If uname says your kernel is 2.6.20-15, your kernel is 2.6.20-15. No ifs, ands, or buts.
          Either use the -15 headers, or figure out why you aren't using the -16 kernel (e.g. not installed, no Grub menu entry). Getting the -16 kernel would be the preferable of the two.
          For external use only.

          Comment


            #6
            Re: linux headers

            I figured it out. It appears that you have to reboot the machine and then choose the -16 entry from the grub menu. LOL!! Since I have the new headers installed now can I delete the old entry to they aren't used at all and I just use the -16? if so, how would I go about doing that?

            Comment


              #7
              Re: linux headers

              can I delete the old entry to they aren't used at all and I just use the -16? if so, how would I go about doing that?

              HOWTO: Removing unnecessary entries from the grub menu list
              http://kubuntuforums.net/forums/inde...opic=3082556.0
              Before you edit, BACKUP !

              Why there are dead links ?
              1. Thread: Please explain how to access old kubuntu forum posts
              2. Thread: Lost Information

              Comment


                #8
                Re: linux headers

                But, more relevant here would be to remove the old kernel and its files from the system, rather than just remove the boot menu entries: remove the linux-kernel-2.6.20-15* packages from your system AFTER checking that all is well with the new kernel!

                Comment


                  #9
                  Re: linux headers



                  From HOWTO: Removing unnecessary entries from the grub menu list
                  a.k.a removing old kernel packages and rewriting new menu.lst

                  Using Synaptic/Adept package manager:

                  Search 2.6.15-25-386:
                  --> Find:
                  linux-image-2.6.15-25-386
                  Linux kernel image for version 2.6.15 on 386.

                  Click Remove:
                  and
                  Note #1
                  If you just remove entries from the menu.lst they will be back when you update kernel next time.

                  Note #2
                  This makes new menu.lst.
                  Before you edit, BACKUP !

                  Why there are dead links ?
                  1. Thread: Please explain how to access old kubuntu forum posts
                  2. Thread: Lost Information

                  Comment


                    #10
                    Re: linux headers

                    Note to self: read people's links before posting in reply to them

                    Sorry, Rog131!

                    Comment


                      #11
                      Re: linux headers

                      Thanks guys. I will try that when I get home and report on the results.

                      Comment

                      Working...
                      X