tutorials questions & answers

Use custom kernel on Ubuntu VPS

  • ubuntu
  • kernel

Pick a kernel

Find a kernel at http://mirrors.kernel.org/ubuntu/pool/main/l/linux/. In the tutorial, we pick the latest available version 4.14.0-11-generic.

Download and Install

Commands starts with # means you need to run it with root privileges. Per your preference, you can choose either sudo or su -c.

For 64bit installation:

$ wget http://mirrors.kernel.org/ubuntu/pool/main/l/linux/linux-image-4.14.0-11-generic_4.14.0-11.13_amd64.deb
# dpkg -i linux/linux-image-4.14.0-11-generic_4.14.0-11.13_amd64.deb

For 32bit installation:

$ wget http://mirrors.kernel.org/ubuntu/pool/main/l/linux/linux-image-4.14.0-11-generic_4.14.0-11.13_i386.deb
# dpkg -i linux/linux-image-4.14.0-11-generic_4.14.0-11.13_i386.deb

Note: When a prompting box pops up saying "A new version of /boot/grub/menu.lst is available", make sure to pick install the package maintainer's version. Otherwise you'll not be able to update grub.lst automatically.

This is a vpsserver.com specific Ubuntu templates approach. It may not apply if you are using service from other providers.

Update grub

Run the following command `shell

grub-set-default "Ubuntu, with Linux 4.14.0-11-generic"


## Install extra modules

If you are planning use Docker or use NFS, you may want to install extra kernel modules as well.  Run:

For 64bit installation:

$ wget http://mirrors.kernel.org/ubuntu/pool/main/l/linux/linux-image-extra-4.14.0-11-generic_4.14.0-11.13_amd64.deb
# dpkg -i linux-image-extra-4.14.0-11-generic_4.14.0-11.13_amd64.deb

For 32bit installation:

$ wget http://mirrors.kernel.org/ubuntu/pool/main/l/linux/linux-image-extra-4.14.0-11-generic_4.14.0-11.13_i386.deb
# dpkg -i linux-image-extra-4.14.0-11-generic_4.14.0-11.13_i386.deb


Reboot your system and you're all set!

comments (0)

    leave comment

    Please choose login or register to comment in this thread.

    Start now for as low as $5 a month!

    • 8 Characters
    • 1 Uppercase Atleast
    • 1 Number Atleast