How to replace raspberry pi os with dietpi?

Hello,
It’s been a while since I have had the time to play with my Raspberry Pis. My Pi 4 is running smoothly with DietPi and I managed to boot up my Pi5 with is flashed with Raspberry Pi OS. Nothing wrong with it, really - I just prefer DietPi.

From with Raspberry Pi OS I opened up a console and did:

$ sudo rpi-eeprom-config --edit

which reads:

[all]
BOOT_UART=1
POWER_OFF_ON_HALT=0
BOOT_ORDER=0xf461

I understand the boot order above is declared as USB > NVME > SD.

I can’t access the sd card slot on the case I am using.

I have the latest DietPi image for the pi5 and flashed it via belena.

But the pi will not detect the usb during boot.

How can I get this working?

Cheers,

You are using a pen stick or USB HDD?

I’m trying from a USB stick.

If I’m not mistaken boot order is

a. 1 = Check SD card
b. 6 = Check PCIe NVME
c. 4 = Check USB drive
d. f = Start again

Maybe you can try BOOT_ORDER=0xf164

I have disassembled the Pi5 from the case so I can expose the SD card slot and got a brand new card and flashed with the latest image and it did not booted at all.
If I had the nvme connected, it booted straight from the nvme.
It completely ignored the diet pi image flashed on the sd card or brand new usb flash drive.
But it booted fine from the sd card if I flashed the raspberry pi os from imager.
I’m really at a loss here.
Ideas?

Is the DietPi image booting from nvme? Or not booting from all devices nvme, usb and sd card?

The dietpi image is not booting from usb or sd card.
I have not tried to flash the dietpi image directly to nvme yet.
I will try that now.

No joy… Well, bed time! I’ll give another go tomorrow…

I did some tests today and basically the image boots from SD card and NMVe. With USB the behaviour was somehow different. My RPI5 has the Active Cooler and whenever the fan remains constantly active during boot, I know that the system is not booting correctly, which was almost always the case with USB when it was a cold boot. Soft reboots, on the other hand, work. When the RPI5 hangs I have played with the power switch. Sometimes press it, sometimes hold it down for a long time. But at some point it started up. I don’t know why this is the case. Possibly a problem with the current bootloader/firmware.