fsck : more filesystems detected. This should not happen

How to use TestDisk to recover lost partition
Post Reply
Message
Author
arun
Posts: 1
Joined: 01 Jul 2016, 18:13

fsck : more filesystems detected. This should not happen

#1 Post by arun » 01 Jul 2016, 19:22

I accidentally formatted my USB drive which was formatted in ext4 to exfat using the command
mkfs.exfat /dev/sdb1

I was trying to recover it using testdisk. It was able to detect the filesystem, but couldn't read it and gives me a warning of damaged file system.

So tried using sudo fsck.ext4 /dev/sdb1, which will repair the damaged file system. But when tried to mount, I was getting the below error :

arun@lenovo-pc:~/Desktop/testdisk-7.0$ sudo mount /dev/sdb1 /media/usb2
mount: /dev/sdb1: more filesystems detected. This should not happen,
use -t <type> to explicitly specify the filesystem type or
use wipefs(8) to clean up the device.
arun@lenovo-pc:~/Desktop/testdisk-7.0$

I tried with sudo mount -t ext4 /dev/sdb1 /media/usb2 the it is able to mount properly and I was able to see the lost data.

But my question is why fsck can not properly repair the first sectors. Is there a way to properly repair the first sectors to properly rectify the damage done by mkfs.exfat command, so that I can mount directly with out any issues ?

Is there anyway to recover data from the superblocks using testdisk ?

Sponsored links

User avatar
cgrenier
Site Admin
Posts: 3553
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: fsck : more filesystems detected. This should not happen

#2 Post by cgrenier » 02 Jul 2016, 08:20

You can run the following command

Code: Select all

dd count=1 if=/dev/zero of=/dev/sdb1
Be VERY CAREFUL, you will wipe your data if "count=1" isn't used.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests