Run UBOS on Raspberry Pi 2 or 3ΒΆ

You can run UBOS on your Raspberry Pi 2 or Raspberry 3 by downloading an image, writing it to an SD card, and booting your Raspberry Pi with that card. (Alternatively you can keep running your existing Linux distro on your Raspberry Pi, and run UBOS in a Linux container. This is described here.)

Raspberry Pi 2 “Model B” and Raspberry Pi 3 “Model B” are supported out of the box. Raspberry Pi 3 “Model B+” should work as well.

If you are not sure which model you have, consult this page.

If you have the original Raspberry Pi or the Raspberry Pi Zero, go to this page.

  1. Download a UBOS boot image from Beta images for the Raspberry Pi 2 and 3 are at Look for a file named ubos_yellow_armv7h-rpi2_LATEST.img.xz.

  2. Optionally, you may now verify that your image downloaded correctly by following the instructions at Verify your downloaded UBOS image.

  3. Uncompress the downloaded file. This depends on your operating system, but might be as easy as double-clicking it, or executing

    % sudo xz -d ubos_yellow_armv7h-rpi2_LATEST.img.xz

    on the command line.

  4. Write this image file “raw” to a micro-SD card. This operation depends on your operating system:

  5. On first boot, it is recommended you have a monitor and keyboard connected to your Raspberry Pi 2. If this is impractical, create a UBOS staff so you can securely log in over the network without the need for monitor or keyboard.

  6. Remove the micro-SD card and insert it into your Raspberry Pi 2. If you created a UBOS staff, insert the staff into the USB port. Then, plug in the Raspberry Pi 2’s USB power.

  7. When the boot process is finished, log in as user root from the attached keyboard and monitor. By default, there is no password on the console. If you used a UBOS staff, you can log in over the network instead as described here.

  8. Now: wait. UBOS needs to generate a few cryptographic keys before it is ready to use and initialize a few other things on the first boot. That might take 5 or 10 minutes. To determine whether UBOS ready, execute:

    % systemctl is-system-running

    Wait until the output has changed from starting to running. If it is anything else, consult troubleshooting.

  9. If you have Ethernet plugged in, and your network has a DHCP server (most networks do), your computer should automatically acquire an IP address. You can check with:

    % ip addr

    Make sure you are connected to the internet before attempting to proceed.

  10. Update UBOS to the latest and greatest:

    % sudo ubos-admin update
  11. You are now ready to set up your first app and site.