can't recover USB pendrive after 'dd'
Hello,
I recently used my 16Gb Verbatim STORE N GO pendrive to create an usb-install image of Arch. After looking at the wiki i tried for the first time to create an image with dd as described in there Quote:
I restored a fully functional pendrive, but with only 400MB of capacity. So i reformated with Gparted and it gave me an error that i couldn't save in a .txt file as i was on a liveCD Ubuntu 10.04. Next thing i tried is the wiki solution to recover the pendrive Quote:
Quote:
I need help to retrieve my pendrive back. PS: ask me any questions you might have. |
If you can't create a partition with fdisk then can you see any info on the drive or select it at all in fdisk?
The OEM may offer a program so see their site. I am not sure this is for flash drives. "# dd count=1 bs=512 if=/dev/zero of=/dev/sdx" Looks more like a usb hard drive. |
usb pendrive = usb drive, it is a memory stick, not a flash card.
Verbatim STORE N GO Also this is what fdisk -l gives me: Code:
$ sudo fdisk -l |
It is missing the flash drive in that output, did you plug it in before running the fdisk command?
|
Yes i did, before running fdisk. That's the problem, i don't even know what's happening to it, first i need to figure out what is going on with it, i know is not wroken because it's almost new and until this, it was working like a charm.
I will never ever use again dd command to create an OS image :( hope i can bring it back... |
Plug in flash drive and use lsusb command maybe?
|
What messages appear in /var/log/messages when you plug in the drive? Frankly, it sounds like the drive just decided to die. That wouldn't be due to any fault of dd -- that just happened to be what you were doing when the drive died.
|
Quote:
Quote:
Quote:
|
Quote:
it wasn't a coincidence, i wroke the whole mbr table, using dd did not the trick, problem was that Arch is a dual iso with 32 and 64 bit iso inside the same boot image, so in order to recover the partition tables (because of some weird stuff arch does to pendrives) i had to follow exact same steps in that wiki, which i did not, because i thought that gparted was more suitable for me. WRONG! I couldn't be happy if the device was new, as in my country is really hard to make validation of my warranty, since all the products are imported and most vendors will try every excuse they get in order to invalidate warranties. @jefro: lsusb showed me a Verbatim hard disk connected to BUS 001 (usb 2.0) so it's ok. @rknichols: I can't check /var/log/messages because... Code:
$ ls /var/log/ now i'm going to explain, how i fixed it. [SOLUTION] Quote:
|
Glad you fixed it and posted the results.
I sometimes post more like a man page. They are only good if you know the answer. "can you see any info on the drive or select it at all in fdisk?" |
All times are GMT -5. The time now is 09:05 AM. |