0

I have a drive that is starting to fail. I'm using Ubuntu to try and recover files.

Right now I am running into issues. I know the files are there as yesterday, on a boot usb, I managed to mount read only and see the files. Although I couldn't access the mount because of lacking permissions.

Today I have installed Ubuntu on a drive and am not lacking permission to mount as read only. Except now when I try to mount read only it says I need to specify the file type.

How can I the file type to check the files?

Ubuntu smart data and self tests says the disk is ok but that there is one bad sector.

I just want to mount the drive So that I can get the file off of it. It's a secondary drive, no windows installed.

Any suggestion? Thanks.

The exact commands I've used so far are as follows.

To mount readonly:

sudo mkdir /media/3TB
sudo mount -o ro /dev/sdb2 /media/3T

"Mount: you must specify file system type"

To try and mount/fix the drive:

Ntfsfix /dev/sdb2 

"Mounting volume... Error opening '/dev/sdb2': Permission denied
Failed
Attempting to correct errors... Error opening '/dev/sdb2': Permission Denied
Failed
Failed to startup volume: Permission denied
Volume is corrupt. You should run chkdsk."

This is a command I found for check disk. Not sure it's right.

Fsck /dev/sdb2
"Fsck from util-Linux 2.20.1
Efsck 1.42.9 (4-few-2014)
Fsck.ext2: permission denied while trying to open /dev/sdb2

You must have r/w access to the filesystem or be root."

A.B.
  • 92,125

1 Answers1

0

You got permission denied from ntfsfix because you didn't use sudo. Mount is telling you that it can't figure out what kind of filesystem it is ( which does not bode well for being able to access your filesystem at all ) and so it wants to you tell it with -t ntfs, but since it couldn't figure this out on its own, this likely won't work either because your filesystem is so damaged. In this case, you're going to have to restore from backup.

psusi
  • 38,031