LinuxQuestions.org
Visit Jeremy's Blog.
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, 12:32 PM   #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 12:33 PM.
 
Old 02-01-2014, 01:35 PM   #2
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
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, 03: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, 01:27 PM   #4
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
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, 05:14 PM   #5
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

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


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
Syslinux and USB pen Antonjo Linux - Newbie 9 09-02-2011 04:40 PM
Distinguish between USB HDD & USB Pen drive paldebojyoti Linux - Distributions 7 09-18-2009 08:02 AM
BT3 install from usb pen to usb external sata Nalec Linux - Newbie 1 08-16-2008 11:51 PM
USB pen icebear Linux - Hardware 4 04-27-2008 12:05 PM
Usb pen not working in additional usb port ago.homer Linux - Hardware 3 07-26-2005 10:51 AM


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