Wednesday, May 16, 2012

How to install and use systemd in Ubuntu 12.04

Here is how to install / use systemd in Ubuntu 12.04. 

On my system my boot time went from 9 seconds to five seconds. The difference for you could be even better. 

This process does not work on any other Ubuntu release besides 12.04.

The systemd version that is found in this ppa is outdated however you can still use it for testing purposes. 

Update: After using this for a few days I can safely say that you must know how to rescue your system should anything happen (and it will), I will therefore make these instructions geared towards those who know what they are doing.

Here are the commands you will need
  • sudo add-apt-repository ppa:pitti/systemd
  • sudo apt-get update
  • sudo apt-get install systemd libpam-systemd systemd-gui
  • ln -fs /proc/self/mounts /etc/mtab
After all those commands you need to edit your grub config file and add this to the kernel options
  • init=/bin/systemd
then update grub and reboot to see if all went as it should.
This is how your grub config should look
If everything worked then you shouldn't really notice much difference besides maybe a faster boot and other things *possibly* starting faster. 

If your PC fails to boot for any reason just edit grub before your system starts booting the OS and remove the "init=/bin/systemd". Once booted then re-edit the grub config file as you did above but this time remove the line you added above.
Thanks to -


  1. And one last command:
    sudo update-grub

  2. I purposely left out certain commands, see my "update" above explaining why.

  3. Can I ask a question?
    I did the same as you mention above on ubuntu server 12.04 and it works.
    But i don't know how to init the networking. Can you show me some tips ?

  4. At the moment there is no packages for ubuntu 12.04 ;/

  5. At the moment there is no packages for ubuntu 12.04 ;/