Revision 1 as of 2015-02-23 21:43:30

Clear message

Raspberry Pi

With the release of the Raspberry Pi 2 Model B and its ARMv7-based BCM2709 processor, it is now possible to run Ubuntu directly on the Raspberry Pi.

Note that the information on this page currently only applies to the Raspberry Pi 2, not the original Raspberry Pi.

Ubuntu 14.04 LTS

An Ubuntu 14.04 LTS (Trusty Tahr) image is available for the Raspberry Pi 2, which combines the released 14.04 distribution with a PPA containing kernels and firmware which work on the Raspberry Pi 2.

Warning /!\ This is a community-maintained image, and is not supported by Ubuntu. The 3.13 kernel has been replaced with an updated 3.18 kernel which is not guaranteed to receive security updates the same as the LTS kernel provides. Warning /!\


If you downloaded an older image than the current one above, you shouldn't need to reinstall, but be sure to review the changelog below.


Installation is the same as other Raspberry Pi images; a generic installation guide from raspberrypi.org is available here.

Additionally, the distribution .zip includes a .bmap file. If you are installing to the SD card from Linux, you may use the bmap-tools package to save some time by writing only the non-zero blocks.

$ sudo bmaptool copy --bmap ubuntu-trusty.bmap ubuntu-trusty.img /dev/sdX


  • There are no Raspbian-specific utilities included, specifically no automatic root resizer. However, it's not hard to do manually. Once booted:

$ sudo fdisk /dev/mmcblk0

Delete the second partition (d, 2), then re-create it using the defaults (n, p, 2, enter, enter), then write and exit (w). Reboot the system, then:

$ sudo resize2fs /dev/mmcblk0p2
  • There is no swap partition/file included. If you want swap, it's recommended you do:

$ sudo apt-get install dphys-swapfile

You should have a (resized) SD card at least 4GB, because by default it will want to create a ~2GB swapfile.

  • This is a minimal ubuntu-standard image. If you want a full desktop, go ahead and do so:

$ sudo apt-get install lubuntu-desktop  # or
$ sudo apt-get install xubuntu-desktop  # etc
  • If you would like to install an SSH server for remote access:

$ sudo apt-get install openssh-server


  • The script used to build the images is available here.



If you installed the 2015-02-17 image, you don't need to reinstall this image, but you should remove /var/lib/dbus/machine-id and reboot.

  • Updated Ubuntu / kernel packages
  • Default apt-src repositories are now commented out
  • Installed language-pack-en package
  • Sound driver (snd_bcm2835) now loaded by default
  • Created legacy /boot/config.txt and /boot/cmdline.txt symlinks as these live in /boot/firmware
  • Cleaned up /etc/hosts formatting
  • Renamed ubuntu user GECOS from "Ubuntu" to "Ubuntu user"
  • Removed variant /var/lib/dbus/machine-id (will be regenerated on first boot)
  • Removed console=ttyAMA0,115200 from default cmdline.txt (interferes with non-console use of the serial port)


  • Initial release

Snappy Ubuntu Core

Snappy Ubuntu Core is a new rendition of Ubuntu with transactional updates - a minimal server image with the same libraries as today’s Ubuntu, but applications are provided through a simpler mechanism. A developer preview is available for the Raspberry Pi 2.