LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-17-2011, 03:13 PM   #1
openmind
Member
 
Registered: Feb 2010
Location: ua
Distribution: Debian
Posts: 35

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, 03: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, 04:36 PM   #3
openmind
Member
 
Registered: Feb 2010
Location: ua
Distribution: Debian
Posts: 35

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, 05:20 PM   #4
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
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



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 03:32 PM
[SOLVED] /dev/disk/by-label DISAPPEARED! Can't mount USB flash drive ShellyCat Linux - Desktop 5 11-16-2010 11:30 PM
partition usb flash disk vin_akleh Linux - Newbie 18 09-19-2009 08:45 AM
Disk doesn't contain a valid partition table baldurpet Linux - Newbie 17 05-10-2009 03:25 AM
Compact Flash Partition table problems Chundo Linux - Newbie 7 10-18-2006 12:39 AM

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

All times are GMT -5. The time now is 03:45 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
Open Source Consulting | Domain Registration