Author Topic: [SOLVED] Another problem... can't mount ntfs partition  (Read 4006 times)

Offline Euric

  • Jr. Member
  • **
  • Posts: 15
[SOLVED] Another problem... can't mount ntfs partition
« on: July 30, 2011, 03:39:26 PM »
Hello again pals. Recently, some minutes ago, I was moving a file from the / partition to one of my ntfs partitions. Because it was taking much time, I decided to put the mouse cursor on the notification icon of the kde desktop and then, the machine crashed. The only thing I was doing with the pc at that moment was listening to music and I think I had chromium open.

I had to reboot the computer and now I can't mount that ntfs partition. The other ntfs i have is normal.

I entered in PCC-> local discs -> and then disc partitions administration. There I can't mount, I get an error saying "mount partition /dev/sda3 in directory /media/Datos failed.

If I select the option "Resize", I get this message:

ntfsresize failed:
ntfsresize v2.0.0 (libntfs 10:0:0)
ERROR(5): Opening '/dev/sda3' as NTFS failed: Error de entrada/salida
NTFS is inconsistent. Run chkdsk /f on Windows then reboot it TWICE!
The usage of the /f parameter is very IMPORTANT! No modification was
and will be made to NTFS by this software until it gets repaired.

My problem is that I don't have windows installed in this notebook and also, I don't have another computer here.
Sorry I'm posting so much problems lately. Hope all of them ends soon.

Cheers!
« Last Edit: July 31, 2011, 02:32:04 PM by Euric »

Offline T6

  • Super Villain
  • ******
  • Posts: 19051
  • xmas is comming!
Re: Another problem... can't mount ntfs partition
« Reply #1 on: July 30, 2011, 03:58:56 PM »
yes, ntfs is asking for a chkdsk process, check partition process, ntfs likes to fail like this  :-\

there is some recovery cds to download that comes with ntfs capable file managers, some of them will run chkdsk from those livecds

this is one of those

http://www.ultimatebootcd.com/

it was supposed that you could run fsck but all i can find is contradictory information
« Last Edit: July 30, 2011, 04:05:14 PM by T6 »
"If you wish to make an apple pie from scratch, you must first invent the universe."

Carl Sagan

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6224
  • I don't do Windows
Re: Another problem... can't mount ntfs partition
« Reply #2 on: July 30, 2011, 04:06:45 PM »

My problem is that I don't have windows installed in this notebook and also, I don't have another computer here.


You have an NTFS partition, but don't have Windows installed? Hmmm...

There's another option you can try, besides what T6 mentioned. If you have access to the partition as your normal user, then there's no need to do this as root user. In a terminal, enter ntfs-3g -o recover (<device> or <mountpoint>).

If the partition's mounted, use the <mountpoint> option, in other words, something like /mnt/Windows. If the partition's not mounted, use the <device> option, for example, /dev/sda1.
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline Euric

  • Jr. Member
  • **
  • Posts: 15
Re: Another problem... can't mount ntfs partition
« Reply #3 on: July 30, 2011, 04:15:26 PM »
Thanks T6, downloading now...

djohnston, yes I have one ext4 and two ntfs in this hard drive :p

I will try that and I'll let you know what happens

Offline Euric

  • Jr. Member
  • **
  • Posts: 15
Re: Another problem... can't mount ntfs partition
« Reply #4 on: July 30, 2011, 04:32:03 PM »
djohnston, I've got the same message:

[root@localhost ~]# ntfs-3g -o recover /dev/sda3 /media/Datos
$MFTMirr does not match $MFT (record 0).
Failed to mount '/dev/sda3': Error de entrada/salida
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.

Will try now the live cd T6 recommended

Offline T6

  • Super Villain
  • ******
  • Posts: 19051
  • xmas is comming!
Re: Another problem... can't mount ntfs partition
« Reply #5 on: July 30, 2011, 04:36:54 PM »
that ntfs 3g option, i was reading that it wasn't 100% secure, it was old information btw

i was verifying the ultrabootcd and it seems that the ntfs4dos option was removed form the 5.1 version, it is available in the 4.1 old version afik

another option could be ubcdwin but this one is a bit complicated, another option is hirens but is hard to find
"If you wish to make an apple pie from scratch, you must first invent the universe."

Carl Sagan

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6224
  • I don't do Windows
Re: Another problem... can't mount ntfs partition
« Reply #6 on: July 30, 2011, 04:52:25 PM »
djohnston, I've got the same message:

[root@localhost ~]# ntfs-3g -o recover /dev/sda3 /media/Datos


You need to use one or the other, not both. In other words, use /dev/sda3 if the partition's not mounted (the better option). Use /media/Datos if the partition is mounted.

Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline Euric

  • Jr. Member
  • **
  • Posts: 15
Re: Another problem... can't mount ntfs partition
« Reply #7 on: July 30, 2011, 06:13:27 PM »
Thanks man, but It can't monut that partition. Used the device option. Got this message:


tfs-3g -o recover /dev/sda3
ntfs-3g: No mountpoint is specified.

ntfs-3g 2011.1.15 external FUSE 28 - Third Generation NTFS Driver
                Configuration type 1, XATTRS are on, POSIX ACLS are off

Copyright (C) 2005-2007 Yura Pakhuchiy
Copyright (C) 2006-2009 Szabolcs Szakacsits
Copyright (C) 2007-2010 Jean-Pierre Andre
Copyright (C) 2009 Erik Larsson

Usage:    ntfs-3g [-o option[,...]] <device|image_file> <mount_point>

Options:  ro (read-only mount), remove_hiberfile, uid=, gid=,
          umask=, fmask=, dmask=, streams_interface=.
          Please see the details in the manual (type: man ntfs-3g).

Example: ntfs-3g /dev/sda1 /mnt/windows

Ntfs-3g news, support and information:  http://ntfs-3g.org

It asks me the mountpoint... sorry guys, I'm very newbie in all of this

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11689
  • ----IOFLU----
Re: Another problem... can't mount ntfs partition
« Reply #8 on: July 30, 2011, 06:52:05 PM »
Thanks T6, downloading now...

djohnston, yes I have one ext4 and two ntfs in this hard drive :p

I will try that and I'll let you know what happens

If you don't have a Windows installation, why do you have NTFS partitions on that drive? It seems a rather poor choice for a Linux machine.
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline T6

  • Super Villain
  • ******
  • Posts: 19051
  • xmas is comming!
Re: Another problem... can't mount ntfs partition
« Reply #9 on: July 30, 2011, 07:00:11 PM »
it is common to have it for compatibility purposes

sometimes is all it is left form your windows install, the partition

eventually a ext3 or ext4 will be a better choice, i personally dualboot my machine so it stays in place

other people could keep them as nostalgic
"If you wish to make an apple pie from scratch, you must first invent the universe."

Carl Sagan

Offline Euric

  • Jr. Member
  • **
  • Posts: 15
Re: Another problem... can't mount ntfs partition
« Reply #10 on: July 30, 2011, 08:35:51 PM »
Yeah I have it because of compatibility purposes... will try to fix this with an xp disc, I can't remember what options does it have

Offline T6

  • Super Villain
  • ******
  • Posts: 19051
  • xmas is comming!
Re: Another problem... can't mount ntfs partition
« Reply #11 on: July 30, 2011, 09:02:53 PM »
the xp installation disc doesn't have the mentioned function(chkdsk) if i remember correctly, maybe a older version, sp2?
"If you wish to make an apple pie from scratch, you must first invent the universe."

Carl Sagan

Offline Euric

  • Jr. Member
  • **
  • Posts: 15
Re: Another problem... can't mount ntfs partition
« Reply #12 on: July 31, 2011, 10:48:54 AM »
Looking in google for another solution, I learnt the lesson and I decided to backup that ntfs partition and then, delete it and create an ext4.

I create a live usb with hirens and after backup the most important files and folders, I started gparted and I've managed to create in the same place, the ext4 replacing the old ntfs. Everything was good.

My last problem is that, when I start PCLOS, in dolphin I'm still seeing the old ntfs partition and obviously get the same error, while I can't see the new ext4 labeled as "Datos" :S.

Could anybody please tell me what am I missing?

Sorry and thanks again mates!
Cheers!
« Last Edit: July 31, 2011, 10:53:13 AM by Euric »

Offline ElCuervo

  • Hero Member
  • *****
  • Posts: 4147
  • I'm walking on sunshine!
Re: Another problem... can't mount ntfs partition
« Reply #13 on: July 31, 2011, 11:33:06 AM »
Use the PCLinuxOS Control Center>Local Disks>Manage disk partitions to change and mount the drive as necessary.
"If there were no change, there would be no butterflies" - Walt Disney

http://linuxcounter.net/cert/433721.png

Offline Euric

  • Jr. Member
  • **
  • Posts: 15
Re: Another problem... can't mount ntfs partition
« Reply #14 on: July 31, 2011, 12:40:39 PM »
Cuervo, thanks for the help. I think I'm almost done here.

I managed, via the Control center, to solve something. Under Manage disk partitions, I still saw this partition as ntfs, so, I gave it format and then, no problem. I could acces it using dolphin.

Then, I decided to change the format, from ntfs to ext4 and everything was ok. It took a while because I ask the system to check the bad blocks also. I restarted the system and then, again, in dolphin I see this partition as the old ntfs one, instead of seeing the new ext4.

In Manage disk partitions, if I select the mount option in this new ext4 partition, I got and error message: that mounting the /dev/sda3 partition in directory /media/Datos failed.

I think I only need some more little thing to get this thing working.