I'm a Linux noob, just now migrating from Windows. This is my first question to the community, and I hope I get the forms right. I've looked around at the other similar questions here, but none seem to apply exactly to my situation, or else I just can't adapt their solutions to my specific case.
I have an external Western Digital 1 TB USB 2.0 hard drive that I'm trying to connect to my Ubuntu 12.04 Precise Pangolin computer. When I plug it in, I get an error looking like this:
Unable to mount Elements 1T
Error mounting: mount exited with exit code 12: Failed to read last sector (1953523119): Invalid argument
HINTS: Either the volume is a RAID/LDM but it wasn't setup yet,
or it was not setup correctly (e.g. by not using mdadm -build...),
or a wrong device is tried to be mounted,
or the partition table is corrupt (NTFS size is not valid).
Failed to mount '/dev/sdb1': Invalid argument
The device '/dev/sdb1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
When I check the partition with Disk utility, it sees the partition, but cannot mount it:
Error mounting volume
An error occurred while performing an operation on "Elements 1T" (Partition 1 of WD WDCWD1oEADS-11M2B2): The operation failed
Details
Error mounting: mount exited with exit code 12: Failed to read last sector (1953523119): Invalid argument
It also shows this info:
Usage: File system
Partition Type: HPFS/NTFS (0x07)
Partition Flags: Bootable
Type: NTFS
Label: Elements 1T
Device: /dev/sdb1
Partition Label: -
Capacity: 1.0 TB (...bytes)
Available: -
Mount Point: Not Mounted
Check file system Returns: File system is not clean
Gparted, on the other hand, can't see the partition at all, it thinks the entire disk space is unallocated.
From some of the error codes and stuff I've gotten on terminal commands like fdisk etc. I hypothesize that the problem might be that Linux doesn't allow spaces in device names, can that be the problem? However, none of my disk utilities can change the names.
I know you guys usually want to see outputs from certain commands such as fdisk and cat, but if so you'll have to walk me through it, I don't know what I'm doing :-)
Grateful for all help M. Northstar
EDIT 1
The output of sudo ntfsck /dev/sdb1 that douggo suggested is this:
Failed to read last sector (1953523119): Invalid argument
HINTS: Either the volume is a RAID/LDM but it wasn't setup yet,
or it was not setup correctly (e.g. by not using mdadm --build ...),
or a wrong device is tried to be mounted,
or the partition table is corrupt (partition is smaller than NTFS),
or the NTFS boot sector is corrupt (NTFS size is not valid).
Failed to read file record at offset -5553569967260305760 (0xb2edc189f22bf6a0).
Loading $MFT runlist failed. Trying $MFTMirr.
Failed to read file record at offset -5561604126825345472 (0xb2d13683673a8e40).
Loading $MFTMirr runlist failed too. Aborting.
Failed to read last sector (1953523119): Invalid argument
HINTS: Either the volume is a RAID/LDM but it wasn't setup yet,
or it was not setup correctly (e.g. by not using mdadm --build ...),
or a wrong device is tried to be mounted,
or the partition table is corrupt (partition is smaller than NTFS),
or the NTFS boot sector is corrupt (NTFS size is not valid).
As you can see, two blocks with the same error I got before, with some new info sandwiched in between.
EDIT 2
As suggested by douggro, the output of chkdsk (translated by me from Swedish) is:
CHKDSK is verifying files
33536 files processed
File verification completed
3 large file records processed
0 bad file records processed
0 EA records processed
0 reparse records processed
CHKDSK is verifying indexes
38674 index entries processed
Index verification completed
0 unindexed files scanned
0 unindexed files recovered
CHKDSK is verifying security descriptors
33536 file SDs/SIDs processed
Security descriptor verification completed
2570 data files processed
CHKDSK is verifying the USN journal
37004568 USN bytes processed
Verification of USN journal completed
Windows has checked the file system and found no problems
976761559 kB total disk space
620445736 kB in 27005 files
14512 kB in 2571 indexes
2820 kB in bad sectors
165667 kB in use by the system
65536 kB occupied by the log file
356132824 kB available on disk
4096 byte in each allocation unit
244190389 total allocation units on disk
8903206 allocation units available on disk
sudo ntfsck /dev/sdb1
to scan for filesystem errors. – douggro Dec 24 '13 at 14:12ntfsck
on it? – douggro Dec 24 '13 at 14:58