soma72
Posts: 38
Joined: Mon Sep 07, 2020 12:19 am

Success - Ubuntu MATE Groovy Gorilla (dev) 20.10 USB 3.0 SSD boot

Wed Sep 23, 2020 11:37 pm

Success - Ubuntu MATE Groovy Gorilla (dev) 20.10 USB 3.0 SSD boot

OS: Ubuntu MATE Groovy Gorilla (development branch) aarch64
Host: Raspberry Pi 4 Model B Rev 1.4
Kernel: 5.8.0-1002-raspi

The process has changed slightly to get Ubuntu Server 20.10 (Groovy Gorilla) Daily Build booting for USB 3.0 SSD.

No need to decompress vmlinuz, just copy to vmlinux
No need for either of the auto-decompress scripts.
No need to copy *.dat or *.elf from repository.

Modify the desktopify script to change version check from "focal" to "groovy".

Ensure USB 3.0 SSD does not have UAS conflict.

Steps for USB boot listed in other posts still required.
config.txt and/or /boot/firmware/usercfg.txt

Default sound can be fixed by modifying /etc/pulse/defaul.pa by removing the comment from the following and adding device info -
load-module module-alsa-sink device=hw:0,0

Fixes exist for initrams unpacking failed or issue with Generating /boot/initrd.img-5.8.0-1002-raspi

Overclocking works

Thanks to - ETA Prime, leepsvideo, WimpysWorld, loboris, jsciamms, any many others
Attachments
Screenshot at 2020-09-23 21-27-42.png
Screenshot at 2020-09-23 21-27-42.png (210.27 KiB) Viewed 2871 times

miketvguides
Posts: 3
Joined: Tue Sep 29, 2020 1:29 am

Re: Success - Ubuntu MATE Groovy Gorilla (dev) 20.10 USB 3.0 SSD boot

Tue Sep 29, 2020 1:33 am

Hi,

I followed the steps but have issue with Generating /boot/initrd.img-5.8.0-1002-raspi

How did you fix this issue?

soma72
Posts: 38
Joined: Mon Sep 07, 2020 12:19 am

Re: Success - Ubuntu MATE Groovy Gorilla (dev) 20.10 USB 3.0 SSD boot

Wed Sep 30, 2020 12:10 am

This is what worked for me.

Remove or backup all initrd.img files in /boot and/or /boot/firmware
Uninstall initramfs-tools
Reinstall initramfs-tools
Reboot
Update and Upgrade

sudo rm /boot/initrd.img*
sudo update-initramfs -c -k all (not sure this step is needed)
sudo apt remove initramfs-tools
sudo apt clean
sudo apt install initramfs-tools
sudo reboot
sudo apt update && sudo apt upgrade

miketvguides
Posts: 3
Joined: Tue Sep 29, 2020 1:29 am

Re: Success - Ubuntu MATE Groovy Gorilla (dev) 20.10 USB 3.0 SSD boot

Wed Sep 30, 2020 2:56 pm

Thank you. Here are the sequence that works for me:

sudo rm /boot/initrd.img*
sudo apt remove initramfs-tools
sudo apt clean
sudo apt install initramfs-tools
sudo update-initramfs -c -k all
sudo reboot
sudo apt update && sudo apt upgrade

Sparks135
Posts: 139
Joined: Tue Feb 28, 2017 7:44 pm

Re: Success - Ubuntu MATE Groovy Gorilla (dev) 20.10 USB 3.0 SSD boot

Sun Nov 15, 2020 4:10 am

miketvguides wrote:
Wed Sep 30, 2020 2:56 pm
Thank you. Here are the sequence that works for me:

sudo rm /boot/initrd.img*
sudo apt remove initramfs-tools
sudo apt clean
sudo apt install initramfs-tools
sudo update-initramfs -c -k all
sudo reboot
sudo apt update && sudo apt upgrade
I am new to this, I have installed a working copy of 20.10 Mate desktop on the SD and the SSD, but I am lost. Do I perform these commands with the SD card in and the SSD in also? Any help would be appreciated. Thanks.
UPDATE: tried all the code with SD card and SSD connected, no luck on booting.
Screenshot at 2020-11-14 23-07-29.png
Screenshot at 2020-11-14 23-07-29.png (83.31 KiB) Viewed 1876 times

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

Re: Success - Ubuntu MATE Groovy Gorilla (dev) 20.10 USB 3.0 SSD boot

Mon Nov 16, 2020 11:12 am

/shrug

As-long as your EEPROM is up-to-date -- you don't have to do anything else.
Flash Ubuntu 20.10 and boot from USB-SSD.
[NEW] Ubuntu - CM4/RPi4B custom image(s)! XFCE4, LXQt, i3-WM, WireGuard, Samba, Kodi, Latest MESA graphics drivers!

Code: Select all

https://www.raspberrypi.org/forums/viewtopic.php?f=131&t=314419

Sparks135
Posts: 139
Joined: Tue Feb 28, 2017 7:44 pm

Re: Success - Ubuntu MATE Groovy Gorilla (dev) 20.10 USB 3.0 SSD boot

Mon Nov 16, 2020 1:19 pm

thatchunkylad198966 wrote:
Mon Nov 16, 2020 11:12 am
/shrug

As-long as your EEPROM is up-to-date -- you don't have to do anything else.
Flash Ubuntu 20.10 and boot from USB-SSD.
I found out the problem, my SSD will not boot from USB 3.0 only from 2.0. Until there is a Mate fix I am stuck at 2.0. Do you know a fix?

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

Re: Success - Ubuntu MATE Groovy Gorilla (dev) 20.10 USB 3.0 SSD boot

Mon Nov 16, 2020 1:23 pm

Sparks135 wrote:
Mon Nov 16, 2020 1:19 pm
thatchunkylad198966 wrote:
Mon Nov 16, 2020 11:12 am
/shrug

As-long as your EEPROM is up-to-date -- you don't have to do anything else.
Flash Ubuntu 20.10 and boot from USB-SSD.
I found out the problem, my SSD will not boot from USB 3.0 only from 2.0. Until there is a Mate fix I am stuck at 2.0. Do you know a fix?
You can add usb-storage.quirks to your cmdline.txt and see if it boots.
There's a post on the forum, search for it.

What adapter are you using?
[NEW] Ubuntu - CM4/RPi4B custom image(s)! XFCE4, LXQt, i3-WM, WireGuard, Samba, Kodi, Latest MESA graphics drivers!

Code: Select all

https://www.raspberrypi.org/forums/viewtopic.php?f=131&t=314419

Sparks135
Posts: 139
Joined: Tue Feb 28, 2017 7:44 pm

Re: Success - Ubuntu MATE Groovy Gorilla (dev) 20.10 USB 3.0 SSD boot

Mon Nov 16, 2020 3:33 pm

thatchunkylad198966 wrote:
Mon Nov 16, 2020 1:23 pm
Sparks135 wrote:
Mon Nov 16, 2020 1:19 pm
thatchunkylad198966 wrote:
Mon Nov 16, 2020 11:12 am
/shrug

As-long as your EEPROM is up-to-date -- you don't have to do anything else.
Flash Ubuntu 20.10 and boot from USB-SSD.
I found out the problem, my SSD will not boot from USB 3.0 only from 2.0. Until there is a Mate fix I am stuck at 2.0. Do you know a fix?
You can add usb-storage.quirks to your cmdline.txt and see if it boots.
There's a post on the forum, search for it.

What adapter are you using?
How do i do that, I am new to this.

soma72
Posts: 38
Joined: Mon Sep 07, 2020 12:19 am

Re: Success - Ubuntu MATE Groovy Gorilla (dev) 20.10 USB 3.0 SSD boot

Mon Nov 16, 2020 4:55 pm

Sparks135 wrote:
Mon Nov 16, 2020 3:33 pm

How do i do that, I am new to this.
Use the Search option above to find references to "quirks"
Here's two relevant references.

viewtopic.php?f=131&t=288232&p=1743804& ... s#p1743804

viewtopic.php?t=245931

Mike_suffolk
Posts: 1
Joined: Fri Dec 18, 2020 11:25 am

Re: Success - Ubuntu MATE Groovy Gorilla (dev) 20.10 USB 3.0 SSD boot

Fri Dec 18, 2020 12:29 pm

Hi. Thanks for the help here as my problem is now solved, I still don't understand it but I'll describe it.

I am using the Raspberry pi 400 and Sabrent model No. EC-UASP enclosures with two off Kingston 125 GB SSD and one Kioxia 250 MG SSD. on the two Kingston SSD when assembled into the enclosures I had to add the quirks to /boot/cmdline.txt for the Raspberry pi 400 OS and for Linux Mate OS, and then they booted just fine on the USB3 port.

The Kioxia SSD is the one that gave me the trouble. It would boot Ubuntu 20.10 OK if connected to the Raspberry pi 400 USB3 port via a direct cable connection. When I added the quirks to /boot/cmdline.txt and put in into the enclosure it did not work. Reading the above messages I tried it in the USB 2 port and it worked.

So many thanks and if there is a solution for the USB3 I would be please to learn of it. If you are wondering why so many OS? It's just 'cause I wanted to see all the differences.

Return to “Ubuntu”