xb77
Posts: 2
Joined: Wed May 27, 2020 12:36 pm

SSD pi 4 boot beta applied - now: how to prepare ubuntu 20.04

Wed May 27, 2020 12:39 pm

Hi,
I just took a sd card to apply the beta bootloader on my pi.
Booting from an ssd or usb device with rasperrian (replacing elf and dat files) works fine.
But I'm not able to get an ubuntu up and running. Any hints?
Regards, xb

timg236
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 645
Joined: Thu Jun 21, 2018 4:30 pm

Re: SSD pi 4 boot beta applied - now: how to prepare ubuntu 20.04

Wed May 27, 2020 12:59 pm

IIRC Ubuntu uses u-boot which will need updating with USB-MSD support. Other distributions are unlikely to work until the beta firmware is moved to a production release so that they can package a complete solution.

xb77
Posts: 2
Joined: Wed May 27, 2020 12:36 pm

Re: SSD pi 4 boot beta applied - now: how to prepare ubuntu 20.04

Wed May 27, 2020 5:32 pm

Now I did this tip with removing 2nd and 1st partition and using the sd only booting from ssd.
viewtopic.php?f=131&t=268476&sid=dee0cf ... 1bd2ea09cc

When I only want to have the ssd because of limited lifetime of sd card, is that method good? Only booting from sd card or is the boot partition used more than just in a boot?

lingon
Posts: 164
Joined: Fri Aug 26, 2011 7:31 am

Re: SSD pi 4 boot beta applied - now: how to prepare ubuntu 20.04

Wed May 27, 2020 7:35 pm

It can be done as is discussed in this thread viewtopic.php?f=131&t=268476, but at the moment it is a hack involving error prone manual work. And whenever the kernel is updated it needs to be decompressed manually.

After flashing the USB MSD capable eeprom boot code you need to do the following steps:

Install an Ubuntu image on your SSD

Mount the Ubuntu SSD from a SD-card running Raspbian.

Copy fixup4.dat and start4.elf to the Ubuntu /boot partition.

Disable Uboot in the boot process according to the instructions in the thread.

Uncompress the Ubuntu kernel and change Ubuntus /boot/config.txt to boot that kernel and the corresponding ramdisk.

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

Re: SSD pi 4 boot beta applied - now: how to prepare ubuntu 20.04

Thu May 28, 2020 12:27 pm

When I only want to have the ssd because of limited lifetime of sd card, is that method good? Only booting from sd card or is the boot partition used more than just in a boot?
I believe that this method avoids the SD lifetime issues due to writing to the SD. Files are read from the SD /boot directory on startup, and then all system activity is passed on to the SSD.

Return to “Ubuntu”