Having trouble accessing my hdd

15 Antworten [Letzter Beitrag]
Embracer245
Offline
Beigetreten: 08/24/2015

Hey guys, My family's Windows machine stopped working and i need to back up some files. But it only gives me this error instead:

Error mounting /dev/sda4 at /media/brendon/2C66B74966B71316: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda4" "/media/brendon/2C66B74966B71316"' exited with non-zero exit status 14: The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Failed to mount '/dev/sda4': Operation not permitted
The NTFS partition is in an unsafe state. Please resume and shutdown
Windows fully (no hibernation or fast restarting), or mount the volume
read-only with the 'ro' mount option.

Can you help me? This is my families, not mine, I use GNU/Linux (primarily). Can you help me please? it says i need help mounting this as read only.

Magic Banana

I am a member!

I am a translator!

Offline
Beigetreten: 07/24/2010

Try to execute 'sudo ntfsfix /dev/sda4' in a terminal. It is installed by default in Trisquel (it comes with the "ntfs-3g" package).

Embracer245
Offline
Beigetreten: 08/24/2015

I tried, but it gave me an 'hardware error instead'.

Here it is:
Error mounting /dev/sda4 at /media/brendon/2C66B74966B71316: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda4" "/media/brendon/2C66B74966B71316"' exited with non-zero exit status 13: ntfs_attr_pread_i: ntfs_pread failed: Input/output error
Failed to read NTFS $Bitmap: Input/output error
NTFS is either inconsistent, or there is a hardware fault, or it's a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very
important! If the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for more details.

I dont like using Windows due to it's freedom issues. so can you help me with this without having to use Windows?

lembas
Offline
Beigetreten: 05/13/2010

Did you try the read-only suggestion?

Embracer245
Offline
Beigetreten: 08/24/2015

How do i do that? I have used GNU/Linux for a while now but not how to mount hard drives!

lembas
Offline
Beigetreten: 05/13/2010

Just add "ro" to the options of the command mentioned in your first post, i.e.

sudo mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177,ro" "/dev/sda4" "/media/brendon/whatever"

I have no idea whether all those other options are needed or helpful. If that command doesn't work, try removing all other options besides ro. I believe super user powers are needed, hence sudo.

Also, make sure that /media/brendon/whatever exists. If needed you can create it withsudo mkdir -p /media/brendon/whatever

Embracer245
Offline
Beigetreten: 08/24/2015

Nope, i still got the same error message:

ntfs_attr_pread_i: ntfs_pread failed: Input/output error
Failed to read NTFS $Bitmap: Input/output error
NTFS is either inconsistent, or there is a hardware fault, or it's a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very
important! If the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for more details.

Embracer245
Offline
Beigetreten: 08/24/2015

Nope, i still got the same error message:

ntfs_attr_pread_i: ntfs_pread failed: Input/output error
Failed to read NTFS $Bitmap: Input/output error
NTFS is either inconsistent, or there is a hardware fault, or it's a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very
important! If the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for more details.

Embracer245
Offline
Beigetreten: 08/24/2015

Hey guys, My family's Windows machine stopped working and i need to back up
some files. But it only gives me this error instead:

Error mounting /dev/sda4 at /media/brendon/2C66B74966B71316: Command-line
`mount -t "ntfs" -o
"uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177"
"/dev/sda4" "/media/brendon/2C66B74966B71316"' exited with non-zero exit
status 14: The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Failed to mount '/dev/sda4': Operation not permitted
The NTFS partition is in an unsafe state. Please resume and shutdown
Windows fully (no hibernation or fast restarting), or mount the volume
read-only with the 'ro' mount option.

Can you help me? This is my families, not mine, I use GNU/Linux (primarily).
Can you help me please? it says i need help mounting this as read only.

lembas
Offline
Beigetreten: 05/13/2010

Just add "ro" to the options of the command mentioned in your first post,
i.e.

sudo mount -t "ntfs" -o
"uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177,ro"
"/dev/sda4" "/media/brendon/2C66B74966B71316"

(I have no idea whether all those other options are needed or helpful. If
that command doesn't work, try removing all other options besides ro. Also,
make sure that /media/brendon/2C66B74966B71316 exists. I believe super user
powers are needed, hence sudo.)

Embracer245
Offline
Beigetreten: 08/24/2015

How do i do that? I have used GNU/Linux for a while now but not how to mount
hard drives!

lembas
Offline
Beigetreten: 05/13/2010

Did you try the read-only suggestion?

Embracer245
Offline
Beigetreten: 08/24/2015

I tried, but it gave me an 'hardware error instead'.

Here it is:
Error mounting /dev/sda4 at /media/brendon/2C66B74966B71316: Command-line
`mount -t "ntfs" -o
"uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177"
"/dev/sda4" "/media/brendon/2C66B74966B71316"' exited with non-zero exit
status 13: ntfs_attr_pread_i: ntfs_pread failed: Input/output error
Failed to read NTFS $Bitmap: Input/output error
NTFS is either inconsistent, or there is a hardware fault, or it's a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very
important! If the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for more details.

cooloutac
Offline
Beigetreten: 06/27/2015

yes try read only option, or you could maybe try to use something like grc's spinrite or some similar hard drive recovery software and see if that makes it readable.

Magic Banana

I am a member!

I am a translator!

Offline
Beigetreten: 07/24/2010

Try to execute 'ntfsfix /dev/sda4' in a terminal. It is installed by default
in Trisquel (it comes with the "ntfs-3g" package).

cooloutac
Offline
Beigetreten: 06/27/2015

you could maybe try to use something like grc's spinrite or some similar hard
drive recovery software and see if that makes it readable.