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-17-2011, 04:13 PM   #1
openmind
Member
 
Registered: Feb 2010
Distribution: Debian
Posts: 32

Rep: Reputation: 16
USB flash disk partition disappeared as well as partition table


Hi all
USB flash disk partition disappeared as well as partition table I'm not sure about the cause
Code:
root@u#  less /var/log/syslog
usb 5-1: New USB device found, idVendor=058f, idProduct=1234
usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 5-1: Product: Mass Storage Device
usb 5-1: Manufacturer: Alcor Micro
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
scsi 3:0:0:0: Direct-Access     Generic  USB Flash Disk   7.76 PQ: 0 ANSI: 2
sd 3:0:0:0: [sdb] Attached SCSI removable disk


root@u#  fdisk  /dev/sdb
Unable to open /dev/sdb


root@u# sfdisk -l /dev/sdb
/dev/sdb: No medium found
sfdisk: cannot open /dev/sdb for reading
Where did the partition table go? The device had one ext3 partition something around 4GB(size of USB storage device). I need to restore few files from this device, better get back everything as it was So, my dear friends, what can I do? If you have any ideas, please post them here
Thank You
 
Old 02-17-2011, 04:34 PM   #2
hughetorrance
Member
 
Registered: Aug 2009
Location: London North West
Distribution: x86_64 Slack 13.37 current : +others
Posts: 459

Rep: Reputation: 59
Use Testdisk found on the Parted Magic live CD to find your lost partition.

Note: ext3 is a file system type...today I just found that one of my USB flash drives had failed totally and is now useless... ! perhaps your has joined it. LOL
 
Old 02-17-2011, 05:36 PM   #3
openmind
Member
 
Registered: Feb 2010
Distribution: Debian
Posts: 32

Original Poster
Rep: Reputation: 16
Smile

Quote:
Originally Posted by hughetorrance View Post
Note: ext3 is a file system type...
I know.
Quote:
Originally Posted by hughetorrance View Post
Use Testdisk found on the Parted Magic live CD to find your lost partition.
It didn't helped

Quote:
Originally Posted by hughetorrance View Post
today I just found that one of my USB flash drives had failed totally and is now useless... ! perhaps your has joined it. LOL
But device is still recognized as mass storage, so I think there is still hope. In critical situation I may recover byte by byte but I want to try other solutions first
 
Old 02-17-2011, 06:20 PM   #4
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Wheezy/Jessie/Sid, Linux Mint DE
Posts: 4,193

Rep: Reputation: 538Reputation: 538Reputation: 538Reputation: 538Reputation: 538Reputation: 538
As it seems the USB controller is still working, but the disk controller which has to talk to the disk and send this information thru the USB controller to the host, is not available. Defective.

Since this is a USB stick I am afraid you are out of luck.

As a last resort you could try this: (as root)
dd if=/dev/sdb count=1 bs=512
If it tells again that /dev/sdb is unaccessible then the hardware is defective.

jlinkels
 
  


Reply

Tags
partition, usb


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 Flash - Unknown Partition Table - Logical Sector Size is zero littleonion Linux - Hardware 9 06-13-2011 04:32 PM
[SOLVED] /dev/disk/by-label DISAPPEARED! Can't mount USB flash drive ShellyCat Linux - Desktop 5 11-17-2010 12:30 AM
partition usb flash disk vin_akleh Linux - Newbie 18 09-19-2009 09:45 AM
Disk doesn't contain a valid partition table baldurpet Linux - Newbie 17 05-10-2009 04:25 AM
Compact Flash Partition table problems Chundo Linux - Newbie 7 10-18-2006 01:39 AM


All times are GMT -5. The time now is 04:01 AM.

Main Menu
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