Reflash sd card for specific device

Hi,

I have corrupted SD card and try to flash a new SD card such has it appears on balenaCloud as the previous one (same uuid).

I did follow the balena cli balena CLI Documentation - Balena Documentation device init steps, only skipping the register device step.

I did the following:
‘balena os download’
‘balena config generate’
‘balena os configure’
‘balena os local flash’

But the resulting SD is not able to boot.

I compared the config.json from the corrupted sd (I had back up of this file) and the new generated one and I do not understand why it is not working.

Has anyone already flashed a second SD for an existing device?

Thank you for you help!

Cyril

Can you check the ACT LED pattern to see what might be the cause here? Ref: Troubleshooting - Balena Documentation

Regards,
Nitish