Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Newbee Question regarding uname -r on Ubuntu 13.10

  1. #1
    Join Date
    May 2008
    Beans
    137

    Newbee Question regarding uname -r on Ubuntu 13.10

    So have been regularly running software updater or sudo apt-get dist-upgrade and have seen Linux headers updates for both 3.9.0-5 and 3.9.0-6. However when doing uname -r it still shows 3.9.0-3-generic, should it be reading 3.9.0-6-generic?

  2. #2
    Join Date
    Oct 2005
    Location
    INDY
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Newbee Question regarding uname -r on Ubuntu 13.10

    Have you re-booted?
    The OS would not be using the updated kernel until you do.
    Castles Made of Sand,
    Fall in the Sea,
    Eventually!

  3. #3

    Re: Newbee Question regarding uname -r on Ubuntu 13.10

    I have same problem with my 13.10 reboot did not help. But this helps me:
    Code:
    sudo grub-install /dev/sda
    and then reboot..

  4. #4
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Newbee Question regarding uname -r on Ubuntu 13.10

    Kernel updates usually require a restart. I just updated after missing Friday's update and kernel 3.9.0-6 came in. I had to restart and uname -a or uname -r says 3.9.0-6-generic. Kernel updates usually run update-grub and grub-install. On Thursday I was loading 3.9.0-5 and now (Saturday) I am loading 3.9.0-6.

    Do you have another version of Ubuntu that controls Grub in the MBR? If so, you will need to load that other version of Ubuntu and run update-grub and grub-install. I just happen to have my saucy development version in control of the Grub in the MBR because I intend this install of Ubuntu to be a rolling development release.

    Regards.
    Last edited by grahammechanical; June 15th, 2013 at 02:33 PM.
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  5. #5
    Join Date
    Mar 2007
    Beans
    676
    Distro
    Ubuntu Development Release

    Re: Newbee Question regarding uname -r on Ubuntu 13.10

    If you are using GRUB in the 13.10 install to start the machine it should not be necessary to run "grub-install" to get the new kernel; the installation process calls "update-grub", which will add the new kernel to the list and set it as the default.

    However, if you are booting the machine using GRUB in another (more stable/reliable) install - which is a very good idea! - you will have to boot into that one and run "sudo update-grub" to add the new kernel for 13.10 to the list. Then, next time you boot, choosing 13.10 will boot with the updated kernel.

    HTH
    Sony vaio vgn-fw235j; Synaptics touchpad; triple boot: mint 12 64-bit; Precise 64-bit & Saucy 64-bit. 2TB external USB drive with more...

  6. #6
    Join Date
    May 2008
    Beans
    137

    Re: Newbee Question regarding uname -r on Ubuntu 13.10

    I always reboot after updates even when it doesn't prompt me that should.
    I did a standard install from USB drive of Ubuntu 13.10, there is no other OS on this system so the default grub that comes with the install should be in use.
    Okay now this is intersting, here is what I got on running command:

    grub -version
    The program 'grub' is currently not installed. You can install it by typing:
    sudo apt-get install grub

    Would seem Raimo as hit the nail on the head. Looks like the install did not install grub, is this normal or a bug with the iso install?

    This is what I see running with this command:
    rub-install -v
    grub-install (GRUB) 2.00-14ubuntu1

    Now I'm really confused, is grub installed or not? Okay so after some googling, is would appear I have Grub2 installed and the command Raimo gives is for legacy grub.

    So back to my orginal issue, why is Grub2 not updating the kernel?
    Last edited by mtbdrew; June 15th, 2013 at 03:36 PM.

  7. #7
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Newbee Question regarding uname -r on Ubuntu 13.10

    You could trying installing Synaptic and using that to install or re-install kernel 3.9.0-6.

    I have noticed that sometimes it takes a day or two for a kernel update to be completely installed. Kernel 3.9.0-5 came in two days running. But kernel 3.9.0-6 only needed on day's updates to activate. I think that sometimes some kernel packages are downloaded but not installed because other kernel packages are not yet in the repositories. It could be that the server repositories that you are using are a little out of sync with some of the other servers and so you are getting updates a little later than other people. I have noticed that this happens. Some come on this section saying that this or that has come through but I did not get it until I ran updates a second time and later in the day.
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  8. #8
    Join Date
    May 2008
    Beans
    137

    Re: Newbee Question regarding uname -r on Ubuntu 13.10

    I'm fairly sure the updates have been downloaded correctly already, they just are not being installed:

    /usr/src$ ls -l
    total 36
    drwxr-xr-x 24 root root 4096 May 29 02:33 linux-headers-3.9.0-3
    drwxr-xr-x 7 root root 4096 May 29 02:33 linux-headers-3.9.0-3-generic
    drwxr-xr-x 24 root root 4096 Jun 5 18:28 linux-headers-3.9.0-4
    drwxr-xr-x 7 root root 4096 Jun 5 18:28 linux-headers-3.9.0-4-generic
    drwxr-xr-x 24 root root 4096 Jun 12 17:08 linux-headers-3.9.0-5
    drwxr-xr-x 7 root root 4096 Jun 12 17:09 linux-headers-3.9.0-5-generic
    drwxr-xr-x 24 root root 4096 Jun 14 17:55 linux-headers-3.9.0-6
    drwxr-xr-x 7 root root 4096 Jun 14 17:55 linux-headers-3.9.0-6-generic
    drwxr-xr-x 3 root root 4096 Jun 3 23:15 nvidia-313-updates-313.30



    Installed Synaptic and saw that though the updates were downloaded and installed for kernel. The package linux-generic 3.9.0.6.7 was listed but not actually downloaded or installed. Marked this for installation and ran. Rebooted system and now get:

    uname -a
    Linux mythbox 3.9.0-6-generic #13-Ubuntu SMP Fri Jun 14 15:47:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

    Will be interesting to see if any future updates to the kernel get automaticall installed.
    Last edited by mtbdrew; June 15th, 2013 at 05:03 PM.

  9. #9
    Join Date
    Jun 2005
    Beans
    Hidden!

    Re: Newbee Question regarding uname -r on Ubuntu 13.10

    Quote Originally Posted by grahammechanical View Post
    You could trying installing Synaptic and using that to install or re-install kernel 3.9.0-6.

    I think that sometimes some kernel packages are downloaded but not installed because other kernel packages are not yet in the repositories. It could be that the server repositories that you are using are a little out of sync with some of the other servers and so you are getting updates a little later than other people. I have noticed that this happens. Some come on this section saying that this or that has come through but I did not get it until I ran updates a second time and later in the day.

    Glad to hear Im not the only one who has noticed this..
    Thanks for posting grahammechanical

  10. #10
    Join Date
    May 2008
    Beans
    137

    Re: Newbee Question regarding uname -r on Ubuntu 13.10

    So created a bug report for this and it was closed right away stating there is a difference in the headers and the kernel updates. According to the advice I have to set the linux-generic to automatic to get kernel updates installed using the updater. Question is how do I set this to automatic?

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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