mateusz_pl
Posts: 10
Joined: Sun Dec 20, 2020 11:33 am

RRI 4 - Ubuntu + USB SSD not booting

Sun Dec 20, 2020 12:19 pm

Hi, sorry for my English but I don't know where else search for help.
I'm trying to run Ubuntu Server 20.04 downloaded from https://www.raspberrypi.org/software/operating-systems/ and I have a problem.
Ubuntu works on an SD card but not an SSD or any USB flash drive (I tried a few). When I try to boot from USB SSD or any flash drive but from 2020-12-02-raspios-buster-armhf-lite everything works. When I try to boot from USB, I always remove the card to be sure
I used Raspberry Pi Imager (v1.5) and Rufus (3.13p)

UBUNTU SSD USB 3.0 BOOT - NOT OK
UBUNTU FLASH DRIVE 2.0[SanDisk 16GB] USB BOOT - NOT OK
UBUNTU FLASH DRIVE 3.0[SanDisk 64GB] USB BOOT - NOT OK
UBUNTU FLASH DRIVE 2.0[Other 4GB] USB BOOT - NOT OK
UBUNTU SD CARD - OK
RASPIOS SSD USB 3.0 BOOT - OK
RASPIOS ANY USB BOOT - OK
RASPIOS SD CARD - OK

Bootloader version:

Code: Select all

BOOTLOADER: up-to-date
CURRENT: Fri 11 Dec 11:15:17 UTC 2020 (1607685317)
 LATEST: Fri 11 Dec 11:15:17 UTC 2020 (1607685317)
 FW DIR: /lib/firmware/raspberrypi/bootloader/stable
VL805: up-to-date
CURRENT: 000138a1
 LATEST: 000138a1
Boot log (I read the logs from the UART TXD pin on the raspberry board because I do not have a micro HDMI cable):
There is the same error on all attempts to boot Ubuntu from any USB SSD or flash drive

Code: Select all

\x00\x00\x00\x00MMC:   mmcnr@7e300000: 1, emmc2@7e340000: 0
Loading Environment from FAT... Card did not respond to voltage select!
In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
starting USB...
No working controllers found
## Info: input data size = 6 = 0x6
Hit any key to stop autoboot:  2 \x08\x08\x08 1 \x08\x08\x08 0 
Card did not respond to voltage select!
Card did not respond to voltage select!
starting USB...
No working controllers found
USB is stopped. Please issue 'usb start' first.
starting USB...
No working controllers found
No ethernet found.
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-bcm283x-rpi
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-bcm283x
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default
No ethernet found.
Config file not found
starting USB...
No working controllers found
No ethernet found.
No ethernet found.
For comparison, ubuntu boot logs on the sd card:

Code: Select all

U-Boot> \x00MMC:   mmcnr@7e300000: 1, emmc2@7e340000: 0
Loading Environment from FAT... *** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
starting USB...
No working controllers found
## Info: input data size = 6 = 0x6
Hit any key to stop autoboot:  2 \x08\x08\x08 1 \x08\x08\x08 0 
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
2569 bytes read in 19 ms (131.8 KiB/s)
## Executing script at 02400000
8390521 bytes read in 630 ms (12.7 MiB/s)
Total of 1 halfword(s) were the same
Decompressing kernel...
Uncompressed size: 25907712 = 0x18B5200
29530201 bytes read in 2141 ms (13.2 MiB/s)
Booting Ubuntu (with booti) from mmc 0:...
## Flattened Device Tree blob at 02600000
   Booting using the fdt blob at 0x2600000
   Using Device Tree in place at 0000000002600000, end 000000000260ea47

Starting kernel ...
etc...
Please help, I'll be happy to try any proposal

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

Re: RRI 4 - Ubuntu + USB SSD not booting

Fri Dec 25, 2020 12:19 am

Did you attempt to plug SSD into USB 2.0 port not blue 3.0 to see if it boots?

jbar3640
Posts: 2
Joined: Mon Jan 04, 2021 2:37 pm

Re: RRI 4 - Ubuntu + USB SSD not booting

Mon Jan 04, 2021 2:38 pm

same issue here. using any USB, 2.0 or 3.0.

Vigilans
Posts: 1
Joined: Mon Jan 18, 2021 4:58 pm

Re: RRI 4 - Ubuntu + USB SSD not booting

Mon Jan 18, 2021 4:59 pm

Facing the same problem. How is it going?

rgas05
Posts: 2
Joined: Tue Jan 19, 2021 2:58 am

Re: RRI 4 - Ubuntu + USB SSD not booting

Tue Jan 19, 2021 3:04 am

Having the same issue on a Pi 4 4GB recently flashed with Ubuntu 20.04 64-bit on an SSD.

Trying to reinstall onto a new m.2 SATA with the USB boot option and hitting the same issue as you. Confirmed firmware is up to date. When trying with Ubuntu on the new SSD, cannot even boot.

Any luck with this?

rgas05
Posts: 2
Joined: Tue Jan 19, 2021 2:58 am

Re: RRI 4 - Ubuntu + USB SSD not booting

Tue Jan 19, 2021 4:19 am

I'm not sure I know the root cause, but this bug (not booting to SSD Ubuntu Server 20.04 64-bit) appears to be fixed in Ubuntu Server 20.10 and Desktop. Though I would prefer 20.04, this will do for now.

A comment on this post lead me to the step to try on 20.10 and booted flawlessly.

Ubuntu post: https://askubuntu.com/questions/1254810 ... 4-from-usb

JonG
Posts: 64
Joined: Thu Oct 10, 2019 4:23 am

Re: RRI 4 - Ubuntu + USB SSD not booting

Wed Jan 20, 2021 10:24 am

I'm not sure I know the root cause, but this bug (not booting to SSD Ubuntu Server 20.04 64-bit)

Not really fair to call this a bug, as Ubuntu 20.04 was not intended to boot directly to SSD.

There is a whole topic on how to do it at:
viewtopic.php?f=131&t=278791

In my opinion, too much of a hassle. Easier to either:

1. Use 20.10
or
2. Use 20.04 by booting to SD and running system from SSD (plenty of explanations on how to do this on this board and other places). I have been running 20.04 this way since its release.

yellowzone
Posts: 1
Joined: Thu Apr 08, 2021 2:59 pm

Re: RRI 4 - Ubuntu + USB SSD not booting

Thu Apr 08, 2021 3:00 pm

Thank you, ubuntu 20.10 usb worked fine for me while ubuntu 20.04 did not

Return to “Ubuntu”