LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-30-2018, 03:19 PM   #1
roblinux
LQ Newbie
 
Registered: Aug 2018
Posts: 5

Rep: Reputation: Disabled
Linux can not see my wd elements external 500G usb drive


Linux can not see my wd (wd5000aajs-00tka0) elements external 500G usb drive. I typed lsblk and fdisk -l. My wd usb drive is just not detected at all. It is like the usb drive is not plugged in. The light on the usb drive comes on showing it has power to it. I tried running window vista and vista said, "found new hardware" and "need a driver for hardware". I used this usb drive for a long time both in windows vista and linux. I have not used it in a while.
I just need to get some files off of this usb drive, then it is going in the trash. I am using Slax version of Linux. I am a newbie here and somewhat to linux.
If you reply with an answer , you will need to "take out the ABC blocks". I will need a detailed answer. Thanks in advance.

Last edited by roblinux; 08-30-2018 at 07:15 PM. Reason: to supply more information to my question
 
Old 08-30-2018, 03:23 PM   #2
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,972

Rep: Reputation: 271Reputation: 271Reputation: 271
What does
Code:
ls /dev/sd*
return?
 
1 members found this post helpful.
Old 08-30-2018, 03:27 PM   #3
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931
Perhaps what would be helpful is a view of the last few lines of your system log after you plug in that drive.
 
1 members found this post helpful.
Old 08-30-2018, 03:36 PM   #4
roblinux
LQ Newbie
 
Registered: Aug 2018
Posts: 5

Original Poster
Rep: Reputation: Disabled
random troll
Thank you for your reply.
ls /dev/sd* returns /dev/sda , /dev/sda1
/dev/sda and /dev/sda1 is my internal hard disk

Last edited by roblinux; 08-30-2018 at 07:12 PM.
 
Old 08-30-2018, 05:54 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,142

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
Unplug the drive, then plug it back in - after that run this. Use copy-and-paste (the terminal should have a menu on title bar) after highlighting the output with the mouse. Paste it here.
Code:
dmesg | tail -n 20
 
1 members found this post helpful.
Old 08-30-2018, 06:33 PM   #6
roblinux
LQ Newbie
 
Registered: Aug 2018
Posts: 5

Original Poster
Rep: Reputation: Disabled
rtmisler
Thank you for your reply.
I ran this command in linux -
cat /var/log/kern.log >>file.txt
Aug 30 16:26:19 slax kernel: usb 1-1: new high-speed USB device number 11 using ehci-pci
Aug 30 16:26:20 slax kernel: usb 1-1: New USB device found, idVendor=13fd, idProduct=161f
Aug 30 16:26:20 slax kernel: usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0

I am not sure what this information shows because I am a newbie in linux. Looks like linux sees I have a device plugged in. Where do I go from here?
I finally feel like I am getting somewhere.
Thanks

Last edited by roblinux; 08-30-2018 at 07:13 PM.
 
Old 08-30-2018, 06:54 PM   #7
roblinux
LQ Newbie
 
Registered: Aug 2018
Posts: 5

Original Poster
Rep: Reputation: Disabled
sgy00
Thank you for your reply. I am running linux at the command line. The last 3 lines is when I plugged in the external usb drive.
I typed in :
dmesg | tail -n 20 >>file.txt
[14358.716954] usb 1-1: New USB device found, idVendor=0781, idProduct=5575
[14358.716962] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[14358.716967] usb 1-1: Product: Cruzer Glide
[14358.716971] usb 1-1: Manufacturer: SanDisk
[14358.716976] usb 1-1: SerialNumber: 4C530001110423100304
[14358.717734] usb-storage 1-1:1.0: USB Mass Storage device detected
[14358.719959] scsi host9: usb-storage 1-1:1.0
[14359.746170] scsi 9:0:0:0: Direct-Access SanDisk Cruzer Glide 1.27 PQ: 0 ANSI: 6
[14359.749190] sd 9:0:0:0: Attached scsi generic sg2 type 0
[14359.751004] sd 9:0:0:0: [sdg] 30529536 512-byte logical blocks: (15.6 GB/14.6 GiB)
[14359.754067] sd 9:0:0:0: [sdg] Write Protect is off
[14359.754081] sd 9:0:0:0: [sdg] Mode Sense: 43 00 00 00
[14359.755983] sd 9:0:0:0: [sdg] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[14359.787287] sdg: sdg1
[14359.796081] sd 9:0:0:0: [sdg] Attached SCSI removable disk
[14405.835508] FAT-fs (sdg1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[14448.787426] usb 1-2: USB disconnect, device number 14
[14515.592059] usb 1-2: new high-speed USB device number 16 using ehci-pci
[14515.740460] usb 1-2: New USB device found, idVendor=13fd, idProduct=161f
[14515.740468] usb 1-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0

What do I do now?

Last edited by roblinux; 08-30-2018 at 06:55 PM.
 
Old 08-30-2018, 07:14 PM   #8
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931
It saw the drive as /dev/sdg with the formatted part being sdg1, but it said it was corrupt and to run fsck.

Therefore plug it in again, verify that it is still seen as /dev/sdg and run fsck. Do so as root, or using the sudo command modifier.

Fsck will ask you about fixing problems.

An example:
Code:
$ sudo fsck /dev/sdg
 
1 members found this post helpful.
Old 08-30-2018, 07:34 PM   #9
roblinux
LQ Newbie
 
Registered: Aug 2018
Posts: 5

Original Poster
Rep: Reputation: Disabled
rtmistler
Thanks for your reply.
" $ sudo fsck /dev/sdg" This is not my external usb disk. It is a usb stick had mounted in linux so I could cat the kern.log and save the results to a file on the usb stick. I wish it was my external usb disk. Then my problem would be solved.
 
Old 08-30-2018, 07:46 PM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,759

Rep: Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931
Quote:
Aug 30 16:26:19 slax kernel: usb 1-1: new high-speed USB device number 11 using ehci-pci
Aug 30 16:26:20 slax kernel: usb 1-1: New USB device found, idVendor=13fd, idProduct=161f
Aug 30 16:26:20 slax kernel: usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
This is a Initio product which I am guessing is a USB SATA bridge. More information on your hardware is required. Is the bridge or drive broken?
 
1 members found this post helpful.
Old 08-30-2018, 08:17 PM   #11
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,162

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
Do you have ntfs-3g installed?

check out this link:https://linuxconfig.org/how-to-mount...d-write-access
 
1 members found this post helpful.
  


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] Can't mount Western Digital Elements 2TB external hard drive ChiVampir Linux - Hardware 10 07-22-2018 08:37 AM
[SOLVED] Linux on external USB 3 hard drive MBA Whore Linux - Hardware 5 10-04-2014 12:12 PM
backup linux 5.8 to external usb drive?? brnschr Linux - Newbie 5 07-07-2012 03:09 PM
filesystem for 500G drive ufmale Linux - Newbie 6 05-31-2008 06:49 PM
Is it possible to use an external USB drive for LINUX? sig_int Linux - Newbie 3 02-17-2003 01:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:08 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