ext4 drive unmountable after windows install

Using TestDisk to repair the filesystem
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
Locked
Message
Author
talormanda
Posts: 2
Joined: 08 Aug 2020, 00:13

ext4 drive unmountable after windows install

#1 Post by talormanda »

I installed windows 10 to update my bios, this was successful. After going back to Ubuntu MATE, my secondary 3TB hdd somehow gained a NTFS partition on it, and the other partition was marked as "unallocated". I deleted the NTFS partition and now I am left with a single ext4 partition that can't be mounted. I am not sure what happened or if I am able to get this mounted again to get my data off. I am new to all of this and looking for a place to start. Is it possible the partition table was simply damaged? I did not format or write to this partition when I installed windows.

Image
Image
Image
Image
Image

recuperation
Posts: 2729
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: ext4 drive unmountable after windows install

#2 Post by recuperation »

talormanda wrote: 08 Aug 2020, 00:26 I installed windows 10 to update my bios, this was successful. After going back to Ubuntu MATE, my secondary 3TB hdd somehow gained a NTFS partition on it, and the other partition was marked as "unallocated". I deleted the NTFS partition and now I am left with a single ext4 partition that can't be mounted. I am not sure what happened or if I am able to get this mounted again to get my data off. I am new to all of this and looking for a place to start. Is it possible the partition table was simply damaged?
No. An additional NTFS partition is not created by a damaging operation.

A good place to start is:

https://www.cgsecurity.org/testdisk.pdf

and

https://www.cgsecurity.org/wiki/TestDisk

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

Re: ext4 drive unmountable after windows install

#3 Post by cgrenier »

Run as root "fsck.ext4 /dev/sdb". What is the output ?

talormanda
Posts: 2
Joined: 08 Aug 2020, 00:13

Re: ext4 drive unmountable after windows install

#4 Post by talormanda »

cgrenier wrote: 08 Aug 2020, 11:57 Run as root "fsck.ext4 /dev/sdb". What is the output ?

Code: Select all

e2fsck 1.45.5 (07-Jan-2020)
3TB: clean, 89101/183148544 files, 399232435/732566646 blocks
I must also note that since this post, I deleted the NTFS partition and now it is one big partition again. It shows there is 1.2TB free, but when mounting, it is empty. If I do a "quick search" on it, I can see the files (in a folder called "lost+found"). There is also a lot of files listed in red text. Unsure what to do at this point. It looks possible to copy the files, but I have no idea how to select only what I want (unless you have to do it one by one?). Or can something be done to the files to become visible again when I mount it?

recuperation
Posts: 2729
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: ext4 drive unmountable after windows install

#5 Post by recuperation »

talormanda wrote: 09 Aug 2020, 17:04
cgrenier wrote: 08 Aug 2020, 11:57 Run as root "fsck.ext4 /dev/sdb". What is the output ?

Code: Select all

e2fsck 1.45.5 (07-Jan-2020)
3TB: clean, 89101/183148544 files, 399232435/732566646 blocks
I must also note that since this post, I deleted the NTFS partition and now it is one big partition again.
Another NTFS partition? There is no NTFS partition on the pics you posted. You were talking about one NTFS partition in your first posting.
[...and now it is one big partition again...] ??? And what is it?
It shows there is 1.2TB free, but when mounting, it is empty.
Please specify, what "it" is.
If I do a "quick search" on it, I can see the files (in a folder called "lost+found"). There is also a lot of files listed in red text. Unsure what to do at this point. It looks possible to copy the files, but I have no idea how to select only what I want (unless you have to do it one by one?).
If files can be recovered the keys for recovering are indicated. Did you see them?

Locked