RaspberryPi4 RPi4 Upgrading from existing SD card setup to boot from SSD

Guides and tutorials for various stuff. Posted by DietPi users.
RollingDutch
Posts: 48
Joined: Thu Mar 18, 2021 9:08 am
Contact:

Re: RaspberryPi4 RPi4 Upgrading from existing SD card setup to boot from SSD

Post by RollingDutch »

Okay,

I did the steps provided in the first post. Made an img-file from the sd-card, flashed that to the SSD drive. Then followed the instructions from https://www.instructables.com/Booting-R ... USB-Drive/

In short:

sudo apt update && sudo apt upgrade && sudo reboot
echo program_usb_boot_mode=1 | sudo tee -a /boot/config.txt
sudo reboot

vcgencmd otp_dump | grep 17:

reboot

The OTP seems to have been programmed correctly

But....

When restarting the PI nothing happend :(

I'm afraid that something didn't quite work in the original instructions on the first post
User avatar
Joulinar
Posts: 5998
Joined: Sat Nov 16, 2019 12:49 am

Re: RaspberryPi4 RPi4 Upgrading from existing SD card setup to boot from SSD

Post by Joulinar »

Do you have a pen steck? Would it be possible to flash a fresh copy of DietPi on that stick and try to boot from it? Just to check of USB boot is working.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
RollingDutch
Posts: 48
Joined: Thu Mar 18, 2021 9:08 am
Contact:

Re: RaspberryPi4 RPi4 Upgrading from existing SD card setup to boot from SSD

Post by RollingDutch »

It's not a stick, it's a 'normal' SSD drive.

Will try to flash a new Dietpi install tomorrow.
User avatar
Joulinar
Posts: 5998
Joined: Sat Nov 16, 2019 12:49 am

Re: RaspberryPi4 RPi4 Upgrading from existing SD card setup to boot from SSD

Post by Joulinar »

I guess we misunderstood. For testing, you could try using a pen stick instead of your SSD to see how it behave.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
RollingDutch
Posts: 48
Joined: Thu Mar 18, 2021 9:08 am
Contact:

Re: RaspberryPi4 RPi4 Upgrading from existing SD card setup to boot from SSD

Post by RollingDutch »

Tried with USB stick I had lying around. Didn't want to startup either. So I flashed some other SD-card with the img I created earlier in the hope that will work again., but that also fails now.

Btw. I can see that the PI is up (at least in the DHCP table of my router it shows up.
User avatar
Joulinar
Posts: 5998
Joined: Sat Nov 16, 2019 12:49 am

Re: RaspberryPi4 RPi4 Upgrading from existing SD card setup to boot from SSD

Post by Joulinar »

does it boot with the original SD card? How does it behave if you flash a complete new/fresh image to SD/ pen stick?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
RollingDutch
Posts: 48
Joined: Thu Mar 18, 2021 9:08 am
Contact:

Re: RaspberryPi4 RPi4 Upgrading from existing SD card setup to boot from SSD

Post by RollingDutch »

Just flashed the newest Bullseye to a stick, and it seems that one is booting. At least I could login and start the dietpi install. So, waiting to see what happens next.
RollingDutch
Posts: 48
Joined: Thu Mar 18, 2021 9:08 am
Contact:

Re: RaspberryPi4 RPi4 Upgrading from existing SD card setup to boot from SSD

Post by RollingDutch »

Seems to be working so far.
User avatar
Joulinar
Posts: 5998
Joined: Sat Nov 16, 2019 12:49 am

Re: RaspberryPi4 RPi4 Upgrading from existing SD card setup to boot from SSD

Post by Joulinar »

ok means USB boot is working well. Probably there is an issue with the *.img file you create because it was not working as well on another SD card if I understood correctly? How did you created the image?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
RollingDutch
Posts: 48
Joined: Thu Mar 18, 2021 9:08 am
Contact:

Re: RaspberryPi4 RPi4 Upgrading from existing SD card setup to boot from SSD

Post by RollingDutch »

I cloned the card with Win32 diskimager.
Post Reply