I was messing around trying to format a usb drive with exFat under Ubuntu. I ran something like this:
sudo mkfs.exfat /dev/sdb
which had output like this:
mkexfatfs 1.0.1
Creating... done. Flushing... done.
File system created successfully.
While that all seems well and good, I realized moments later I ran that command not from my local shell window, but from a window I was ssh'd to a different PC.
I've run through the default analyse and testdisk does find the ext4 partitions.
Any guidance would be much appreciated,
Thanks,
-jt
big oops, can TestDisk fix this?
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
- cgrenier
- Site Admin
- Posts: 5437
- Joined: 18 Feb 2012, 15:08
- Location: Le Perreux Sur Marne, France
- Contact:
Re: big oops, can TestDisk fix this?
If your ext4 partition is listed, choose to write the partition table. Next you may have to go in TestDisk, Advanced, Superblock to get a fsck.ext4 command able to repair the damaged filesystem.
-
- Posts: 2
- Joined: 13 Sep 2013, 13:16
Re: big oops, can TestDisk fix this?
ok, maybe I spoke too soon, this is what I'm seeing
The following partitions can't be recovered:
Linux 121427 152 6 364628 233 5 3907029168 [Tsch2TB]
EXT4 Large file Sparse superblock Recover, 2000 GB / 1863 GiB
I've uploaded a log file, is there a different option I should be trying or is it a lost cause?
The following partitions can't be recovered:
Linux 121427 152 6 364628 233 5 3907029168 [Tsch2TB]
EXT4 Large file Sparse superblock Recover, 2000 GB / 1863 GiB
I've uploaded a log file, is there a different option I should be trying or is it a lost cause?
- cgrenier
- Site Admin
- Posts: 5437
- Joined: 18 Feb 2012, 15:08
- Location: Le Perreux Sur Marne, France
- Contact:
Re: big oops, can TestDisk fix this?
What I wrote is still the way to go. Run TestDisk, Analyse, QUick Search, if your ext4 partition isn't listed use Deeper Search, set your ext4 partition to P(rimary), write the new partition table...