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

Ubuntu 18.04

Sun Apr 01, 2018 3:38 pm

I was thinking of creating some 32bit and 64bit desktop arm images of Ubuntu for the upcoming 18.04 release. Anybody have any preference for the desktop? Lubuntu, Xubuntu, Lubuntu-next (lxqt) etc? Thoughts?

Crazyhead
Posts: 15
Joined: Sat Mar 17, 2018 9:22 am

Re: Ubuntu 18.04

Tue Apr 03, 2018 7:45 am

I'd love any of the 64 bit desktop version. Let me know when you made them ^^

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

Re: Ubuntu 18.04

Tue Apr 03, 2018 6:33 pm

How about server? That way we'd be able to install the desktop ourselves :)

EDIT: someone already made one with the Lubuntu desktop (LXDE) so definitely not that one ;)
Up-to-date tutorials on how to create a Raspberry Pi webserver (Raspbian/Apache/MySQL/PHP/SSL):
http://blog.mijnscore.be
It's linked to GitHub so anyone can improve them, make suggestions or add new tutorials:
https://github.com/MaxVMH/mywebdevresources

Crazyhead
Posts: 15
Joined: Sat Mar 17, 2018 9:22 am

Re: Ubuntu 18.04

Tue Apr 03, 2018 7:18 pm

MaxVMH wrote:
Tue Apr 03, 2018 6:33 pm
How about server? That way we'd be able to install the desktop ourselves :)

EDIT: someone already made one with the Lubuntu desktop (LXDE) so definitely not that one ;)
Do you have a direct link to that image for the 3b+?

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

Re: Ubuntu 18.04

Tue Apr 03, 2018 7:42 pm

Crazyhead wrote:
Tue Apr 03, 2018 7:18 pm
Do you have a direct link to that image for the 3b+?

Here you go
Up-to-date tutorials on how to create a Raspberry Pi webserver (Raspbian/Apache/MySQL/PHP/SSL):
http://blog.mijnscore.be
It's linked to GitHub so anyone can improve them, make suggestions or add new tutorials:
https://github.com/MaxVMH/mywebdevresources

Crazyhead
Posts: 15
Joined: Sat Mar 17, 2018 9:22 am

Re: Ubuntu 18.04

Tue Apr 03, 2018 9:06 pm

MaxVMH wrote:
Tue Apr 03, 2018 7:42 pm
Crazyhead wrote:
Tue Apr 03, 2018 7:18 pm
Do you have a direct link to that image for the 3b+?

Here you go
Thank you

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

Re: Ubuntu 18.04

Wed Apr 04, 2018 7:28 am

MaxVMH wrote:
Tue Apr 03, 2018 6:33 pm
How about server? That way we'd be able to install the desktop ourselves :)

EDIT: someone already made one with the Lubuntu desktop (LXDE) so definitely not that one ;)
Ubuntu already release a 32 bit server. For 64 bit you can use the mini.ISO - https://wiki.ubuntu.com/ARM/RaspberryPi ... .2FAArch64 I'd like to get some good instructions together for using that.

That link you gave seems to be a mixture of different things.

Currently, based on how they run on my laptop, I'm favouring Xubuntu.

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

Re: Ubuntu 18.04

Wed Apr 04, 2018 8:59 am

Alright, keep us updated :)
Up-to-date tutorials on how to create a Raspberry Pi webserver (Raspbian/Apache/MySQL/PHP/SSL):
http://blog.mijnscore.be
It's linked to GitHub so anyone can improve them, make suggestions or add new tutorials:
https://github.com/MaxVMH/mywebdevresources

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

Re: Ubuntu 18.04

Wed Apr 04, 2018 12:50 pm

If you want to play about with this yourself, then opensuse have written a guide to booting an ISO on the pi 3. https://en.opensuse.org/HCL:Raspberry_P ... andard_DVD

I don't do it like they do because I don't have a spare USB flash drive. I stick all the necessary bits on a single sd card.

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

Re: Ubuntu 18.04

Wed Apr 04, 2018 8:59 pm

I've put together an example of how to make the mini ISO bootable on the pi3.

Download the arm64 iso http://ports.ubuntu.com/dists/bionic/ma ... t/mini.iso and the device-tree http://ports.ubuntu.com/dists/bionic/ma ... pi-3-b.dtb

Extract and save them to a fat formatted sd card. Make sure you copy the hidden ".disk" folder.

Mount the file /boot/grub/efi.img (on standard Ubuntu 18.04 you can do this by just double clicking on it, but you may have to use a command). Copy the contents to the sd card.

Download the U-boot.bin from opensuse and save to the sd card.

Download the latest pi bootloader files. Create a config.txt file. Save them to the sd card.

If you've done all that you should end up with something like: https://1drv.ms/u/s!AvHY_kl4hMB4f8Fjt7tdOpi9_JM

I've not really used it except to check it boots, but I've noticed the module for the internal sdcard reader is currently missing from the debian-installer. You should be able to install to a USB drive, or once the debian installer has loaded take the sd card out and stick it in a USB reader for the installation.

procount
Posts: 1149
Joined: Thu Jun 27, 2013 12:32 pm
Location: UK

Re: Ubuntu 18.04

Thu Apr 05, 2018 10:44 am

MaxVMH wrote:
Tue Apr 03, 2018 7:42 pm
Crazyhead wrote:
Tue Apr 03, 2018 7:18 pm
Do you have a direct link to that image for the 3b+?
Here you go
This Raspex Lubuntu 18.04 LTS version for Pi2, Pi3 and Pi3B+ is now available using PINN.
PINN - NOOBS with the extras... https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=142574

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

Re: Ubuntu 18.04

Thu Apr 05, 2018 10:47 am

feelslikeautumn wrote:
Wed Apr 04, 2018 8:59 pm
I've put together an example of how to make the mini ISO bootable on the pi3.

I'll try that out next by week (will be busy for the rest of the week - have to do some concerts)

procount wrote:
Thu Apr 05, 2018 10:44 am
This Raspex Lubuntu 18.04 LTS version for Pi2, Pi3 and Pi3B+ is now available using PINN.

Thanks for letting us know :)
Up-to-date tutorials on how to create a Raspberry Pi webserver (Raspbian/Apache/MySQL/PHP/SSL):
http://blog.mijnscore.be
It's linked to GitHub so anyone can improve them, make suggestions or add new tutorials:
https://github.com/MaxVMH/mywebdevresources

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

Re: Ubuntu 18.04

Sat Apr 07, 2018 6:35 pm

Bug tracking missing mmc module in the debian-installer - https://bugs.launchpad.net/ubuntu/+sour ... ug/1761468

Oxwivi
Posts: 59
Joined: Wed Oct 26, 2011 9:33 am

Re: Ubuntu 18.04

Sat Apr 21, 2018 12:38 pm

feelslikeautumn wrote:
Wed Apr 04, 2018 8:59 pm
Download the U-boot.bin from opensuse and save to the sd card.

Download the latest pi bootloader files. Create a config.txt file. Save them to the sd card.
Where do i get either of these? What about WiFi?

If the commands and links to download those are simple and static enough, I think we can script these.

LessThanCorey
Posts: 1
Joined: Sat Apr 21, 2018 11:25 pm

Re: Ubuntu 18.04

Sat Apr 21, 2018 11:44 pm

Is there a Xubuntu release yet for the 3b+?

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

Re: Ubuntu 18.04

Sun Apr 22, 2018 8:07 am

18.04 has not been released yet and I'm not going to start building any raspberry versions until it is. Plus it is nice weather at the moment! So no! 3B+ has made it into the raspi2 kernel for 18.04, but other things like flash-kernel and the pi bootloader firmware files have not been updated. If you want to speed things up you can look into the necessary patch for flash-kernel. I don't have a 3B+.

I'm adding bits to the arm64 section of the ubuntu wiki, my aim is to get some better instructions by the time 18.04 is released. It doesn't make a lot of sense now, but it should change quite a bit over the next few days.

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

Re: Ubuntu 18.04

Sun Apr 22, 2018 8:14 am

Flash kernel stuff - https://wiki.debian.org/InstallingDebia ... of_the_box (scroll down to the bottom of the section)

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

Re: Ubuntu 18.04

Sun Apr 22, 2018 12:11 pm

Somebody has already figured it out the flash-kernel database entry https://github.com/ev3dev/flash-kernel/ ... 787389dc55

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

Re: Ubuntu 18.04

Tue Apr 24, 2018 3:17 pm

The Ubuntu wiki now contains instructions on how to boot from the generic arm64 ISOs. It also contains instructions on how to update WiFi firmware. It needs a bit of a clean up/sort out, but the info is there.

I did my first attempt at the xubuntu builds today, but sadly things have not progressed well. The list of problems:

- The current git version of U-boot seems to cause the installed grub2 to crash. It also causes the kernel to crash on shutdown. UPDATE: https://lists.ubuntu.com/archives/kerne ... 92002.html
- The Ubuntu generic kernel seems to hang for a minute with a blank screen just after the grub2 selection. Problem with kernel/grub2/u-boot?
- The raspi2 64bit kernel has the upstream dtb files which causes a fail to boot They should be contained in a new package linux-modules
- There isn't a u-boot-rpi 64 bit package
Last edited by feelslikeautumn on Fri Apr 27, 2018 9:50 am, edited 1 time in total.

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

Re: Ubuntu 18.04

Tue Apr 24, 2018 9:23 pm

The big blocker at the moment is my external hard drive seems to stop working after a period of time. Anybody else experiencing problems with external usb drives and recent kernels? Don't know if it is the drive failing, adapter, kernel?.....grrr......

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

Re: Ubuntu 18.04

Thu Apr 26, 2018 5:43 pm

Progress! I was able to build the arm64 image last night. There are still a few things to sort out. Firefox seems to be bringing down the whole system when used with the 'live' installer. I'll probably swap it for chromium. That is a little bit annoying because I wanted to make it a pure xubuntu system. The plan is/was to make the ISO (for want of a better word) using unaltered packages. Any raspberry customisations like installing firmware or the pi partitioning scheme would be done through a preseed file. That way it is clear what has been done.

If people want to have a go at building their own image, there is now a section on the Ubuntu wiki that shows how to do it through the debian live build system (which is what I'm using).

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

Re: Ubuntu 18.04

Mon Apr 30, 2018 3:09 pm

Image

Xubuntu armhf with arm64 kernel and firefox running under multiarch.

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

Re: Ubuntu 18.04

Tue May 01, 2018 4:05 pm

I think I've figured out the various bits I need for a fully automated install now. I was having a problem with the /boot/firmware fat mount point, but a small patch (to change the mount options) to partman-basicfilesystem has now sorted that. It's just a case of putting it all together now and hoping ubiquity preseeding works like the documentation!

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

Re: Ubuntu 18.04

Sun May 06, 2018 1:52 pm

Xubuntu 18.04 armhf (32 bit) for raspberry pi 2/3/3B+ - https://1drv.ms/u/s!AvHY_kl4hMB4gQByxNK9-u7Nyuko

Works just like the regular amd64 Ubuntu installer. It is NOT a disk image. Extract all the files (including the usually hidden .disk folder) to a fat formatted USB drive/SD card.

If nobody finds any problems with it, then I'll upload an arm64 version.

All packages are stock Ubuntu ones. No optimisations have been made for the pi. The only modifications are in the preseed/raspberry folder and these are to make the installer/WiFi work. Firefox currently crashes on start up, this has been a known issue with armhf Firefox for a while now.
Last edited by feelslikeautumn on Sun May 13, 2018 10:54 am, edited 1 time in total.

energyi
Posts: 69
Joined: Tue Mar 24, 2015 9:39 pm

Re: Ubuntu 18.04

Thu May 10, 2018 12:49 pm

Thanks for all the work on this! Any reviews of how it performs on Rpi3?
energyi

Return to “Other”

Who is online

Users browsing this forum: No registered users and 2 guests