Cant mount SD card - Solved
I copied some game files from my pc to my sd card, of which belongs in my steam deck. after it finished, i put the sd card back into the deck and noticed that i didnt see any of the stuff i just added, not even a folder. I put it back into my pc and now it fails to mount on both my pc and deck. Ive gotten this error before and remember i had to edit the fstab, so i removed any entries for my sd cards and tried again but i still got the same error.
An error occured while accessing '953.6 GiB Removable Media', the system responded: The requested operation has failed: Error mounting /dev/mmcblk0p1 at /run/media/tray/numbersandletters: can't read superblock on /dev/mmcblk0p1
PC and deck are both running bazzite
SD card is btrfs9 Replies
i remember ive had this happen before and it wouldnt let me mount it in dolphin, but it would in partition manager for some reason, but even that doesnt work
and a restart does not fix
What happens if you run a filesystem check (essentially like a Windows check disk) on that drive? In your case it would be
sudo fsck /dev/mmcblk0p1
does it bring back any errors? You might have disconnected the drive write it was still writing to the microsd"If you wish to check the consistency of a BTRFS filesystem or repair a damaged filesystem, see btrfs(8) subcommand 'check'."
Sorry I missed that it was a btrfs microsd. Try
sudo btrfs check /dev/mmcblk0p1
lets see if it picks up anything wrong with the device. If it complains about the device being currently in use, then you'll need to unmount it first, think that would be sudo umount /dev/mmcblk0p1
Opening filesystem to check...
parent transid verify failed on 894703861760 wanted 12909 found 12940
parent transid verify failed on 894703861760 wanted 12909 found 12940
parent transid verify failed on 894703861760 wanted 12909 found 12940
Ignoring transid failure
ERROR: child eb corrupted: parent bytenr=894909972480 item=2 parent level=2 child bytenr=894703861760 child level=0
ERROR: failed to read block groups: Input/output error
ERROR: cannot open file system
I just found this thread https://www.reddit.com/r/btrfs/comments/sdyavm/i_ran_a_btrfs_check_on_my_filesystem_it_said/ lets leave btrfs check alone for now, apparently it doesn't do a good job at repairing things. I'll leave this to someone with better Linux knowledge than me.
bump
help please
Heres everything ive done so far
Pastebin
tray@bazzite:~$ sudo mount -t btrfs -o ro /dev/sdb /media/tray/SDCa...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
I'm gonna see if i can somehow open it in windows
wsl says theres not even a drive and winbtrfs shows that there is something plugged in but just tells me to format as if btrfs driver isn't installed
wsl cant mount removable media
and i think winbtrfs is using wsl so therefore it wont work with that
but i mean i only tried windows as a just in case it works
r/btrfs helped me