0

I did file system repairs on my 475 GB partition on an external USB hard drive. with main(root) directory named xyz. After the repairs by fsck, when I connect it to the computer the partition is not mounted.

How can I get my data back?

The output of "lsblk" with HD attached is :

NAME      MAJ:MIN  RM     SIZE  RO   TYPE    MOUNTPOINT  
sda         8:0     0   149.1G  0    disk
sda1        8:1     0    10  G  0    part
sda2        8:2     0   139  G  0    part
sdc         8:32    1     1.9G  0    disk
sdc1        8:33    1     1.9G  0    part   /cdrom
sdd         8:48    0   465.8G  0    disk
sdd1        8:49    0    18.7G  0    part
sdd2        8:50    0     4.7G  0    part
sdd3        8:51    0   442.4G  0    part /media/ubuntu/356d60dc-80a5-40b4-8a20-117322d45
sr0         11:0    1  1024M    0    rom
loop0        7:0    0   952M    1   loop  /rofs

The output of lsblk without HD is without the details of sdd.

Fabby
  • 35,017

1 Answers1

2

To mount your HDD again type:

sudo mkdir /media/data
sudo chown $USER:$USER /media/data
sudo mount /dev/sdd3 /media/data

And you should have everything back in /media/data

Fabby
  • 35,017