Check Card Integrity: Test the SD card on another device and run tools like H2testw or F3. Replace if damaged. Backup Data: Use dd to create a backup of the card. Repair Filesystem: Run fsck on the SD card to fix corruption. Reflash DietPi: Download the latest DietPi image, flash with Etcher, and verify the write. Use Quality SD Cards: Opt for reliable brands like SanDisk or Samsung with A1/A2 ratings.
Check Power Supply: Ensure a stable 5V/3A adapter to prevent card corruption.
Switch to USB Storage: If issues persist, boot DietPi from USB or SSD for reliability.
I used rufus
the flash went well
but on booting it first showed that partition has changed, then i unplugged the pi and plugged,
everything went well but it showed that error again of sd card read only
and i am using this image: DietPi_RPi-ARMv8-Bookworm.img
Do you have a different SD card? Or a different PSU? You could try as well using a USB pen stick.
As said on my demo system, initial setup is working fine using SD card. Part with altering system tablet usually takes seconds and installation should continue afterwards automatically. I guess your card already breaks at this point. Therefore your install stuck.