[Ilugc] USB device not recognized

2010-06-14 Thread Hrishikesh Murali
Hi,

I have a 2GB Transcend USB pendrive formatted with FAT32 filesystem. All of
a sudden today, the USB device did not mount when I plugged it in.

I checked lsusb and the usb device was recognized. But when I executed
sudo fdisk -l, the filesystem was not recognized. When I also executed
dmesg|tail, I found that the partitions were not recognized.

The output of the three commands can be found at 
http://pastebin.com/MHZtTRH6;.

I have used testdisk to recover data, but when I executed testdisk, only my
internal hard disk was displayed, I could not choose the USB device. Is
there a way to recover the data in the pendrive?

-- 
Thanks and Regards,
Hrishikesh Murali
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] USB device not recognized

2010-06-14 Thread Varrun Ramani
On 14 June 2010 21:41, Hrishikesh Murali hrishikeshmural...@gmail.comwrote:

 Hi,

 I have a 2GB Transcend USB pendrive formatted with FAT32 filesystem. All of
 a sudden today, the USB device did not mount when I plugged it in.


Which OS do you run? and does the flash drive work on other OS's ?

-- 
Varrun Ramani
http://varrunr.wordpress.com | IRC: __goo__
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] USB device not recognized

2010-06-14 Thread Hrishikesh Murali
Hi,

On Mon, Jun 14, 2010 at 9:51 PM, Varrun Ramani darthsit...@gmail.comwrote:

 Which OS do you run? and does the flash drive work on other OS's ?


I run Ubuntu 9.10 i386 arch. And no, I tried plugging it in a Windows 7
machine, it didn't get recognized.

-- 
Thanks and Regards,
Hrishikesh Murali
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] USB device not recognized

2010-06-14 Thread Satish Eerpini

 I run Ubuntu 9.10 i386 arch. And no, I tried plugging it in a Windows 7
 machine, it didn't get recognized.

plug in the usb disk and then wait for a few seconds (~ 5 seconds) and
see what you have in the kernel log ( run the command dmesg  | tail
-n 30 on a terminal). Copy paste the output of that command in a
reply so that we can see if it is just an error with the partition
table (or something similar) or a bigger issue.


Cheers
Satish


-- 
http://satisheerpini.net
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] USB device not recognized

2010-06-14 Thread Satish Eerpini
On Mon, Jun 14, 2010 at 10:14 PM, Satish Eerpini eerp...@gmail.com wrote:

 I run Ubuntu 9.10 i386 arch. And no, I tried plugging it in a Windows 7
 machine, it didn't get recognized.

 plug in the usb disk and then wait for a few seconds (~ 5 seconds) and
 see what you have in the kernel log ( run the command dmesg  | tail
 -n 30 on a terminal). Copy paste the output of that command in a
 reply so that we can see if it is just an error with the partition
 table (or something similar) or a bigger issue.


oops , sorry I guess I missed out the links in the first mail, if you
are looking at recovering the data on the drive the best thing to do
is to create an image of the disk and then do whatever you want to do
on that image. Use dd.

For example , say your pen drive is attached to the node /dev/sda2 ,
do something like this :

dd if=/dev/sda2 of=drive_backup

then you will have all the data on the drive also on the file image
drive_backup, you can then try recovery tools on the image.

Cheers
Satish

-- 
http://satisheerpini.net
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc