LinuxQuestions.org
Help answer threads with 0 replies.
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 02-01-2014, 11:32 AM   #1
alsen
LQ Newbie
 
Registered: Feb 2014
Location: Italy
Distribution: Debian
Posts: 3

Rep: Reputation: Disabled
how to recovery usb pen


After i have inserte my USB pen I did not see nothin the output of demsg is:
[ 6302.581390] usb 1-3: new high-speed USB device number 5 using ehci-pci
[ 6302.716813] usb 1-3: New USB device found, idVendor=05dc, idProduct=a790
[ 6302.716820] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 6302.716824] usb 1-3: Product: USB Flash Drive
[ 6302.716827] usb 1-3: Manufacturer: UFD
[ 6302.716830] usb 1-3: SerialNumber: AA04012700007967
[ 6302.718238] usb-storage 1-3:1.0: USB Mass Storage device detected
[ 6302.718400] scsi7 : usb-storage 1-3:1.0
[ 6304.818267] scsi 7:0:0:0: Direct-Access UFD USB Flash Drive 1100 PQ: 0 ANSI: 0 CCS
[ 6304.819064] sd 7:0:0:0: Attached scsi generic sg1 type 0
[ 6304.824956] sd 7:0:0:0: [sdb] Attached SCSI removable disk

my pen seems to be recognized by nothing is mount in my ubuntu 12.04 with xfce.
What can i dow now ?
Thanks a lot.

Last edited by alsen; 02-01-2014 at 11:33 AM.
 
Old 02-01-2014, 12:35 PM   #2
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
Quote:
Originally Posted by alsen View Post
After i have inserte my USB pen I did not see nothin the output of demsg is:

[ 6304.824956] sd 7:0:0:0: [sdb] Attached SCSI removable disk

my pen seems to be recognized by nothing is mount in my ubuntu 12.04 with xfce.
What can i dow now ?
Thanks a lot.
its right there in bold font fro you. the USB device is not formatted or is formatted in a way that your computer is not capable of reading.

as root run fdisk -l it will be in that list too.
 
1 members found this post helpful.
Old 02-01-2014, 02:05 PM   #3
alsen
LQ Newbie
 
Registered: Feb 2014
Location: Italy
Distribution: Debian
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by lleb View Post
its right there in bold font fro you. the USB device is not formatted or is formatted in a way that your computer is not capable of reading.

as root run fdisk -l it will be in that list too.
the output is this:
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000b05a7

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 156262399 78130176 83 Linux
/dev/sda2 156264255 160344764 2040255 82 Linux swap / Solaris
/dev/sda3 160346112 316594175 78124032 83 Linux

WARNING: GPT (GUID Partition Table) detected on '/dev/sdd'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdd: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders, total 5860533168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sdd1 1 4294967295 2147483647+ ee GPT
Partition 1 does not start on physical sector boundary.

WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdc: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders, total 5860533168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sdc1 1 4294967295 2147483647+ ee GPT
Partition 1 does not start on physical sector boundary.

There is all HD of my system but no trace of USB pen
 
Old 02-02-2014, 12:27 PM   #4
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
did you remove the USB device before running that command?

follow these basic steps in order

1. as root run the following command BEFORE YOU PLUG IN THE USB DEVICE
Code:
# tail -f /var/log/messages
2. plug in the USB device and WATCH the output of the tail command from above. you will be looking for dev/sdX or just sdX were X is a letter from a-z
3. once you see the /dev/sdX or just the sdX press and hold ctrl+c on the keyboard to break the tail command.
4. type the following command
Code:
# fdisk -l /dev/sdX
replacing X with what you read in the tail command.
5. if the device is formatted then make note and mount it appropriately, if not then partition and format it as you desire. etx2 or fat-32 as required for your needs.
 
1 members found this post helpful.
Old 02-02-2014, 04:14 PM   #5
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
It is perfectly OK to have sdb only instead of sdbx, it is possible the device has no partition table. It still can have a filesystem on it.
 
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
Syslinux and USB pen Antonjo Linux - Newbie 9 09-02-2011 03:40 PM
Distinguish between USB HDD & USB Pen drive paldebojyoti Linux - Distributions 7 09-18-2009 07:02 AM
BT3 install from usb pen to usb external sata Nalec Linux - Newbie 1 08-16-2008 10:51 PM
USB pen icebear Linux - Hardware 4 04-27-2008 11:05 AM
Usb pen not working in additional usb port ago.homer Linux - Hardware 3 07-26-2005 09:51 AM

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

All times are GMT -5. The time now is 11:18 AM.

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