Hi all!
I think that the mysd got corrupted somehow. When it’s on my pi4 the green light flash a couple of times, then turned off, and i can’t use the raspberry.
I was trying to get a backup of the card via Win32DiskImager, but the process fails at 4%.
Is there any way to backup my dietpi and installed programs data, so i can format the card and trying to put everything back at it?
Ah, and easily this works only if you use a USB card reader instead of a native SD card slot. Because USB devices can be easily passed through to virtual machines. In VirtualBox there is a menu entry for this on the VMs window when started.
If you have a native SD card slot only, another hack is necessary to generate a fake image file which be attached to the VM.
Dunno how and why, but after plugging the card on my pc and the back on the Pi4, is working fine again.
Anyway, i would like to do a full back-up, what’s the best solution?
I think the confusion was that you tried fsck /dev/sdaX as well as fsck /dev/sdbX, while the first is the rootfs of the external system where you are trying to repair the SD card, right? Try this: