How do I repair a Fat 32 Filesystem Partition "input/output error"
11,161
Try running
sudo dosfsck -r
a few times and see if that fixes things. Good luck.
![Sch-Tomi](https://i.stack.imgur.com/phZri.png?s=256&g=1)
Author by
Sch-Tomi
Updated on September 18, 2022Comments
-
Sch-Tomi almost 2 years
Some how the partition (Dev/sda2) partition got deleted. So I use TestDisk to bring it back... The first time I did it it erase the whole hard drive... The second time it did restore the partition which is good. But now it is giving me a error massage when I try to open it in Files(Gnome).
IF you need it in text here: Error when getting information for file '/media/ubuntu-gnome/Backup/User': Input/output error
-
Admin about 10 yearscheck
dmesg
after getting this error for more details.
-
-
Sch-Tomi about 10 years
fsck from util-linux 2.20.1 e2fsck 1.42.9 (4-Feb-2014) ext2fs_open2: Bad magic number in super-block fsck.ext2: Superblock invalid, trying backup blocks... fsck.ext2: Bad magic number in super-block while trying to open /dev/sda2 The superblock could not be read or does not describe a valid ext2/ext3/ext4 filesystem. If the device is valid and it really contains an ext2/ext3/ext4 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 <device> or e2fsck -b 32768 <device>
-
Naveen about 10 yearsWhat is the filesystem of /dev/sda2?
-
Milor123 over 7 yearsThis work for me, allows me delete the
Orphaned long file name part "2013-12-31--18-26-31 ALPS.KK1.MP1.V2.46
" thanks -
Jamie Hutber over 5 yearsTHIS JUST FORMATTED MY DRIVE!!!
-
Mohammad Kholghi over 5 yearsI'm so sorry for what happened to your drive. I had to tell that this format the partition but fixes the problem. I can recovery your hard just like it was before, but don't know how to send you a message. Give me your Gmail or telegram or Instagram ID, I'll help you recovery it as fast as possible. Sorry Again.
-
Mohammad Kholghi over 5 yearsread above comment @JamieHutber
-
sansa over 4 yearsLol I wish I could downvote you. When adding solutions like this, also say what it does, especially when it FORMATS YOUR DRIVE!!
-
Mohammad Kholghi over 4 years@sansa I did so, didn't I?:)
-
simo-zz about 2 yearsUsing -a option restores the FS automatically.