hrldcpr
By:
hrldcpr

Kernel change has no effect

December 2, 2014 2.4k views

I used the Control Panel to change my kernel from Ubuntu 14.04 x64 vmlinuz-3.13.0-37-generic to Ubuntu 14.04 x64 vmlinuz-3.13.0-40-generic.

The Control Panel now shows Your droplet's current kernel: Ubuntu 14.04 x64 vmlinuz-3.13.0-40-generic

But running uname -ri on my droplet gives 3.13.0-37-generic x86_64, so I think the kernel has not actually been updated.

ls /lib/modules shows 3.13.0-37-generic 3.13.0-40-generic

I have rebooted and apt-get update / upgrade / dist-upgraded several times, to no avail.

Thanks for any help!

5 comments
  • After updating your kernel with the apt-get upgrade and changing your kernel in the control panel have you rebooted your droplet? A change to your running kernel will only take effect with a reboot.

  • I've rebooted with sudo shutdown -r now — do I need to reboot in a different way?

  • Just to be sure the state change was picked up by the hypervisor I'd recommend running a

    poweroff
    

    and then booting the droplet from the control panel.

  • Ah okay, that worked, thanks!

    I think the "We recommend rebooting your droplet through the command line..." warning in the control panel scared me off.

    Anyway cool, thanks again!

  • The warning has to do with using the power cycle button in the control panel as this performs a hard reboot. Using "poweroff" to power down your droplet safely and then booting it from the control panel poses no risk.

1 Answer

This question was answered by @ryanpq:

Just to be sure the state change was picked up by the hypervisor I'd recommend running a

poweroff

and then booting the droplet from the control panel.

View the original comment

Have another answer? Share your knowledge.