Raspberry Pi 2 update - (unofficial) Ubuntu 14.04 image available

Download the lastest Ubuntu 14.04 Raspberry Pi 2 image

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

Note that this blog post originally contained a bunch more information, which has been moved to a dedicated page on wiki.ubuntu.com.

I've closed comments on this blog post. If you are looking for help, please see this post on the raspberrypi.org forums. If you post there, you'll be reaching a wider audience of people (including myself) who can help you. Thanks for all of your comments!

After my last post, I went and ported Sjoerd's Raspberry Pi 2 Debian kernel patchset to Ubuntu's kernel package base (specifically 3.18.0-14.15). The result is an RPi2-compatible 3.18.7-based kernel which not only installs in Ubuntu, but has all the Ubuntu bells and whistles. I also re-ported flash-kernel based on Ubuntu's package, recompiled raspberrypi-firmware-nokernel, created a linux-meta-rpi2 package, and put it all in a PPA.

With that all done, I decided to go ahead and produce a base Ubuntu trusty image. It's 1.75GB uncompressed so you can put it on a 2GB or larger MicroSD card, and includes a full ubuntu-standard setup. Also included in the zip is a .bmap file; if you are writing the image in Linux you can use bmap-tools package to write only the non-zero bytes, saving some time. Otherwise it's the same procedure as other Raspberry Pi images.

(PS: If this image becomes popular, I should point out ahead of time: This is an unofficial image and is in no way endorsed by my employer, who happens to be the company who produces Ubuntu. This is a purely personal undertaking.)

32 thoughts on “Raspberry Pi 2 update - (unofficial) Ubuntu 14.04 image available”

  1. Hello there, and many thanks. Looking forward to someone picking this up officially - I'd love to have an official net install/mini image for bootstrapping my cluster, and hope we get LTS images in the future.

      1. Thanks - tried installing that way but get the following:
        VCHI initialization failed
        It's late here now so I'll investigate further tomorrow

        1. Thanks. I admit I don't know much about the GPU setup (I'm mostly interested in the RPi2 as a server platform, hence the base image), so if you find the problem please let me know.

      2. The vc libraries are several releases behind the ones in the raspbian repo. From this ppa I get:
        rob@ubuntu:~$ vcgencmd version
        Dec 19 2014 18:35:53

        but from raspbian I get:
        rob@raspberrypi ~ $ vcgencmd version
        Feb 7 2015 19:32:11

        1. Done. I've uploaded a build based on Raspbian's 1.20150212-1, the latest available:

          $ vcgencmd version
          Feb 12 2015 17:30:56
          Copyright (c) 2012 Broadcom
          version 571f5d2143489e4300d7e2ed5b1a73f33f3b13e5 (clean) (release)

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

            $ sudo apt-get install lubuntu-desktop

  2. Hi

    I have written the image on the micro SD card and the raspberry is booting and gives me a ubuntu login.

    What is the login!??? username and password? "pi" + "raspberry" are not working.

    1. Found out ;-)

      Username: ubuntu
      Password: ubuntu

      It works very well. Installed Xubuntu, Firefox, Thunderbird etc. It is not as fast as expected but it is 100% useable. A very good system for 35%... and with a power consumption of only 5W...
      This really impressive!!

      If you need to reconfigure the keyboard use:
      dpkg-reconfigure keyboard-configuration

      Than you very much for this image!

  3. A few notes:

    1. docker.io works, with armhf containers. I was able to do:
    docker run -d -p 8081:8081 resin/rpi-google-coder and access it via https.

    2. I had to add post-up ntpdate -s pool.ntp.org in /etc/network/interfaces to get the clock to sync.

    3. The activity LED seems to be disabled in the kernel. Stuff like http://www.raspberrypi.org/forums/viewtopic.php?f=31&t=12530 doesn't work, either, so when you're running a bunch of these they look "dead". Am going to try to see if I can get the LED to work via GPIO, but I suspect that might be what is missing from the kernel.

    1. ntpdate should automatically run upon interface up (see /etc/network/if-up.d/ntpdate); WFM at least.

      LEDs work for me, but I'm running on an updated firmware package I pushed about an hour ago and don't have access to an installation with the previous firmware right now. Try apt-get upgrading and trying again. echo heartbeat >/sys/class/leds/led0/trigger produces a heartbeat on the activity LED.

      1. Thanks. The new firmware does fix it. Mind you, on one of the boards updating the firmware package caused it to hang upon reboot, but that was fixed easily enough by copying the firmware files from another.

        You'll be pleased to know that https://github.com/rcarmo/raspi-cluster is now running atop your image, and so far seems way more stable than the Raspbian version :)

        Would you consider creating a Github project for this, so that we could flesh out a wiki with docs? I have a few more notes that might come in handy for other people, and you could also distribute the image from there.

  4. First, your Ubuntu-Image ran really fine on my raspberry2. One thing i tried didnt work: I tried to install the standard ubuntu desktop (there is a 32gb-sd inside ;-) ) with

    apt-get install ubuntu-desktop

    The I started the desktop with

    service lightdm restart

    Now the standard ubuntu-desktop background was shown, *but* the symbols on the left side never appeared.

    Does ubuntu-desktop (not xubuntu oder lubuntu) work with raspbi2?

    1. I have the same experience - just got the background and nothing more.
      Only Xubuntu worked well for me. I hope the standard Ubuntu desktop will be able, I am not happy with Xubuntu....:-( But it works for now.

      However, it would be nice to get it optimized - speed is not impressive, but usable. Much patience is needed, however.

  5. Hi and thanks for this image! Just got my Pi 2 yesterday and have berryboot running with the offical Rasbian and OpenElec but really want to add your image to the mix. I have a desktop with 13.04 and also a server running 12.04 but I am a bit rusty on linix. It appears that berryboot needs to strip the kernel and lib files from your image as it uses it's own apparently ... will this work?

    Thanks again!


  6. "Then add this to /etc/X11/xorg.conf:

    Section "Device"
    Identifier "Raspberry Pi FBDEV"
    Driver "fbturbo"
    Option "fbdev" "/dev/fb0"
    Option "SwapbuffersWait" "true"

    I was looking at the wiki, and I came across this part. How do I do this? I found up to /etc/X11/ in a file manager, but I can't find the xorg.conf to edit.

Comments are closed.