Le mardi 18 avril 2006 à 09:12 +0200, Petr Kocmid a écrit :
> On Tuesday 18 April 2006 05:04, Frédéric Grosshans wrote:
> >     Any other idea ?
> 
> Never give up.

That seems to be your moto :-)

> Try hexdump on the device above: 
> hexdump -C /dev/disk/by-id/usb-Generic_USB_Flash_Drive

I'm currently with the ub driver, so I tried

        sanduleak ~ # hexdump -C /dev/uba
        hexdump: /dev/uba: No medium found
        hexdump: /dev/uba: Bad file descriptor
        
I'll try again with the usb-storage driver after a reboot, but I fear
I'll have the same problem.

> Here is an example of mine, having partition table with PT boot code at 
> offset 
> 0 and FAT16 boot sector at offset 4000hex with msdos/windows boot code (it 
> was formatted in W2k). If you don't see any of the like anywhere on the disk, 
> it is possibly encrypted on-chip or broken. 

There is indeed an encryption feature on this key. I've never used it (I
haven't even downloaded the windows-only software allowing to use it).
Can it be related to this problem ?

> You may even see some windows 
> virus on your PT and/or fat boot instead of boot code. If you have no valid 
> partition (since your fdisk fails on it) but able to find your FAT somewhere 
> on the disk, it is possible to reconstruct, but I advise to dd whole disk to 
> file before. 

I'm not even able to dd the disk... (No medium found)

> To seek the boot sector of the volume, look for the signature 55 
> aa hex at end of sector, just like mine are at offsets 01fe-01ff (pt) 
> 41fe-41ff (fat boot). Sector size is 512==200hex.
> 
> hexdump -C /dev/disk/by-id/usb-USB_512MB_3EA84191EC2E0009
> 00000000  fa 33 c0 8e d0 bc 00 7c  8b f4 50 07 50 1f fb fc  |.3.....|..P.P...|

thanks for all that information.

So my next steps are :
        1. Switching back to usb-storage
        2. Trying to dd the disk
        3. That doesn't work, trying to get access to another computer and see
if I can do something.

By the way, I can afford losing the data on the key. I mainly want to be
able to use it. Does that giev you other ideas ?

        Fred

-- 
gentoo-user@gentoo.org mailing list

Reply via email to