Can I recompile the kernel?

Posted March 9, 2017 2.8k views
UbuntuDigitalOceanUbuntu 16.04

I tried to compile a kernel from source code. The compiling process was fine but after I reboot the Droplet I only got a blank screen and a blinking cursor. So is it possible to compile my own kernel? Or what can be the problem in the configuration process before compiling the source code?

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.

Submit an Answer
1 answer


DigitalOcean doesn’t allow kernel modification. You can confirm this by logging in to the DigitalOcean Control Panel, clicking on the name of the Droplet, and then from the left side menu, click on Kernel.

You should see a message such as:

The kernel for this Droplet is managed internally and cannot be changed from the control panel.

I know this references control panel, though in the past, clients I’ve worked with have had similar issues, even when it comes to very basic modifications. I’m not sure if there are plans to fully allow this in the future or not.

  • Isn’t it possible to do something - there’s a tutorial on this, but I’m kinda unsure.

    • @hansen

      Through the control panel, as noted in the first section, no (at least not on Ubuntu/Debian).

      You can use apt-* to update/upgrade to the latest on Ubuntu/Debian from the respos, though from past experience, doing a custom kernel seems to often result in problems (as in download physical source, and then compile from source).

      I’ve built a ton over the years on Dedicated servers and on VPS’s that do allow the user to run their own without limitation, though I’ve ran in to issues with DigitalOcean. I’ve not tried to rebuild one of my custom builds in a while though, so I may retest just to confirm.