jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 20510
Joined: Sat Jul 30, 2011 7:41 pm

Re: Ubuntu image for the new Raspberry Pi 3 B+

Mon Apr 02, 2018 4:20 pm

In the meantime, there is a perfectly good (better than Ubuntu, but I would say that) version of Raspbian available. AFAICT, on the command line is exactly the same as Ubuntu, so will be very familiar, (except more up to date), is the distro the Foundation uses for development, and is the first to get bug fixes.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Please direct all questions to the forum, I do not do support via PM.

gkaiseril
Posts: 446
Joined: Mon Aug 08, 2016 9:27 pm
Location: Chicago, IL

Re: Ubuntu image for the new Raspberry Pi 3 B+

Mon Apr 02, 2018 4:31 pm

I just checked the Ubuntu Mat blog March 9, 2018. The current Beta test version is 18.04 Beta 1 and as for the Raspberry Pi there is the following statement:
Raspberry Pi images

We’re am planning on releasing Ubuntu MATE images for the Raspberry Pi around the time 18.04.1 is released, which should be sometime in July. It takes about a month to get the Raspberry Pi images built and tested and we simply don’t have time to do this in time for the April release of 18.04.
Since this was before the announcement for the Pi 3B+ what and when the update will be done is not clear, but it looks like about July 2018.

n67
Posts: 804
Joined: Mon Oct 30, 2017 4:55 pm

Re: Ubuntu image for the new Raspberry Pi 3 B+

Mon Apr 02, 2018 4:54 pm

Note that the term "negativity" has two popular meanings:

1) General sarcasm and/or bitterness. I.e., the stuff of forums and the stuff that makes mods mad.

2) Just being skeptical or doubtful about whether or not something is going to work.

I think the poster meant it in the second sense, but it is too frequently interpreted in the first sense.
"L'enfer, c'est les autres"

If a post offends you, just put that poster on your foes list, and be done with it (and with them).

To do otherwise, risks being banned.

User avatar
BluPI2
Posts: 23
Joined: Sun May 10, 2015 3:56 am

Re: Ubuntu image for the new Raspberry Pi 3 B+

Tue Apr 03, 2018 3:52 am

Here is a link to the enormous Ubuntu Mate ARM software repository:

https://launchpad.net/ubuntu/xenial/armhf

65k packages!

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 10942
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: Ubuntu image for the new Raspberry Pi 3 B+

Tue Apr 03, 2018 3:05 pm

BluPI2 wrote:
Tue Apr 03, 2018 3:52 am
Here is a link to the enormous Ubuntu Mate ARM software repository:

https://launchpad.net/ubuntu/xenial/armhf

65k packages!
Almost all of those *should* work on Raspbian too (extra desktop packages, if needed, will be installed automatically).

MaxVMH
Posts: 113
Joined: Mon Mar 19, 2018 1:26 pm

Re: Ubuntu image for the new Raspberry Pi 3 B+

Tue Apr 03, 2018 4:30 pm

For those who are running Ubuntu Mate, what GPU memory size do you guys use/recommend?
Webserver stack: 2x Pi 3B | 1x Pi 3B+ ||| Pi Zero W for fooling around

Working on a soccer prediction web app:
https://github.com/MaxVMH/mijnscore
Attempt at writing up-to-date tutorials on making a Raspberry Pi webserver:
http://blog.mijnscore.be/

Alex_guti
Posts: 1
Joined: Wed Apr 04, 2018 8:30 pm

Re: Ubuntu image for the new Raspberry Pi 3 B+

Wed Apr 04, 2018 8:47 pm

MaxVMH wrote:
Mon Apr 02, 2018 3:48 pm
jblack wrote:
Mon Apr 02, 2018 2:15 pm
MaxVMH wrote:
Sun Apr 01, 2018 7:36 pm
I was able to make a bootable USB image of Ubuntu Mate for the Raspberry Pi 3B & 3B+. Thanks to everyone who participated in this thread :)

I made torrents of the images:
The SD torrent seemed to work for me. :)
Thanks for letting me know!

To those who are running Ubuntu Mate: how do you like it? Is the performance OK?

I tested some things and found it to be really slow, afterwards I realized the GPU memory was still set to 16MB for my headless projects. I'll probably give it another go later this week.

mahjongg wrote:
Mon Apr 02, 2018 3:42 pm
Note that the official update is not yet out, so this might be a version that only partially works.
True, and the official updated image might take a while. My understanding is that their next image for Raspberry Pi will be released 1 or 2 months after they release 18.04.
The SD torrent worked perfectly!! The only thing it won´t work its the wifi, i assume it´s because i didn´t know where to install it!! Well done guys

MaxVMH
Posts: 113
Joined: Mon Mar 19, 2018 1:26 pm

Re: Ubuntu image for the new Raspberry Pi 3 B+

Thu Apr 05, 2018 9:35 am

Alex_guti wrote:
Wed Apr 04, 2018 8:47 pm
The SD torrent worked perfectly!! The only thing it won´t work its the wifi, i assume it´s because i didn´t know where to install it!! Well done guys

If I'm not mistaken, run this in MATE Terminal:

Code: Select all

sudo rfkill unblock wifi

And then reboot:

Code: Select all

sudo reboot

Let me know if that works out for you. If it doesn't, I'll try a fresh install when I get the chance to try and remember how I got it to work.
Last edited by MaxVMH on Thu Apr 05, 2018 11:16 am, edited 3 times in total.
Webserver stack: 2x Pi 3B | 1x Pi 3B+ ||| Pi Zero W for fooling around

Working on a soccer prediction web app:
https://github.com/MaxVMH/mijnscore
Attempt at writing up-to-date tutorials on making a Raspberry Pi webserver:
http://blog.mijnscore.be/

resiakt
Posts: 5
Joined: Fri Mar 30, 2018 11:24 am

Re: Ubuntu image for the new Raspberry Pi 3 B+

Thu Apr 05, 2018 10:10 am

Alex_guti wrote:
Wed Apr 04, 2018 8:47 pm
The only thing it won´t work its the wifi, i assume it´s because i didn´t know where to install it!!
Ubuntu is a modern OS.

Code: Select all

sudo su -
rfkill unblock wifi
apt-get --no-install-recommends install network-manager
reboot
nmcli dev wifi list
nmtui-connect
The nmcli call shows you available networks and with the nmtui-connect call you establish the connection and store this as a flexible profile.
Last edited by resiakt on Thu Apr 05, 2018 11:32 am, edited 1 time in total.

MaxVMH
Posts: 113
Joined: Mon Mar 19, 2018 1:26 pm

Re: Ubuntu image for the new Raspberry Pi 3 B+

Thu Apr 05, 2018 11:17 am

MaxVMH wrote:
Thu Apr 05, 2018 9:35 am
Alex_guti wrote:
Wed Apr 04, 2018 8:47 pm
The SD torrent worked perfectly!! The only thing it won´t work its the wifi, i assume it´s because i didn´t know where to install it!! Well done guys

If I'm not mistaken, run this in MATE Terminal:

Code: Select all

sudo rfkill unblock wifi

And then reboot:

Code: Select all

sudo reboot

Let me know if that works out for you. If it doesn't, I'll try a fresh install when I get the chance to try and remember how I got it to work.

Someone else asked a similar question elsewhere, so I decided to do the fresh install just now. I can confirm that 'sudo rfkill unblock wifi' and a reboot does the trick 8-)
Webserver stack: 2x Pi 3B | 1x Pi 3B+ ||| Pi Zero W for fooling around

Working on a soccer prediction web app:
https://github.com/MaxVMH/mijnscore
Attempt at writing up-to-date tutorials on making a Raspberry Pi webserver:
http://blog.mijnscore.be/

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 10942
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: Ubuntu image for the new Raspberry Pi 3 B+

Thu Apr 05, 2018 11:20 am

This Ubuntu image probably doesn't have the NEW driver that supports the NEW WiFi interface, that also handles 5GHz Ethernet now.
You probably have to copy that driver from the latest Raspbian to get all its features, the driver you are using now probably only supports the older hardware, and thus only 2.4GHz modes.

MaxVMH
Posts: 113
Joined: Mon Mar 19, 2018 1:26 pm

Re: Ubuntu image for the new Raspberry Pi 3 B+

Thu Apr 05, 2018 11:25 am

mahjongg wrote:
Thu Apr 05, 2018 11:20 am
This Ubuntu image probably doesn't have the NEW driver that supports the NEW WiFi interface, that also handles 5GHz Ethernet now.
You probably have to copy that driver from the latest Raspbian to get all its features, the driver you are using now probably only supports the older hardware.

I have put the new drivers in there, so that's not the problem. Once the localization has been set (which happens in the Ubuntu Mate installer), running 'sudo rfkill unblock wifi' and a reboot does the trick. Then WiFi (and 5GHz) work perfectly 8-)

If I'm not mistaken, Raspbian has a similar issue.
Webserver stack: 2x Pi 3B | 1x Pi 3B+ ||| Pi Zero W for fooling around

Working on a soccer prediction web app:
https://github.com/MaxVMH/mijnscore
Attempt at writing up-to-date tutorials on making a Raspberry Pi webserver:
http://blog.mijnscore.be/

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 10942
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: Ubuntu image for the new Raspberry Pi 3 B+

Thu Apr 05, 2018 11:41 pm

MaxVMH wrote:
Thu Apr 05, 2018 11:25 am
mahjongg wrote:
Thu Apr 05, 2018 11:20 am
This Ubuntu image probably doesn't have the NEW driver that supports the NEW WiFi interface, that also handles 5GHz Ethernet now.
You probably have to copy that driver from the latest Raspbian to get all its features, the driver you are using now probably only supports the older hardware.

I have put the new drivers in there, so that's not the problem. Once the localization has been set (which happens in the Ubuntu Mate installer), running 'sudo rfkill unblock wifi' and a reboot does the trick. Then WiFi (and 5GHz) work perfectly 8-)
good job... :mrgreen:

User avatar
richlion2
Posts: 75
Joined: Thu Mar 29, 2018 7:14 am

Re: Ubuntu image for the new Raspberry Pi 3 B+

Fri Apr 06, 2018 9:31 am

jblack wrote:
Mon Apr 02, 2018 2:15 pm

To those who are running Ubuntu Mate: how do you like it? Is the performance OK?

I tested some things and found it to be really slow, afterwards I realized the GPU memory was still set to 16MB for my headless projects. I'll probably give it another go later this week.
Raspbian is slow and adding memory to the GPU may not solve all your problems. First of all not all programs utilize the GPU acceleration. VLC for example needs to be recompiled with the option to use the GPU.
https://ubuntu-mate.community/t/compile ... ation/2602

Chromium has all the GPU acceleration options set to disabled and not available on Linux. Firefox- I found some hints on how to turn on, but what was in the tutorial didn't match my Firefox, as it's an older version. So in general there is no point adding memory to GPU unless you have applications enabled to use the acceleration. If you want to watch BBC Iplayer - no chance.

You may though add some more SWAP. Chromium is struggling with default setup to 1GB, it can even halt your system and SWAP will go down to 0 KiB (I mean ZERO) . Change it to at least to 200 in /boot/config.txt. I now have it set to 400, although it is still a bit sluggish. I don't think switching to Ubuntu will help IMHO, although Gnome is driving me crazy - very very utterly basic ( I have never used in on normal PC's ever) compared to modern desktops. The only reason Gnome was chosen was to make the OS light. I would be wary of Ubuntu, as modern desktops tend to be more CPU/power hungry. I never used MATE but I will try it out.

I hope this helps.
Richard

feelslikeautumn
Posts: 250
Joined: Wed Aug 09, 2017 9:51 pm

Re: Ubuntu image for the new Raspberry Pi 3 B+

Fri Apr 06, 2018 11:58 am

The default Gpu acceleration in raspbian is not standard. Chromium in raspbian has been patched so it should have acceleration. If you switch to the vc4 driver, I think you will lose chromium acceleration in raspbian, but gain it in Firefox/chromium in *Ubuntu(mate).

Ubuntu-mate has a precompiled patched vlc package for the raspberry pi.

As far as I'm aware, Vc4 is yet to gain accelerated video decoding, but even without it I can watch YouTube videos in chromium in lubuntu.

gilius
Posts: 50
Joined: Sun Apr 08, 2018 1:12 pm

Re: Ubuntu image for the new Raspberry Pi 3 B+

Sun Apr 08, 2018 3:01 pm

MaxVMH wrote:
Sun Apr 01, 2018 7:36 pm
I was able to make a bootable USB image of Ubuntu Mate for the Raspberry Pi 3B & 3B+. Thanks to everyone who participated in this thread :)

I made torrents of the images:

If anyone prefers a direct download instead of a torrent, send me a PM (not posting those publicly to save my bandwidth)
Are they 32-bit or 64-bit? Thanks!

gilius
Posts: 50
Joined: Sun Apr 08, 2018 1:12 pm

Re: Ubuntu image for the new Raspberry Pi 3 B+

Sun Apr 08, 2018 4:01 pm

The USB version won't boot up on my Pi 3 b+. I first followed this guide:
https://www.raspberrypi.org/documentati ... des/msd.md

And then I used Rufus to copy the IMG file to USB in DDImage mode, and it lists 2 partitions inside disk manager.

Instead of booting from the USB my SDCard Raspbian boots up instead.

Any ideas what the problem is?

ejolson
Posts: 1901
Joined: Tue Mar 18, 2014 11:47 am

Re: Ubuntu image for the new Raspberry Pi 3 B+

Sun Apr 08, 2018 4:23 pm

gilius wrote:
Sun Apr 08, 2018 4:01 pm
The USB version won't boot up on my Pi 3 b+. I first followed this guide:
https://www.raspberrypi.org/documentati ... des/msd.md

And then I used Rufus to copy the IMG file to USB in DDImage mode, and it lists 2 partitions inside disk manager.

Instead of booting from the USB my SDCard Raspbian boots up instead.

Any ideas what the problem is?
Boot priority is to boot the card first if possible. Remove the SD card and try again.

gilius
Posts: 50
Joined: Sun Apr 08, 2018 1:12 pm

Re: Ubuntu image for the new Raspberry Pi 3 B+

Sun Apr 08, 2018 4:36 pm

ejolson wrote:
Sun Apr 08, 2018 4:23 pm
gilius wrote:
Sun Apr 08, 2018 4:01 pm
The USB version won't boot up on my Pi 3 b+. I first followed this guide:
https://www.raspberrypi.org/documentati ... des/msd.md

And then I used Rufus to copy the IMG file to USB in DDImage mode, and it lists 2 partitions inside disk manager.

Instead of booting from the USB my SDCard Raspbian boots up instead.

Any ideas what the problem is?
Boot priority is to boot the card first if possible. Remove the SD card and try again.
OK cool - will give it a try. Can we change that boot order...?

gilius
Posts: 50
Joined: Sun Apr 08, 2018 1:12 pm

Re: Ubuntu image for the new Raspberry Pi 3 B+

Sun Apr 08, 2018 4:58 pm

AWESOME - I'm now writing from Ubuntu Mate on my R Pi 3 b+!!! :mrgreen: Unfortunately, it's a 32-bit Arm7 distro, but at least I get the concept now of how to boot up a new Os via USB...

f1dad
Posts: 1
Joined: Tue Apr 10, 2018 1:58 pm

Re: Ubuntu image for the new Raspberry Pi 3 B+

Tue Apr 10, 2018 2:05 pm

Thanks to @feelslikeautumn and @DougieLawson. I also had to copy over the updated brcm firmware files in /lib/firmware/brcm, but I'm now up and running.

Bignumbas
Posts: 8
Joined: Sat Mar 19, 2016 9:48 am

Re: Ubuntu image for the new Raspberry Pi 3 B+

Fri Apr 13, 2018 8:19 am

I copied the entire raspian boot partition onto my working Pi 3 Ubuntu Mate SDcard but left the old cmdline.txt and it boots to the desktop.
However It says that modules were not loaded and when I get to the desktop there is no mouse/keyboard working and I suspect networking.
Suggestions anyone?
It seems I would have to compile the modules needed before I transplant to the Pi 3B+.
What would I need to make?

MaxVMH
Posts: 113
Joined: Mon Mar 19, 2018 1:26 pm

Re: Ubuntu image for the new Raspberry Pi 3 B+

Fri Apr 13, 2018 9:33 am

Bignumbas wrote:
Fri Apr 13, 2018 8:19 am
I copied the entire raspian boot partition onto my working Pi 3 Ubuntu Mate SDcard but left the old cmdline.txt and it boots to the desktop.
However It says that modules were not loaded and when I get to the desktop there is no mouse/keyboard working and I suspect networking.
Suggestions anyone?
It seems I would have to compile the modules needed before I transplant to the Pi 3B+.
What would I need to make?

They are all in this thread, scattered around on 5 pages. So here's a nice summary :)
(Let us know in case I forgot something.)

Copy the following files from Raspbian to Ubuntu Mate:
  • For Booting: copy bootcode.bin, fixup.dat, start.elf, bcm2710-rpi-3-b-plus.dtb and kernel7.img
  • For keyboard/mouse: copy /lib/modules/4.9.80-v7+ (root partition)
  • For network: copy the contents of /lib/firmware/brcm/ (root partition)

If you want to boot from USB:
  • edit cmdline.txt, change root=/dev/mmcblk0p2 to root=/dev/sda2 (boot partition)
  • edit etc/fstab, change/dev/mmcblk0p2 to sda2 and /dev/mmcblk0p1 to sda1 (root partition)

Torrents of the Ubuntu Mate image with the changes already done (these are not official, I made these so use at own risk):
PS: If anyone was wondering, Ubuntu Mate is slower than Raspbian on the Raspberry Pi and there's less community support. If anyone is doing this because they don't like the Raspbian desktop looks, I recommend customizing it or installing another desktop on top of Raspbian Lite instead of going to Ubuntu Mate.
Webserver stack: 2x Pi 3B | 1x Pi 3B+ ||| Pi Zero W for fooling around

Working on a soccer prediction web app:
https://github.com/MaxVMH/mijnscore
Attempt at writing up-to-date tutorials on making a Raspberry Pi webserver:
http://blog.mijnscore.be/

Bignumbas
Posts: 8
Joined: Sat Mar 19, 2016 9:48 am

Re: Ubuntu image for the new Raspberry Pi 3 B+

Sat Apr 14, 2018 12:04 am

Thanks for that summary MAXVMH
.
After much hair pulling and angst I discovered my problem.
I had copied everything over that was necessary but the +7 modules folder was populated with 0 byte files????
Deleted folder and recopied and all was perfect.
Everything works including wireless etc.
One happy camper.

My only question is why haven't the PI developers documented this easy upgrade fix.
There must be a lot of people using Mate and they release a new board and leave you in the lurch.
It's like stuff you! We use Raspbian, buy our new boards but go away we don't care if you cannot use it.

I use Ubuntu Mate because its my preferred Linux on x86 PC's and its easier to stick with the same system, just like being married :D .

hommar
Posts: 142
Joined: Sat Mar 25, 2017 1:55 pm
Location: Russia, Yekaterinburg

Re: Ubuntu image for the new Raspberry Pi 3 B+

Sat Apr 14, 2018 9:00 pm

I update kernel ubuntu-mate too, but I use official tool rpi-update
This tool update all need files.
I install last kernel 4.9.x
After first run you can use rpi-update for update to 4.14.x

PS I use second system (OS) and update offline ubuntu-mate use chroot

Return to “General discussion”

Who is online

Users browsing this forum: Andyroo, Bing [Bot], cjan, LAMU, rpdom and 47 guests