LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-29-2015, 04:52 AM   #1
KeremK
LQ Newbie
 
Registered: Apr 2015
Location: stanbul
Distribution: 14.04
Posts: 5

Rep: Reputation: Disabled
Unhappy I cannot reach my WD 2 TB Hard Drive on Ubuntu 140.04 LTS


Error mounting /dev/sdb1 at /media/wu/Local Disk: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sdb1" "/media/wu/Local Disk"' exited with non-zero exit status 12: Failed to read last sector (3907027119): 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 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?


Everytime I tried to connect my Harddrive to my PC, I get this.

I cannot find the solution.

Plz help ?
I am so new at using Ubuntu.
 
Old 04-29-2015, 04:54 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,910

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
what will fdisk -l /dev/sdb say?
 
Old 04-29-2015, 08:57 AM   #3
KeremK
LQ Newbie
 
Registered: Apr 2015
Location: stanbul
Distribution: 14.04
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
what will fdisk -l /dev/sdb say?
When I write this on terminal it say

wu@Wu:~$ fdisk -l /dev/sdb
/dev/sdb açılamıyor

this means it cannot open
 
Old 04-29-2015, 09:01 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,910

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
yes, please execute it as root.
 
Old 04-29-2015, 09:02 AM   #5
KeremK
LQ Newbie
 
Registered: Apr 2015
Location: stanbul
Distribution: 14.04
Posts: 5

Original Poster
Rep: Reputation: Disabled
How can I do that ?
 
Old 04-29-2015, 09:09 AM   #6
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,910

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
usually: sudo fdisk -l /dev/sdb
 
Old 04-29-2015, 09:37 AM   #7
KeremK
LQ Newbie
 
Registered: Apr 2015
Location: stanbul
Distribution: 14.04
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
usually: sudo fdisk -l /dev/sdb
When I did that;
it gave me that answer;

wu@Wu:~$ sudo fdisk -l /dev/sdb
[sudo] password for wu:
sudo fdisk -l /dev/sdb

Disk /dev/sdb: 2000.4 GB, 2000396746752 bytes
255 heads, 63 sectors/track, 243201 cylinders, toplam 3907024896 sektör
Units = sektör of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk kimlikleyicisi: 0x0002de0f

Aygıt Açılış Başlangıç Bitiş BlokSayısı Kml Sistem
/dev/sdb1 2048 3907029167 1953513560 7 HPFS/NTFS/exFAT
wu@Wu:~$ sudo fdisk -l /dev/sdb

Disk /dev/sdb: 2000.4 GB, 2000396746752 bytes
255 heads, 63 sectors/track, 243201 cylinders, toplam 3907024896 sektör
Units = sektör of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk kimlikleyicisi: 0x0002de0f

Aygıt Açılış Başlangıç Bitiş BlokSayısı Kml Sistem
/dev/sdb1 2048 3907029167 1953513560 7 HPFS/NTFS/exFAT
 
Old 04-29-2015, 09:41 AM   #8
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,910

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
Is this an external disk? Did you try it to use on windows?
 
Old 04-29-2015, 09:44 AM   #9
KeremK
LQ Newbie
 
Registered: Apr 2015
Location: stanbul
Distribution: 14.04
Posts: 5

Original Poster
Rep: Reputation: Disabled
It is a Western Digital 2 TB External Hard Drive. I used to use it on my Windows 7. About 3 weeks before I start using Ubuntu. When I plug it to my USB 2.0, I directly get that warning, I wrote at the beginning of that topic.
 
Old 04-30-2015, 12:26 AM   #10
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,910

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
looks like an improperly formatted partition, I would run a chkdsk (or similar) on windows to check if that reports any error too.
 
Old 04-30-2015, 09:56 PM   #11
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
WD drives are formatted in the factory as NTFS
BUT!!!!

they have a tool / utility / some what hidden partition with a few MICROSOFT.exe programs in it


so you really can NOT use the first partition
sdb WILL NOT WORK
sdb1 will not work( that is the Microsoft utilities partition
so
sdb2 will be the drive

also
Quote:
mount -t "ntfs" -o
that would be the WRONG command

the linux driver for Microsoft windows NTFS is called "ntfs-3g "

so
Code:
su -
mkedir /mnt/WD_drive
mount -t ntfs-3g /dev/sdb2 /mnt/WD_drive

PS.
if you are NOT sharing it with a microsoft OS
then you really SHOULD reformat it to a linux format
like
ext4 and gpt table




However

if ntfs-3g and fuse are installed ( should be by default)

just plugging in the usb drive should Just mount

it should just work

Last edited by John VV; 04-30-2015 at 10:06 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Moving Ubuntu 12 LTS from USB to Hard Drive- How do I ?? fusionstate Linux - Newbie 8 12-20-2013 10:42 PM
Ubuntu 12.04 LTS very slow to mount internal hard drive lavere Linux - Newbie 7 05-31-2012 04:57 PM
ubuntu 10.04 lts installation using flash drive gopalakrishna Linux - Newbie 8 02-25-2011 06:17 AM
Cannot Install Ubuntu 8.04 LTS - WD Hard Drive missing Paul Langdon Linux - Newbie 5 03-31-2009 05:56 AM
Ubuntu: Installed to external hard drive; boot to primary hard drive gives error 22 dcorb62 Linux - General 7 09-04-2007 11:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration