I have a Rock64 I'm using for about 3-4 years.
last month November, '24, due to a power failure issue, the Memory card got corrupted and won't boot anymore.
I backed up the memory card using win32disk imager to rock64_corrupted.img
now if I insert the memory card in a debian 12 machine, then I can see all files.
root@debian:~# lsblk
sdb 8:16 1 29.8G 0 disk
└─sdb1 8:17 1 29.5G 0 part /media/user/ddc95179-99af-4380-b45b-fa41999ac3d0
root@debian:~# fdisk -l /dev/sdb
Disk /dev/sdb: 29.81 GiB, 32010928128 bytes, 62521344 sectors
Disk model: Mass-Storage
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xce7a88b0
Device Boot Start End Sectors Size Id Type
/dev/sdb1 32768 61896127 61863360 29.5G 83 Linux
root@debian:~# cat /media/user/ddc95179-99af-4380-b45b-fa41999ac3d0/etc/os-release
PRETTY_NAME="Armbian 24.2.1 bookworm"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.armbian.com"
SUPPORT_URL="https://forum.armbian.com"
BUG_REPORT_URL="https://www.armbian.com/bugs"
ARMBIAN_PRETTY_NAME="Armbian 24.2.1 bookworm"
root@debian:~# umount /media/user/ddc95179-99af-4380-b45b-fa41999ac3d0
root@debian:~# fsck.ext4 /dev/sdb1
e2fsck 1.47.0 (5-Feb-2023)
/dev/sdb1: clean, 448797/1914432 files, 5384081/7732920 blocks
Is it possible to fix this?
Please let me know if I should provide any more info.
Any help is greatly appreciated.
I have a backup img file from February, '24 which works fine when written into the memory card. But that one is very old.