User avatar
loboris
Posts: 61
Joined: Sun May 10, 2020 10:18 pm

Re: New Ubuntu Mate arm64 RaspberryPi 4 image

Mon Aug 17, 2020 11:41 am

NicknDi wrote:
Mon Aug 17, 2020 11:30 am
You possibly missed the intro to my earlier post: after successfully resizing the rootfs partition, something went wrong when I then tried to resize the boot partition (not realising I didn't need to, having not absorbed the info you've re-pointed me to) and the boot partition is now corrupted as something went wrong in the gparted resizing process. I got a warning from gparted and the RPi no longer boots successfully from the ssd; it gets part of the way then stops with various error messages.
You can simply format the boot partition (the simplest way is using gparted), then restore the files to it.
The backup of the boot partition content is available in /opt/boot_<kernel_ver> directory (written when the kernel was installed).
The cmdline.txt & config.txt are not there, you must restore them from elsewhere...

You can easily mount the image file, for example with Mate Disk Image Mounter, and copy the needed files...

NicknDi
Posts: 12
Joined: Tue Jul 07, 2020 9:47 am

Re: New Ubuntu Mate arm64 RaspberryPi 4 image

Mon Aug 17, 2020 12:38 pm

Thank you very much. That's the info I was after.

luffingsails
Posts: 1
Joined: Thu Aug 20, 2020 4:24 pm

Re: New Ubuntu Mate arm64 RaspberryPi 4 image

Thu Aug 20, 2020 6:42 pm

loboris wrote:
Wed Aug 05, 2020 8:30 am
Khurram wrote:
Tue Aug 04, 2020 7:21 pm
It does not work on my Pi 4 4 GB. It resizes the filesystem, reboots and gets stuck. Please see the screenshot. I updated the eeprom to Jul 16 2020 beforehand.
Did you flashed the ssd directly from image ?

Does the image boots from sdcard inserted into usb reader ?

Does your ssd adapter controller support UAS ?
Some USB-SATA controllers works perfectly fine on PC, but do not work on RPi4, like this one I have:
ID 152d:0578 JMicron Technology Corp. / JMicron USA Technology Corp. JMS567 SATA 6Gb/s bridge

If the last is the case, add to the end of cmdline.txt:

Code: Select all

 usb-storage.quirks=152d:0578:u
Replace the USB ID with yours, if needed.
Just FYI, I was trying to install this OS onto a Kingston 240G A400 SATA 3 drive (links below). I did have to modify the cmdline.txt file using this quirk. Otherwise, it would not boot. Thanks a ton to the OP for putting together. It's a lot of effort and I love the benefit.

Cable: https://www.amazon.com/gp/product/B07S9 ... UTF8&psc=1
Drive: https://www.amazon.com/gp/product/B01N5 ... UTF8&psc=1

mrg9999
Posts: 9
Joined: Sun Jun 09, 2019 12:08 pm

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Thu Aug 20, 2020 7:10 pm

I'm also having trouble with this.
Triied on rpi 4 4gb/8gb both have eeprom mod for usb boot. cables and ssd UASP both work fine for other OS. I tried adding the

3rd reboot I get a kernel panic. Do I need to change anything. I tried usb storage quirks as reported for these drives (not previously needed)
2020-08-20 - rpi 4  panic.jpg
2020-08-20 - rpi 4 panic.jpg (246.68 KiB) Viewed 680 times

Is there some step I'm missing?
Mr.G

kingo71
Posts: 6
Joined: Sun Jun 28, 2020 2:25 pm

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Thu Aug 20, 2020 8:11 pm

mrg9999 wrote:
Thu Aug 20, 2020 7:10 pm
I'm also having trouble with this.
Triied on rpi 4 4gb/8gb both have eeprom mod for usb boot. cables and ssd UASP both work fine for other OS. I tried adding the

3rd reboot I get a kernel panic. Do I need to change anything. I tried usb storage quirks as reported for these drives (not previously needed)

2020-08-20 - rpi 4 panic.jpg


Is there some step I'm missing?
Same error here, tried a USB3 stick and worked fine. Only with the SSD doesn't work but the same SSD works with Raspberry OS.
Something to change in the Kernel?

zjawa
Posts: 2
Joined: Thu Aug 20, 2020 8:18 pm

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Thu Aug 20, 2020 8:25 pm

I have a problem with WiFi. The system detects the network, I enter the password, but after a while it tells me to enter the password again. It happens again and again. Once connected after a few times but only for a moment but internet was very unstable. I checked on 2 different wifi networks. Any suggestions? The lastest build...

User avatar
loboris
Posts: 61
Joined: Sun May 10, 2020 10:18 pm

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Thu Aug 20, 2020 8:53 pm

kingo71 wrote:
Thu Aug 20, 2020 8:11 pm
[Same error here, tried a USB3 stick and worked fine. Only with the SSD doesn't work but the same SSD works with Raspberry OS.
Something to change in the Kernel?
The kernel is built from raspberrypi repository. I don't know if RaspberryOS's kernel is the same.

Is the SSD drive reported to use uas in RaspberrypiOS? Can you do some speed tests to confirm the uas is acctually used?

You will hardly notice any difference with or without uas (with quirks), unless transferring realy big files (100s of MB)...

I can't really trust RPi4 USB3 controller (and it's driver) to support UAS reliably, I think I'll always just disable it.
The same USB3->SATA controller which work without any issue (using uas) on 3 different PC motherboards (Intel amd64) and on an armhf board (Odroid-XU4) fails on RPi4 (using the same OS and kernel version). It must mean something (not good for RPi4).

User avatar
loboris
Posts: 61
Joined: Sun May 10, 2020 10:18 pm

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Thu Aug 20, 2020 9:00 pm

zjawa wrote:
Thu Aug 20, 2020 8:25 pm
I have a problem with WiFi. The system detects the network, I enter the password, but after a while it tells me to enter the password again. It happens again and again. Once connected after a few times but only for a moment but internet was very unstable. I checked on 2 different wifi networks. Any suggestions? The lastest build...
Maybe you have a really bad WiFi signal or the RPi is in a metal enclosure?
Anyway, once connected, the credentials should be remembered and you should not be asked to enter them again...

mrg9999
Posts: 9
Joined: Sun Jun 09, 2019 12:08 pm

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Fri Aug 21, 2020 12:17 am

kingo71 wrote:
Thu Aug 20, 2020 8:11 pm
mrg9999 wrote:
Thu Aug 20, 2020 7:10 pm
I'm also having trouble with this.
Triied on rpi 4 4gb/8gb both have eeprom mod for usb boot. cables and ssd UASP both work fine for other OS. I tried adding the

3rd reboot I get a kernel panic. Do I need to change anything. I tried usb storage quirks as reported for these drives (not previously needed)

2020-08-20 - rpi 4 panic.jpg


Is there some step I'm missing?
Same error here, tried a USB3 stick and worked fine. Only with the SSD doesn't work but the same SSD works with Raspberry OS.
Something to change in the Kernel?
[SOLVED] {for me anyway]
installed to microsd booted fine
cloned the microsd to ssd using dd (sudo dd if=/dev/sda of=/dev/sdb bs=10M) shutdown and removed micro sd and booted fine from ssd

Is something with the resize going wrong maybe?
Mr.G

zjawa
Posts: 2
Joined: Thu Aug 20, 2020 8:18 pm

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Fri Aug 21, 2020 5:39 am

loboris wrote:
Thu Aug 20, 2020 9:00 pm
zjawa wrote:
Thu Aug 20, 2020 8:25 pm
I have a problem with WiFi. The system detects the network, I enter the password, but after a while it tells me to enter the password again. It happens again and again. Once connected after a few times but only for a moment but internet was very unstable. I checked on 2 different wifi networks. Any suggestions? The lastest build...
Maybe you have a really bad WiFi signal or the RPi is in a metal enclosure?
Anyway, once connected, the credentials should be remembered and you should not be asked to enter them again...
I thought maybe the signal is weak but it detects 3 bars. I have the Pi screwed to the monitor in a printed PLA housing. That's why I checked and turned ON the Hotspot on the phone and put it behind the monitor, right under the Pi. The same problem. I didn't have such a problem on the Raspberry Pi OS.

Edit: I did it. The problem was not with the WiFi. The date was set 5 days ahead. I couldn't change the date in the options, I had to do it through the terminal. Everything is fine now.
Last edited by zjawa on Fri Aug 21, 2020 4:22 pm, edited 1 time in total.

kingo71
Posts: 6
Joined: Sun Jun 28, 2020 2:25 pm

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Fri Aug 21, 2020 6:06 am

mrg9999 wrote:
Fri Aug 21, 2020 12:17 am
kingo71 wrote:
Thu Aug 20, 2020 8:11 pm
mrg9999 wrote:
Thu Aug 20, 2020 7:10 pm
I'm also having trouble with this.
Triied on rpi 4 4gb/8gb both have eeprom mod for usb boot. cables and ssd UASP both work fine for other OS. I tried adding the

3rd reboot I get a kernel panic. Do I need to change anything. I tried usb storage quirks as reported for these drives (not previously needed)

2020-08-20 - rpi 4 panic.jpg


Is there some step I'm missing?
Same error here, tried a USB3 stick and worked fine. Only with the SSD doesn't work but the same SSD works with Raspberry OS.
Something to change in the Kernel?
[SOLVED] {for me anyway]
installed to microsd booted fine
cloned the microsd to ssd using dd (sudo dd if=/dev/sda of=/dev/sdb bs=10M) shutdown and removed micro sd and booted fine from ssd

Is something with the resize going wrong maybe?
Great, I'll give it a try.
Thank you for sharing your solution.

rodeth37
Posts: 2
Joined: Fri Aug 21, 2020 12:28 pm

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Fri Aug 21, 2020 12:30 pm

Hi!

I cant manage to work dual screens on this OS. Any workarounds for this?

lvramanan
Posts: 5
Joined: Mon Aug 10, 2020 5:38 am

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Fri Aug 21, 2020 3:08 pm

mrg9999 wrote:
Fri Aug 21, 2020 12:17 am
kingo71 wrote:
Thu Aug 20, 2020 8:11 pm
mrg9999 wrote:
Thu Aug 20, 2020 7:10 pm
I'm also having trouble with this.
Triied on rpi 4 4gb/8gb both have eeprom mod for usb boot. cables and ssd UASP both work fine for other OS. I tried adding the

3rd reboot I get a kernel panic. Do I need to change anything. I tried usb storage quirks as reported for these drives (not previously needed)

2020-08-20 - rpi 4 panic.jpg


Is there some step I'm missing?
Same error here, tried a USB3 stick and worked fine. Only with the SSD doesn't work but the same SSD works with Raspberry OS.
Something to change in the Kernel?
[SOLVED] {for me anyway]
installed to microsd booted fine
cloned the microsd to ssd using dd (sudo dd if=/dev/sda of=/dev/sdb bs=10M) shutdown and removed micro sd and booted fine from ssd

Is something with the resize going wrong maybe?
Perfect ! That solved the issue for me too. Appreciate for sharing the solution

BranLoux896
Posts: 33
Joined: Tue Jan 08, 2019 3:23 pm

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Fri Aug 21, 2020 5:15 pm

Hey loboris, do you have any directive on how to get audio to default to HDMI out? I've tried adjusting it in raspi-config as well as trying to mess with some settings with alsamixer and pulseaudio, but was unsuccessful. I can get the audio to work by adjusting the output in the GUI, but it reverts back to the 3.5mm headphone jack once I reboot.

arn9999
Posts: 1
Joined: Fri Aug 21, 2020 7:52 pm

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Fri Aug 21, 2020 7:58 pm

I can confirm that this solution worked for me too - just an addition to anyone who doesn't know commands very well, make sure to run lsblk in terminal to get your specific drive names - don't rely on them being named sda/sdb etc - cause they may not be, at least they weren't for me. After that, run the sudo dd command below and it should then be bootable - as I was also getting the same error every time without doing it like this. Thanks for your solution post!!
lvramanan wrote:
Fri Aug 21, 2020 3:08 pm
mrg9999 wrote:
Fri Aug 21, 2020 12:17 am
kingo71 wrote:
Thu Aug 20, 2020 8:11 pm


Same error here, tried a USB3 stick and worked fine. Only with the SSD doesn't work but the same SSD works with Raspberry OS.
Something to change in the Kernel?
[SOLVED] {for me anyway]
installed to microsd booted fine
cloned the microsd to ssd using dd (sudo dd if=/dev/sda of=/dev/sdb bs=10M) shutdown and removed micro sd and booted fine from ssd

Is something with the resize going wrong maybe?
Perfect ! That solved the issue for me too. Appreciate for sharing the solution

rodeth37
Posts: 2
Joined: Fri Aug 21, 2020 12:28 pm

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Fri Aug 21, 2020 11:04 pm

Anyone here tried connecting 2 monitors? The OS only recognizing one monitor and the other one is just a rainbow square showing. May I know if dual screen is supported on this OS or if there are workarounds to fix the issue?

akash17
Posts: 2
Joined: Sun Apr 12, 2020 12:22 am

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Sat Aug 22, 2020 4:45 am

getting a panic error and no go... should the drive be formated with btrfs? If so, how... not finding clear info on the process.

User avatar
loboris
Posts: 61
Joined: Sun May 10, 2020 10:18 pm

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Sat Aug 22, 2020 4:03 pm

rodeth37 wrote:
Fri Aug 21, 2020 11:04 pm
Anyone here tried connecting 2 monitors? The OS only recognizing one monitor and the other one is just a rainbow square showing. May I know if dual screen is supported on this OS or if there are workarounds to fix the issue?
It's not an issue.
Just check your /boot/config.txt. If you have max_framebuffers=1, change it to max_framebuffers=2 and you can use two monitors.
Last edited by loboris on Sat Aug 22, 2020 4:04 pm, edited 1 time in total.

kingo71
Posts: 6
Joined: Sun Jun 28, 2020 2:25 pm

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Sat Aug 22, 2020 4:04 pm

For who is interested in have realVNC working on this distro, here is how to do it:
Since we will install the 32bit version, first of all we need to add the armhf architechture to our package manager.

Code: Select all

sudo dpkg --add-architecture armhf
sudo apt update
1 .Donwload and install the deb package for raspberry from https://www.realvnc.com/en/connect/down ... spberrypi/
2. copy the following lib files from the Pi4 firmware repository https://github.com/raspberrypi/firmware ... opt/vc/lib

Code: Select all

libbcm_host.so
libvcos.so
libmmal.so
libmmal_core.so
libmmal_components.so
libmmal_util.so
libmmal_vc_client.so
libchiq_arm.so
libvcsm.so
libcontainers.so
to the folder:

Code: Select all

/usr/lib
3. type the following on a terminal window to have vnc server starting at every boot:

Code: Select all

sudo systemctl enable vncserver-x11-serviced.service
That's it.

Hope this can be useful to someone.
Angelo.
Last edited by kingo71 on Sun Aug 23, 2020 5:51 pm, edited 2 times in total.

User avatar
loboris
Posts: 61
Joined: Sun May 10, 2020 10:18 pm

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Sat Aug 22, 2020 4:08 pm

akash17 wrote:
Sat Aug 22, 2020 4:45 am
getting a panic error and no go... should the drive be formated with btrfs? If so, how... not finding clear info on the process.
Could you give more information about what have you done? Are you tring to boot from sdcard or usb disk?
The process couldn't be simpler, just write the image to the sdcard.

thatchunkylad198966
Posts: 250
Joined: Thu Jul 04, 2019 10:21 am
Location: UK, Birmingham

Re: New Ubuntu Mate arm64 RaspberryPi 4 image

Sat Aug 22, 2020 4:48 pm

loboris wrote:
Mon Aug 03, 2020 1:07 pm
thatchunkylad198966 wrote:
Mon Aug 03, 2020 11:33 am
So... this isn't stable at all.
I flashed to an old sdcard, ran "raspi-config" and checked "boot" from USB. it booted, restarted itself to resize then gave a kernel panic and doesn't go any further.

I'm done. thanks for your effort.
Sorry, but according to this thread you are not willing to listen what others recommend to try.

Booting from USB on RPi4 has absolutely nothing to do with the OS installed. It is function of pre-boot configuration and discussed all over this forum.
I'm not stupid, I know how USB-BOOT works.
I ran your image, flashed an SSD, copied over the elf and dat files; ran raspi-config and checked USB-BOOT. it reboots, resizes... try and reboot again and I get a kernel panic like others in this thread.

Again, your image isn't stable but thanks for the effort. (:
One man's trash is another man's treasure! :) Pi's I have; Pi Zero, Pi Zero W, Pi 2 x2, Pi 3 x2, Pi 4 4GB x2.

User avatar
loboris
Posts: 61
Joined: Sun May 10, 2020 10:18 pm

Re: New Ubuntu Mate arm64 RaspberryPi 4 image

Sat Aug 22, 2020 4:54 pm

thatchunkylad198966 wrote:
Sat Aug 22, 2020 4:48 pm
I'm not stupid, I know how USB-BOOT works.
I ran your image, flashed an SSD, copied over the elf and dat files; ran raspi-config and checked USB-BOOT. it reboots, resizes... try and reboot again and I get a kernel panic like others in this thread.

Again, your image isn't stable but thanks for the effort. (:
I think it is very stable.

You don't need to copy any elf or dat files or run raspi-config, where have you heard of that...

thatchunkylad198966
Posts: 250
Joined: Thu Jul 04, 2019 10:21 am
Location: UK, Birmingham

Re: New Ubuntu Mate arm64 RaspberryPi 4 image

Sat Aug 22, 2020 5:22 pm

loboris wrote:
Sat Aug 22, 2020 4:54 pm
thatchunkylad198966 wrote:
Sat Aug 22, 2020 4:48 pm
I'm not stupid, I know how USB-BOOT works.
I ran your image, flashed an SSD, copied over the elf and dat files; ran raspi-config and checked USB-BOOT. it reboots, resizes... try and reboot again and I get a kernel panic like others in this thread.

Again, your image isn't stable but thanks for the effort. (:
I think it is very stable.

You don't need to copy any elf or dat files or run raspi-config, where have you heard of that...
What you think and what it actually is are two different things.
Multiple users in this thread having a kernel panic with your image so suggests to me it isn't stable.
One man's trash is another man's treasure! :) Pi's I have; Pi Zero, Pi Zero W, Pi 2 x2, Pi 3 x2, Pi 4 4GB x2.

lvramanan
Posts: 5
Joined: Mon Aug 10, 2020 5:38 am

Re: New Ubuntu Mate arm64 RaspberryPi 4 image

Sun Aug 23, 2020 4:19 am

thatchunkylad198966 wrote:
Sat Aug 22, 2020 5:22 pm
loboris wrote:
Sat Aug 22, 2020 4:54 pm
thatchunkylad198966 wrote:
Sat Aug 22, 2020 4:48 pm
I'm not stupid, I know how USB-BOOT works.
I ran your image, flashed an SSD, copied over the elf and dat files; ran raspi-config and checked USB-BOOT. it reboots, resizes... try and reboot again and I get a kernel panic like others in this thread.

Again, your image isn't stable but thanks for the effort. (:
I think it is very stable.

You don't need to copy any elf or dat files or run raspi-config, where have you heard of that...
What you think and what it actually is are two different things.
Multiple users in this thread having a kernel panic with your image so suggests to me it isn't stable.
And solutions have been provided for the Kernel panic as well. Please check the previous threads on the solution.

KAB1
Posts: 1
Joined: Sun Aug 23, 2020 4:14 am

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Sun Aug 23, 2020 4:39 am

Thanks for this. Took a couple of tries but eventually worked. Originally I had the RPi 4 4GB in a pimoroni case with the pimoroni fan shim and had absolutely no luck at all. I had used the RPi Imager onto an SD card. Would not boot either from the SD card slot or the USB with SD card reader.

I then swapped then Pi into an Argon One case. used Balena Etcher on an SD card and inserted the card reader into the USB3 port. Suddenly everything worked. I then inserted the SD card into the slot. This also worked.
I then used Balena Etcher to image a 64GB Sandisk flash drive. This also works.

I had downloaded two images from different sources. This may have been the problem, or it could have been the imaging software. Used Win 10 to do this.

I have also booted an RPi4 8GB from the flash drive.

There is no need to copy any dat or elf files.

Previous attempts to install Unbuntu flavours since the eeprom update have resulted in error messages popping up. The errors say nothing other than 'A problem occurred'. Doesn't stop the boot or affect the usage but it is annoying. I have seen no such error using this image.

Well done.

Return to “Ubuntu”