No warranties, it's all on you.
Pay attention to not touch any pins/contacts, if you do not own a enclosure/case for this RPi4 Setup.
Also.. 5 Volt stings a bit.
Now.. you have been warned.
This is fully based on one of Tom's Hardware's articles so all credits go to them.
Why copy-pasting it then? My GitHub Gists vs. SERPs.
As there are currently limitations to the bootloader/EEPROM of the RPi4(b) 2GB/4GB Model you need to manually
- Raspberry Pi 4 (Model b)
- A 5V Power Supply that does what it should (like the official RPi one), also to safe the SSD from any damage
- e.g. Bookworms Expansion Board X825 SSD Shield
- MicroSD <> 4GB
- SSD ?GB (which we want to boot from)
- MicroSD has Raspberrian OS (minimal?)
- SSD has also Raspberrian OS (minimal?) installed
You could also copy the contents of your microSD to the SSD afterwards - if you want to take that approach that is your homework.
- Try booting from your SSD first - maybe it is "fixed" by now and you can boot from the SSD from the get go (remove your microSD for this to work).
- If this works for you, skip everything else
- Boot from your microSD if this did not work (y.y)
- Save via
X, followed by a
rpi-eeprom-update -d -a
- Login with your credentials
- Check if the Bootloader is
15th June 2020or higher.
mount /dev/sda2 /mnt
mount /dev/sda1 /mnt/boot
cp /boot/*.dat /mnt/boot/
cp /boot/*.elf /mnt/boot/
Copy more files?
Yes but first boot from SSD to let Raspberrian OS resize it's data partition size to it's maximum capacity.
For this see Boot from SSD?, then return.
cp -r /etc/ /mnt/etc/
cp -r /opt/ /mnt/opt/
cp -r /root/ /mnt/root/
cp -r /run/ /mnt/run/
Boot from SSD?
- Remove Power Supply
- Remove microSD
- Attach Power Supply
- Be back in the game
You could now return to Copy more files? but first insert the microSD again and mount it/reboot again.
Do not forget that the
cp /from /tos switch positions if you decide to mount instead.