Closed wiltdavi closed 2 years ago
The reason you can't see the other files is because the root file system (RFS) is an ext4 partition (linux). When you plug your SD card into a Windows PC, you'll see the boot partition and another drive.
You could try to recover by doing this: https://forums.raspberrypi.com/viewtopic.php?t=128142
Essentially, setup another sd card, then get USB sd reader and use the pi to try and fix the old card. Or if you have a mac or another linux pc, you could try to run fsck on it from there.
You could also make a live boot cd with ubuntu/any flavor of linux and boot your PC to that and try to repair it that way too.
Or if you are savvy, it looks like WSL2 on windows added ext4 support - didn't read too much to see if it supported pluggable drives, but its worth a shot: https://devblogs.microsoft.com/commandline/access-linux-filesystems-in-windows-and-wsl-2/
Thanks for the explanation about the ext4 partition. I am still new to Linux. With a USB SD card reader connected to the Pi I was able to obtain all my files which were not backed up.
FYI, I looked into the WSL2 option but the mounting capability only appears to be available in Windows 11 so I was not able to try that method: https://docs.microsoft.com/en-us/windows/wsl/wsl2-mount-disk#limitations
I recently had a short power lose and once power was restored my Raspberry Pi would not boot. I connected the device to a monitor and when I connected power it was just a black screen. Nothing showed up on the screen and all that was on was the red LED on the device. When putting the SD card in my PC I am able to view the files. On a new SD card I started over from the beta6 image and everything is back up and running.
Since the Raspberry Pi is not damaged and I am able to read the SD card, it appears something may be corrupted. I would like to recover some of my recipes and history that I don't have backed up.
Do you have any suggestions on how to fix the corruption or how I can recover the files? Looking at the SD card I do not see the file structure I am use to when using the samba.