Raspberry Pi 4 Boot from SSD Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Heisenberg
Posts: 5
Joined: Tue May 19, 2020 7:50 pm

Raspberry Pi 4 Boot from SSD

Post by Heisenberg »

Now Raspberry Pi 4 bootloader Support Boot from USB, i use dietpi with SSD and Boot from SD Card, can i now pull SD Card Out?

Sry my english...
User avatar
Joulinar
Posts: 5609
Joined: Sat Nov 16, 2019 12:49 am

Re: Raspberry Pi 4 Boot from SSD

Post by Joulinar »

Hi,

many thanks for your request. No, you can't simply remove the SD card because it contains the Boot File System. First you would need to ensure to have latest Raspberry Pi firmware installed. If this is the case, we recommend to flash an actual DietPi image directly to the SSD drive and to boot from SSD right a way.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
WarHawk
Posts: 772
Joined: Thu Jul 20, 2017 8:55 am

Re: Raspberry Pi 4 Boot from SSD

Post by WarHawk »

What would be sweet is to have a VERY tiny /boot SD card .img (say around 100-500mb)

Then inside the /boot it points to the rest of the OS, so it will boot the kernel, then attach to the rest of the OS on the MUCH faster SSD

This way smaller cheaper even slower SD cards can be used to boot the device but then it fstab's to the OS on the main drive which is much faster/larger, as for removing the SD card...nah...
Heisenberg
Posts: 5
Joined: Tue May 19, 2020 7:50 pm

Re: Raspberry Pi 4 Boot from SSD

Post by Heisenberg »

OK thanks for the information :D
User avatar
Joulinar
Posts: 5609
Joined: Sat Nov 16, 2019 12:49 am

Re: Raspberry Pi 4 Boot from SSD

Post by Joulinar »

pls let us know if it was working to flash the image directly to SSD and boot from it. As this is quite a new functionality on Raspberry OS, it would be good to have some success stories ;)
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
trigrhappy
Posts: 30
Joined: Sat Aug 31, 2019 6:38 am

Re: Raspberry Pi 4 Boot from SSD

Post by trigrhappy »

Joulinar wrote: Sat Sep 26, 2020 7:18 pm pls let us know if it was working to flash the image directly to SSD and boot from it. As this is quite a new functionality on Raspberry OS, it would be good to have some success stories ;)
FYI, I've been running dietpi directly from my SSD plugged into my USB3 port on my Raspberry Pi 4 4GB for about 2 months now. It's worked like a charm.

Just had to make sure I was running the latest bootloader software, then I used my normal image writer to write the dietpi image to the ssd (just as I did many times with sdcards), plugged the ssd into my USB3 port..... pulled out the sdcard, and pressed power.

It has worked flawlessly.
User avatar
Joulinar
Posts: 5609
Joined: Sat Nov 16, 2019 12:49 am

Re: Raspberry Pi 4 Boot from SSD

Post by Joulinar »

@trigrhappy
many thanks for sharing, good to know that it is working now.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
sorriso93
Posts: 3
Joined: Wed Dec 13, 2017 6:34 pm

Re: Raspberry Pi 4 Boot from SSD

Post by sorriso93 »

trigrhappy wrote: Fri Oct 02, 2020 8:02 pm
Joulinar wrote: Sat Sep 26, 2020 7:18 pm pls let us know if it was working to flash the image directly to SSD and boot from it. As this is quite a new functionality on Raspberry OS, it would be good to have some success stories ;)
FYI, I've been running dietpi directly from my SSD plugged into my USB3 port on my Raspberry Pi 4 4GB for about 2 months now. It's worked like a charm.

Just had to make sure I was running the latest bootloader software, then I used my normal image writer to write the dietpi image to the ssd (just as I did many times with sdcards), plugged the ssd into my USB3 port..... pulled out the sdcard, and pressed power.

It has worked flawlessly.
I tried to copy my Dietpi installation on SD to SSD (through an image obv) but no way to boot from it. Also I have the latest firmware and the controller is fully compatible with this, read on a guide.
Did you follow a particular guide? Do I have to install a fresh dietpi on SSD? Any other suggestion?

sudo vcgencmd bootloader_config
[all]
BOOT_UART=0
WAKE_ON_GPIO=1
POWER_OFF_ON_HALT=0
DHCP_TIMEOUT=45000
DHCP_REQ_TIMEOUT=4000
TFTP_FILE_TIMEOUT=30000
ENABLE_SELF_UPDATE=1
DISABLE_HDMI=0
BOOT_ORDER=0xf41


sudo rpi-eeprom-update

[sudo] password for admin:
BCM2711 detected
Dedicated VL805 EEPROM detected
BOOTLOADER: up-to-date
CURRENT: Thu Sep 3 12:11:43 UTC 2020 (1599135103)
LATEST: Thu Sep 3 12:11:43 UTC 2020 (1599135103)
FW DIR: /lib/firmware/raspberrypi/bootloader/default
VL805: up-to-date
CURRENT: 000138a1
LATEST: 000138a1
User avatar
Joulinar
Posts: 5609
Joined: Sat Nov 16, 2019 12:49 am

Re: Raspberry Pi 4 Boot from SSD

Post by Joulinar »

You can have a look at following guide viewtopic.php?f=15&t=8190
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Grafxxx
Posts: 1
Joined: Thu Apr 01, 2021 3:29 pm

Re: Raspberry Pi 4 Boot from SSD

Post by Grafxxx »

Hey I have a similar issue. I followed your guide and the SSD 128GB is recognized by the system. I could mount it and benchmark it. But after flashing the image (no errors) and starting up the pi nothing happens?!
What am I missing?
I attached the lsusb when booting from micro sd and drive is mounted. If the micro sd is missing nothing happens. I'm not able to ssh into the machine.

I was able to boot from the original micro sd in an as card reader so I suppose it’s an issue with the usb sata cable right?

Would it be enough to move roots via drive manager to the ssd? I don't care if the initial boot is via micro sd but the programs should run on the ssd (especially emby)

Help is highly appreciated.
Attachments
Bildschirmfoto 2021-04-01 um 15.31.57.png
Post Reply