How to update the kernel to 3.13.5 with Arch Linux on Digital Ocean

March 14, 2014 7k views
Hi everyone, I have written a how to on how to change/update your kernel on DO. If someone would like to do this on Arch Linux, please have a look at the instructions here: http://we.je/upgrading-your-kernel-on-arch-linux-on-digital-ocean/
3 Answers
I've added a few more details to the article:

- 64-Bit Kernel and Kernel Headers are also now available
- Explained the networking change of ethernet card (eth0) to ens3 more.

Depending on your Arch server instance you may have netcfg (which is old) or netctl (new). Netctl is easier to setup as you simply need to add the network@ens3.service to systemctl and start it.

I would highly recommend for people to read the entire article and setup their modules and networking BEFORE they reboot. If you do all these steps, i.e. install the kernel and headers and fix networking, you can simply just reboot the droplet and it will come back functioning :)

Hope that helps

Lucius Rizzo
That seems unnecessarily complicated. This is what I did:
Note that the current kernel is 3.13.6)

1. update system
# pacman -Syu --ignore filesystem,bash
# pacman -S bash
# pacman -Su
# pacman -S linux

2. configure network profile
depending on whether you prefer netctl or netcfg
# cp /etc/netctl/examples/ethernet-static /etc/netctl/my-static
# cp /etc/network.d/examples/ethernet-static /etc/network.d/my-static

Then edit the profile (e.g. my-static") to reflect the settings for your droplet. The link device naming has changed from eth0 to enp0s3, and now ens3. (If you have no network after rebooting, log in using the console and determine the correct name with "ip link" or "ifconfig" and correct the profile)

I prefer vim and netctl so:
# pacman -Rc vi, netcfg
# pacman -S vim, netctl
# ln -s /usr/bin/vi /usr/bin/vim
# vi /etc/netctl/my-static
# netctl enable static

3. From the droplet Control Panel
settings > kernel
select the new kernel to boot > Change
Power Cycle

It speeds up the network starting if the network interface name is corrected in these files:

Have another answer? Share your knowledge.