User avatar
mrengles
Posts: 36
Joined: Tue Mar 31, 2015 12:43 pm
Location: United States

Ubuntu 15.04 (vivid) Raspberry Pi 2 image

Mon May 11, 2015 1:40 am

Hello Everyone

I'v made a couple different Ubuntu 15.04 Vivid images for the Raspberry Pi 2 using a modified version of Ryan Finnie's (fo0bar) build script. http://www.finnie.org/software/raspberr ... d-image.sh

This is NOT the Snappy Ubuntu Core image

I'm not a developer in any real capacity, so providing any type of support is out of the question. Mostly because I don't have enough knowledge or time to really be helpful. I would have to google the answer just like you. Please feel free to use, test and distribute these images as you see fit. The only thing I ask of you. That you please post your feedback and try to be helpful to other users of these Raspberry Pi2 Ubuntu 15.04 (vivid) images.

History
If you decide to use these images make sure to read Ryan's post over at the official Ubuntu wiki. He provides allot of useful Raspberry Pi 2 specific details https://wiki.ubuntu.com/ARM/RaspberryPi. Another good read is his original blog posting http://www.finnie.org/2015/02/16/raspbe ... available/.

Downloads
• Ubuntu 15.04 (vivid) server image for Raspberry Pi 2
• Ubuntu 15.04 (vivid) standard image for Raspberry Pi 2

Checksum: http://www.mrengles.com/raspberry/ubunt ... SHA256SUMS
Downloads: http://www.mrengles.com/raspberry/ubuntu/vivid/

Update: All images are now being created with fo0bar's Raspberry specific packages from step 6. You will no longer need to install them during your initial setup.

The modified build scripts used to create these images can be downloaded at http://www.mrengles.com/raspberry/ubuntu/vivid/Scripts/

Username: ubuntu
Password: ubuntu

Install
Installation is the same as every other Raspberry Pi image.
https://www.raspberrypi.org/documentati ... /README.md

Setup
After I make and boot my Ubuntu sdcard for the first time, here are the basic steps taken to setup my Raspberry PI 2.

1. Enable the root user.

Code: Select all

sudo passwd root
2. Logout and login as root, to change the default username and password. In this example we will change the ubuntu user to robert. This image default username/password combination is ubuntu/ubuntu.

Code: Select all

usermod -l robert -m -d /home/robert ubuntu
groupmod -n robert ubuntu
passwd robert
3. Logout and login again, this time with the new username and disable the root user.

Code: Select all

sudo passwd -dl root
4. Change the hostname.

Code: Select all

sudo nano /etc/hosts
sudo nano /etc/hostname
5. Set correct time zone location.

Code: Select all

sudo dpkg-reconfigure tzdata
6. Update Ubuntu and install Ryan Finnie's rpi2 PPA packages.

Code: Select all

sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
sudo apt-get install linux-firmware libraspberrypi-bin libraspberrypi-bin-nonfree libraspberrypi-dev
sudo ln -s /usr /opt/vc
7. Install tasksel for easy package installation such as your desktop environment (pre-installed with the server image).

Code: Select all

sudo apt-get install tasksel
8. Move the root filesystem to a gpt/ext4 portioned usb drive. Follow the link below start with (extended procedure).

Code: Select all

https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=44177
9. Enable swap storage. I wouldn't enable swap unless your rootfs has been moved off the sdcard and onto usb!

Code: Select all

sudo apt-get install dphys-swapfile
10. Reboot to ensure everything takes effect.

Code: Select all

sudo shutdown -r now
You only need to continue if installing a desktop environment.

11. Install a desktop environment. This will take some time, so grab a coffee or beer.

Code: Select all

sudo apt-get install lubuntu-desktop   #or
sudo apt-get install mate-desktop      #or
sudo apt-get install xubuntu-desktop   #etc
12. Edit and/or add the following text to xorg.conf

Code: Select all

sudo nano /etc/X11/xorg.conf

Code: Select all

Section "Device"
    Identifier "Raspberry Pi FBDEV"
    Driver "fbturbo"
    Option "fbdev" "/dev/fb0"
    Option "SwapbuffersWait" "true"
EndSection
13. Install the accelerated x.org video driver, this is limited to hardware accelerated window moving and scrolling on the Raspberry Pi 2. (This is only needed with x11 and/or a working desktop environment.)

Code: Select all

sudo apt-get install xserver-xorg-video-fbturbo
14. Reboot (again) to ensure everything takes effect.

Code: Select all

sudo shutdown -r now
Good luck!

I hope you have as much success with this image as myself.

Robert aka Mrengles
:geek:
Last edited by mrengles on Mon Jul 06, 2015 12:50 pm, edited 38 times in total.

odroid-c1
Posts: 8
Joined: Wed Apr 15, 2015 5:50 pm

Re: Ubuntu 15.04 (vivid) Raspberry Pi 2 image

Tue May 12, 2015 7:32 pm

And what is the difference from the original distribution ?

User avatar
mrengles
Posts: 36
Joined: Tue Mar 31, 2015 12:43 pm
Location: United States

Re: Ubuntu 15.04 (vivid) Raspberry Pi 2 image

Wed May 13, 2015 1:15 pm

odroid-c1 wrote:And what is the difference from the original distribution ?
Original meaning Ubuntu or from foobars image? Ryan's image os Trusty (14.04) this is a Vivid 15.04 image. Uses all the same tools and kernel as Ryan's image to get ubuntu up and running on the RPi2.

Horrorzilla
Posts: 20
Joined: Tue Nov 12, 2013 5:06 am
Location: Pennsylvania, United States

Re: Ubuntu 15.04 (vivid) Raspberry Pi 2 image

Wed May 13, 2015 10:38 pm

Just downloaded it and installing Xubuntu desktop, will get back after testing it out...thanks for the work.

User avatar
mrengles
Posts: 36
Joined: Tue Mar 31, 2015 12:43 pm
Location: United States

Re: Ubuntu 15.04 (vivid) Raspberry Pi 2 image

Thu May 14, 2015 11:38 am

Horrorzilla wrote: Just downloaded it and installing Xubuntu desktop, will get back after testing it out...thanks for the work.
Good to hear. I'm using my setup without a desktop (server only) at the moment.

Just incase anyone might be curious... These images are very similar to the Ubuntu-MATE 15.04 image https://ubuntu-mate.org/raspberry-pi/ but obviously lacking MATE.

An easy way to select and install a desktop environment is with tasksel.

First install tasksel with apt-get or aptitude.

Code: Select all

$ sudo apt-get update && sudo apt-get install tasksel
Then run tasksel from the CLI

Code: Select all

$ sudo tasksel
Last edited by mrengles on Thu May 14, 2015 11:55 pm, edited 1 time in total.

bryce
Posts: 2
Joined: Sat Jul 04, 2015 5:09 pm

Re: Ubuntu 15.04 (vivid) Raspberry Pi 2 image

Sat Jul 04, 2015 5:10 pm

Looks like your DNS is no longer resolving? Could be on my end but thought I would double check...

thanks,
Bryce


User avatar
mrengles
Posts: 36
Joined: Tue Mar 31, 2015 12:43 pm
Location: United States

Re: Ubuntu 15.04 (vivid) Raspberry Pi 2 image

Mon Jul 06, 2015 12:49 pm

Thanks for the headsup.. My web hosting provider was making major changes to their server... I'll update links...

Thanks again!

DGxInfinitY
Posts: 3
Joined: Tue Dec 22, 2015 7:35 pm
Location: Utah
Contact: Website

Re: Ubuntu 15.04 (vivid) Raspberry Pi 2 image

Tue Dec 22, 2015 7:46 pm

Hey none of the Links are working. I would really like to try Ubuntu 15.04 on my Raspberry Pi 2, I could host the files on my domain if you would like? I have my own website that runs on my Raspberry Pi 2 and its registered with a .tk domain name and with Google. It has only one ad at the very bottom so its not one of those horrid bloated websites.

If you are interested you may check it out at : http://www.dgxinfinity.tk/index.html

I would be happy to do it for free. If you don't want to its completely fine but I would still like to test it out on my Raspberry Pi 2 so maybe you could put it in Google Drive and send us the links? Thanks have a wonderful day.

fruitoftheloom
Posts: 21640
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Ubuntu 15.04 (vivid) Raspberry Pi 2 image

Tue Dec 22, 2015 8:03 pm

DGxInfinitY wrote:Hey none of the Links are working. I would really like to try Ubuntu 15.04 on my Raspberry Pi 2, I could host the files on my domain if you would like? I have my own website that runs on my Raspberry Pi 2 and its registered with a .tk domain name and with Google. It has only one ad at the very bottom so its not one of those horrid bloated websites.

If you are interested you may check it out at : http://www.dgxinfinity.tk/index.html

I would be happy to do it for free. If you don't want to its completely fine but I would still like to test it out on my Raspberry Pi 2 so maybe you could put it in Google Drive and send us the links? Thanks have a wonderful day.
Have you tried around Ubuntu Mate 15.10 ?

https://ubuntu-mate.org/raspberry-pi
Retired disgracefully.....
......to a more gentile life !

DGxInfinitY
Posts: 3
Joined: Tue Dec 22, 2015 7:35 pm
Location: Utah
Contact: Website

Re: Ubuntu 15.04 (vivid) Raspberry Pi 2 image

Tue Dec 22, 2015 10:48 pm

fruitoftheloom wrote:
DGxInfinitY wrote:Hey none of the Links are working. I would really like to try Ubuntu 15.04 on my Raspberry Pi 2, I could host the files on my domain if you would like? I have my own website that runs on my Raspberry Pi 2 and its registered with a .tk domain name and with Google. It has only one ad at the very bottom so its not one of those horrid bloated websites.

If you are interested you may check it out at : http://www.dgxinfinity.tk/index.html

I would be happy to do it for free. If you don't want to its completely fine but I would still like to test it out on my Raspberry Pi 2 so maybe you could put it in Google Drive and send us the links? Thanks have a wonderful day.
Have you tried around Ubuntu Mate 15.10 ?

https://ubuntu-mate.org/raspberry-pi
I have looked at it and ran it at one point but I want something like Ubuntu 15.04 Server. I don't want a desktop environment.

Return to “Other”