5

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).

enter image description here

IF you need it in text here: Error when getting information for file '/media/ubuntu-gnome/Backup/User': Input/output error

MathCubes
  • 5,666

3 Answers3

3

Try running

sudo dosfsck -r

a few times and see if that fixes things. Good luck.

ubfan1
  • 17,838
0

I had this problem about an hour ago, and I was searching to find an answer, then i found this forum. I just fixed my usb, and here is what I did:

sudo mkfs.vfat /dev/sdXY

(Note: This FORMATS ALL DATA on your partition and fixes the problem.)

(Note: First unmount your device)

Now my usb is working as well.

-1

Repair the file system

It seems your file system is corrupted.
You can attempt to fix it by executing this command in your Terminal:

sudo fsck -y /dev/sda2

Replace /dev/sda2 with the appropriate partition you want to fix.

Naveen
  • 9,365
  • 11
  • 43
  • 70
  • `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 or e2fsck -b 32768 `

    – MathCubes Jun 07 '14 at 19:00
  • What is the filesystem of /dev/sda2? – Naveen Jun 08 '14 at 01:52