Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 08-16-2010, 06:11 AM   #1
LQ Newbie
Registered: Oct 2009
Distribution: Slackware, LFS
Posts: 27

Rep: Reputation: 0
Recover of pen drive


I have a problem with a pen drive on which I stored some useful files.

The pen drive was formatted as ext3 and it operated properly until I, after mounted on a different Linux box, tried to copy into it a long file.
This action was not well performed and the copy process interrupted for space reason.
The problem is that the pen drive became almost invisible to my laptop (and to other boxes).
When I insert the pen into the USB interface and give the command
mount /mnt/pen
I obtain the response
mount: only root can do this
which is different from the normal behavior, and I became root and hit the same command, I obtain
mount: special device /dev/sdb1 does not exist

I have to point out that the device path exists, the pen drive exists, and it is physically attached. Moreover this command operates correctly with other pen drives.

The relevant line in the file /etc/fstab is:
/dev/sdb1 /mnt/pen auto auto,user,rw 0 0

I also gave the command dmesg and the relevant part is:
usb 2-2: new high speed USB device using ehci_hcd and address 6
usb 2-2: configuration #1 chosen from 1 choice
scsi6 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 6
usb-storage: waiting for device to settle before scanning
usb 2-2: New USB device found, idVendor=0dd8, idProduct=1400
usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-2: Product: Flash Drive
usb 2-2: Manufacturer: USB
usb 2-2: SerialNumber: 0909042158282
scsi 6:0:0:0: Direct-Access USB Flash Drive 1.00 PQ: 0 ANSI: 2
sd 6:0:0:0: [sdb] 3909383 512-byte hardware sectors (2002 MB)
sd 6:0:0:0: [sdb] Write Protect is off
sd 6:0:0:0: [sdb] Mode Sense: 14 00 0d d8
sd 6:0:0:0: [sdb] Assuming drive cache: write through
sd 6:0:0:0: [sdb] 3909383 512-byte hardware sectors (2002 MB)
sd 6:0:0:0: [sdb] Write Protect is off
sd 6:0:0:0: [sdb] Mode Sense: 14 00 0d d8
sd 6:0:0:0: [sdb] Assuming drive cache: write through
sdb: unknown partition table
sd 6:0:0:0: [sdb] Attached SCSI removable disk
sd 6:0:0:0: Attached scsi generic sg1 type 0
usb-storage: device scan complete

I think that the problem it is that shown in the line
sdb: unknown partition table

I don't know how to recover the pen drive and all advices are welcomed.

Old 08-16-2010, 07:21 AM   #2
Registered: May 2010
Location: In world
Distribution: RHEL, CentOS, Ubuntu
Posts: 275
Blog Entries: 3

Rep: Reputation: 50
Are you able to see the pendrive partitions using "fdisk -l"?
Have you tried mounting on any other Operating systems?
Old 08-16-2010, 08:16 AM   #3
Registered: May 2008
Location: Romania
Distribution: Debian
Posts: 242

Rep: Reputation: 41
You should try to repair the partition table.
If you make the exact partition table...then you will not lose your data.
Probably you only had 1 partition so it should be easy to repartition with exact partition sizes.


drive, pen

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
pen drive and cd drive is not working !!!!!! abhattacharya Fedora 1 08-23-2009 03:21 AM
Boot iso on pen drive by grub installed on pen drive jena Linux - Hardware 2 11-01-2008 10:09 AM
USB Pen Drive / Flash Drive Unmounted but the power is there teluguswan Linux - Hardware 11 10-04-2008 04:36 PM
USB flash drive (Pen drive) mounts read only prabhatsoni Linux - Hardware 24 07-02-2007 02:28 PM
Pen Drive like on XP La Dima Fedora 1 08-28-2005 06:38 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:59 AM.

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