LinuxQuestions.org
Review your favorite Linux distribution.
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 02-26-2014, 11:51 AM   #1
Noxphoenix
LQ Newbie
 
Registered: Feb 2014
Posts: 5

Rep: Reputation: Disabled
Post Pen drive suddenly stopped showing up on windows . tryin gto load it through ubuntu.


I am trying to load a pen drive on ubuntu that is not even being detected on Ubuntu. On windows, it is being detected but doesn't open and the option to perform a format pops up. I have treid using commands from previous simlar questions asked at this forum. All I came to know was that, the pendrive is detected in Terminal. But it cannot be opened. Please help.
 
Old 02-26-2014, 12:05 PM   #2
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,778

Rep: Reputation: 200Reputation: 200Reputation: 200
Quote:
On windows, it is being detected but doesn't open and the option to perform a format pops up
Are you sure that the drive has anything on it? Windows wants to format it.
fdisk or parted will show you the partitions on the device.
Plug the device in and see what device node it has with either,
Code:
dmesg | tail
or
Code:
lsblk
or (? is for drive letter)
Code:
udisks --show-info /dev/sd?
If it has a filesystem on it then you should be able to mount it. If not you'll have to put a FS on it. USB drives also die sometimes. Give more info on what you have.
 
Old 02-26-2014, 12:38 PM   #3
Noxphoenix
LQ Newbie
 
Registered: Feb 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by teckk View Post
Are you sure that the drive has anything on it? Windows wants to format it.
fdisk or parted will show you the partitions on the device.
Plug the device in and see what device node it has with either,
Code:
dmesg | tail
or
Code:
lsblk
or (? is for drive letter)
Code:
udisks --show-info /dev/sd?
If it has a filesystem on it then you should be able to mount it. If not you'll have to put a FS on it. USB drives also die sometimes. Give more info on what you have.
It has almost 8GB worth od data on it. It was showing some undeletable icons on windows earlier. Then, the pen drive suddenly was not being read on windows and it doesnt even show up on ubuntu. I checked some command on the terminal. It shows the pendrive is present. but then why does it not show up on the ubuntu interface where all the other drives do? It is a Jetflash 8 GB pendrive. What do I do? Is there any data I can support you with? And how can I obtain that dta on my pc?
 
Old 02-26-2014, 12:43 PM   #4
Noxphoenix
LQ Newbie
 
Registered: Feb 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
output on the dmesg | tail command
sumedhrg@sumedhrg-h9-1325in:~$ dmesg | tail
[ 13.921819] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 17.259493] 2:3:1: cannot get freq at ep 0x84
[ 17.262461] 2:3:1: cannot get freq at ep 0x84
[ 17.272508] 2:3:1: cannot get freq at ep 0x84
[ 17.275508] 2:3:1: cannot get freq at ep 0x84
[ 40.681174] NET: Registered protocol family 24
[ 314.759597] audit_printk_skb: 168 callbacks suppressed
[ 314.759601] type=1400 audit(1393439866.294:68): apparmor="STATUS" operation="profile_replace" parent=2299 profile="unconfined" name="/usr/lib/cups/backend/cups-pdf" pid=2303 comm="apparmor_parser"
[ 314.759612] type=1400 audit(1393439866.294:69): apparmor="STATUS" operation="profile_replace" parent=2299 profile="unconfined" name="/usr/sbin/cupsd" pid=2303 comm="apparmor_parser"
[ 314.760457] type=1400 audit(1393439866.294:70): apparmor="STATUS" operation="profile_replace" parent=2299 profile="unconfined" name="/usr/sbin/cupsd" pid=2303 comm="apparmor_parser"
 
Old 02-26-2014, 12:44 PM   #5
Noxphoenix
LQ Newbie
 
Registered: Feb 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
lsblk output
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931.5G 0 disk
├─sda1 8:1 0 1023M 0 part
├─sda2 8:2 0 360M 0 part /boot/efi
├─sda3 8:3 0 128M 0 part
├─sda4 8:4 0 200G 0 part
├─sda5 8:5 0 660.7G 0 part
├─sda6 8:6 0 40G 0 part /
├─sda7 8:7 0 19.4G 0 part
└─sda8 8:8 0 10G 0 part [SWAP]
sdb 8:16 0 931.5G 0 disk
└─sdb1 8:17 0 931.5G 0 part /media/sumedhrg/NoxPhoenix
sdg 8:96 1 7.6G 0 disk
└─sdg1 8:97 1 7.5G 0 part
sr0 11:0 1 1024M 0 rom
ps : noxphoenix is my external hard drive
 
Old 02-28-2014, 12:15 PM   #6
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,778

Rep: Reputation: 200Reputation: 200Reputation: 200
Looks like the drive is /dev/sdg
Code:
sdg 8:96 1 7.6G 0 disk 
└─sdg1 8:97 1 7.5G 0 part
Although that will change if you keep removing it and putting it back in.
Can you mount it manually? You know what fs it has on it?
Code:
#parted -l
If it's readable you should be able to mount it and access it. Something like
Code:
mkdir ~/drive
Code:
mount /dev/sdg1 ~/drive
Code:
ls ~/drive
If the drive has went bad then you may not be able to read it.

I've never done Ubuntu, maybe someone can add something more useful.
 
1 members found this post helpful.
Old 03-03-2014, 06:48 AM   #7
Noxphoenix
LQ Newbie
 
Registered: Feb 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
This is what the output was.

sumedhrg@sumedhrg-h9-1325in:~$ mkdir ~/a
sumedhrg@sumedhrg-h9-1325in:~$ mount /dev/sdg1 ~/a
mount: only root can do that
sumedhrg@sumedhrg-h9-1325in:~$
 
Old 03-03-2014, 05:49 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,486

Rep: Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886
sudo mount /dev/sdg1 ~/a

Use your primary username password. It is being detected but not automatically mounted.
Look at the output of the dmesg command to see if there are any errors.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
USB Pen Drive not detected in Linux (suse & Ubuntu) working fine in windows XP Ayyappan Linux - Newbie 9 02-22-2012 09:43 AM
VNC to Ubuntu 10.10 Suddenly Stopped Working SecurityGate Linux - Networking 1 10-14-2010 02:41 AM
EXT-4 drive suddenly stopped working Mark_667 Ubuntu 6 07-23-2010 05:14 PM
my USB pen drive plug and play stopped all of a sudden nkd Linux - Newbie 6 09-23-2007 02:14 PM
USP pen drive not showing up? robcult731 Slackware 4 03-17-2007 12:50 PM


All times are GMT -5. The time now is 05:06 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration