MikePie
Posts: 2
Joined: Wed Mar 04, 2020 3:11 pm

Pi 3B+ wont boot from an SSD (with OS cloned from microsd with clonezilla)

Wed Mar 04, 2020 3:29 pm

Hello,

i have the Raspberry Pi 3B+, which I am using as a headless server, where the OS is installed on a 64GB microSD card (standard setup).

It is working flawlessly.

But since sd cards aren't really an ideal storage medium to run servers on, I decided to upgrade to an SSD.

So, on my desktop computer I started clonezilla and cloned the raspi microSD to the SSD (with the total disc to disc clone, including the boot sector). After that I confirmed that the UUIDs of the partitions on the SSD were same as those on the microSD card and all seemed fine.
So then I plugged the SSD into the raspi USB port (with no microsd card present) and tried to boot from it.
I got the rainbow picture and then a bunch of errors like
- missing environment variable: bootfile
- cannot autload with TFTPGET
- serverIP not set
and after that the boot process stopped on "U-boot>"

So I unplugged the SSD, then plugged the microSD back in and it booted without any problems.

What could be the problem here? Clonezilla created a perfect copy of the partitions on the sd card, including the boot sector, so it should be working as far as i can tell.

User avatar
rpdom
Posts: 17029
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Pi 3B+ wont boot from an SSD (with OS cloned from microsd with clonezilla)

Wed Mar 04, 2020 4:56 pm

I suspect something in you U-boot configuration is set to look for files on the SD card still. Possibly it is accessing it by device name rather the UUID or PARTUUID.

The default OS Raspbian doesn't use U-boot.
Unreadable squiggle

MikePie
Posts: 2
Joined: Wed Mar 04, 2020 3:11 pm

Re: Pi 3B+ wont boot from an SSD (with OS cloned from microsd with clonezilla)

Wed Mar 04, 2020 6:11 pm

I looked at the boot partition, in all the .txt files but can't find anything that would be referring specifically to the sd card by device name. The os is the ubuntu-server i downloaded here from the Downloads section

fruitoftheloom
Posts: 23132
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Pi 3B+ wont boot from an SSD (with OS cloned from microsd with clonezilla)

Wed Mar 04, 2020 6:34 pm

MikePie wrote:
Wed Mar 04, 2020 6:11 pm
I looked at the boot partition, in all the .txt files but can't find anything that would be referring specifically to the sd card by device name. The os is the ubuntu-server i downloaded here from the Downloads section

Ubuntu-Server is downloaded from the Ubuntu Servers, the link was put on the Downloads Page to make it easier to find alternative Operating Systems which the RPF / RPT do not support.


There is a CLi PiClone which just requires a USB device plugged into the Pi and it copies
over the running SD Card:

https://github.com/raspberrypi-ui/piclone
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

Return to “Ubuntu”