Skip to content
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

ArchLinux VPS at DigitalOcean (LEMP server)

####How to use own kernels in DigitalOcean's droplet VPS with ArchLinux

#####You may read about problem with own kernels here and here

#####@Sean commented · June 10, 2013 4:29 p.m. #####This is how I set up my own kernels. (try at your own risk)

##Warning! Before you begin please make SNAPSHOT of you droplet in DigitalOcean control panel!

I follow to Sean video (please see his youtube-video linked above) I made the trick with my Arch VPS.

There few steps after ssh to you droplet.

Switch to root (if you have sudo installed)

sudo su

Install kexec-tools

pacman -S kexec-tools -y

Remove systemd-sysvcompat

pacman -R systemd-sysvcompat

Make you own boot script

nano /tmp/init

And insert this code

kexec --load /boot/vmlinuz-linux --initrd=/boot/initramfs-linux.img --append="root=LABEL=DOROOT init=/usr/lib/systemd/systemd" &&
mount -o ro,remount / &&
kexec -e

exec /usr/lib/systemd/systemd

Change dir

cd /sbin

Copy 'init' script

cp /tmp/init ./

Make it executable

chmod 0755 init

Go to pacman.conf and enable kernel updates

nano /etc/pacman.conf

Change line 'IgnorePkg = linux' - comment it with # (and save file!)

Then update system

pacman -Syu

And after reboot you droplet ('sudo reboot' not work after remove systemd-sysvcompat)

systemctl reboot

Check now you kernel (uname -a) and happy!

Some usefull links about Kexec:

Arch Wiki

IBM developerworks


No description, website, or topics provided.



No releases published
You can’t perform that action at this time.