hello, is there any way to reformat/clean install DietPi based on my situation?
My SBC is a NanoPi R5C. As per the documentation, I have to press the MASK key during bootup to access a sort of recovery mode to wipe the eMMC. Unfortunately, I have pressed too hard on the button which caused it to dislocate I am still able to login through SSH. Is there a way to reformat/clean install it from within? Thanks!
This procedure will erase everything on the eMMC, including any operating system or files on it.
Identify the eMMC Device:
First, connect to your NanoPi via SSH or serial console, and use lsblk to locate the eMMC device.
lsblk
The eMMC device is likely named /dev/mmcblkX (replace X with the actual device number, e.g., mmcblk0).
Wipe the eMMC Using dd:
Now, you can wipe the entire eMMC by overwriting it with zeros. This process is irreversible and will take time, depending on the size of the eMMC.