Question

Can not upgrade kernel on old droplet

I have a very old droplet and I am trying to sort out the kernel management but everything is failing. When I power off the droplet and go to the kernel option, the “change” button is greyed out - I can not select any options. So, how can I change my kernel?

$ uname -r
3.13.0-32-generic

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.5 LTS
Release:	18.04
Codename:	bionic

grub has all of the correct details but I can not see how to get my droplet to use grub.

# update-grub
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.15.0-156-generic
Found initrd image: /boot/initrd.img-4.15.0-156-generic
Found linux image: /boot/vmlinuz-4.15.0-154-generic
Found initrd image: /boot/initrd.img-4.15.0-154-generic
Found linux image: /boot/vmlinuz-3.13.0-71-generic
Found initrd image: /boot/initrd.img-3.13.0-71-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
done

How can I sort this mess out please?

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I asked support, and this is the answer I got:

Hi there,

Many thanks for reaching out to us and we’ll be happy to help!

I suspect the issue may be somehow related to the externally managed kernel that you had on the older Droplet you created a Snapshot from. Would you be open to the idea of migrating to a new Droplet? You can create a new Droplet and then just copy files over to a new Droplet using rsync or a similar tool:

https://www.digitalocean.com/community/tutorials/how-to-copy-files-with-rsync-over-ssh

If you do want to continue trying to use your current Droplet, it might be worth trying to move to an internally managed kernel by using our grub loader kernel as explained here:

https://docs.digitalocean.com/products/droplets/how-to/kernel/

From there you can try updating the kernel to see if it resolves the issues you’re seeing. For what it’s worth, my primary recommendation is to migrate, as the legacy kernel management your old base Droplet is using may cause further problems in the future. That being said, we’re committed to supporting you either way and we’ll be happy to continue to troubleshoot any issues you have. Please let us know if you have any other questions or if there’s anything we can do to help.

Hello @paul841204 ,

Check this page, explains in a simple way the process to follow.

The first point in Table of contents is important Make a backup :)

Hope helps you, Sergio Turpín