On Tuesday 18 April 2006 05:04, Frédéric Grosshans wrote:
[*]
> OK. I have
>         sanduleak ~ # find /dev/disk/ -iname '*usb*'
>         /dev/disk/by-path/usb-0x1043-0x8006:0:0:0
>         /dev/disk/by-id/usb-Generic_USB_Flash_Drive
[*]
>
>       Any other idea ?

Never give up.

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

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. 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. 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...|
00000010  bf 00 06 b9 00 01 f2 a5  ea 1d 06 00 00 be be 07  |................|
00000020  b3 04 80 3c 80 74 0e 80  3c 00 75 1c 83 c6 10 fe  |...<.t..<.u.....|
00000030  cb 75 ef cd 18 8b 14 8b  4c 02 8b ee 83 c6 10 fe  |.u......L.......|
00000040  cb 74 1a 80 3c 00 74 f4  be 8b 06 ac 3c 00 74 0b  |.t..<.t.....<.t.|
00000050  56 bb 07 00 b4 0e cd 10  5e eb f0 eb fe bf 05 00  |V.......^.......|
00000060  bb 00 7c b8 01 02 57 cd  13 5f 73 0c 33 c0 cd 13  |..|...W.._s.3...|
00000070  4f 75 ed be a3 06 eb d3  be c2 06 bf fe 7d 81 3d  |Ou...........}.=|
00000080  55 aa 75 c7 8b f5 ea 00  7c 00 00 49 6e 76 61 6c  |U.u.....|..Inval|
00000090  69 64 20 70 61 72 74 69  74 69 6f 6e 20 74 61 62  |id partition tab|
000000a0  6c 65 00 45 72 72 6f 72  20 6c 6f 61 64 69 6e 67  |le.Error loading|
000000b0  20 6f 70 65 72 61 74 69  6e 67 20 73 79 73 74 65  | operating syste|
000000c0  6d 00 4d 69 73 73 69 6e  67 20 6f 70 65 72 61 74  |m.Missing operat|
000000d0  69 6e 67 20 73 79 73 74  65 6d 00 00 00 00 00 00  |ing system......|
000000e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 80 01  |................|
000001c0  01 00 06 1f e0 e0 20 00  00 00 df 87 0f 00 00 00  |...... .........|
000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00004000  eb 3e 90 4d 53 57 49 4e  34 2e 31 00 02 10 01 00  |.>.MSWIN4.1.....|
00004010  02 d0 02 00 00 f8 f9 00  20 00 ff 00 20 00 00 00  |........ ... ...|
00004020  df 87 0f 00 80 00 29 34  53 6a 31 4e 4f 20 4e 41  |......)4Sj1NO NA|
00004030  4d 45 20 20 20 20 46 41  54 31 36 20 20 20 f1 7d  |ME    FAT16   .}|
00004040  fa 33 c9 8e d1 bc fc 7b  16 07 bd 78 00 c5 76 00  |.3.....{...x..v.|
00004050  1e 56 16 55 bf 22 05 89  7e 00 89 4e 02 b1 0b fc  |.V.U."..~..N....|
00004060  f3 a4 06 1f bd 00 7c c6  45 fe 0f 8b 46 18 88 45  |......|.E...F..E|
00004070  f9 fb 38 66 24 7c 04 cd  13 72 3c 8a 46 10 98 f7  |..8f$|...r<.F...|
00004080  66 16 03 46 1c 13 56 1e  03 46 0e 13 d1 50 52 89  |f..F..V..F...PR.|
00004090  46 fc 89 56 fe b8 20 00  8b 76 11 f7 e6 8b 5e 0b  |F..V.. ..v....^.|
000040a0  03 c3 48 f7 f3 01 46 fc  11 4e fe 5a 58 bb 00 07  |..H...F..N.ZX...|
000040b0  8b fb b1 01 e8 94 00 72  47 38 2d 74 19 b1 0b 56  |.......rG8-t...V|
000040c0  8b 76 3e f3 a6 5e 74 4a  4e 74 0b 03 f9 83 c7 15  |.v>..^tJNt......|
000040d0  3b fb 72 e5 eb d7 2b c9  b8 d8 7d 87 46 3e 3c d8  |;.r...+...}.F><.|
000040e0  75 99 be 80 7d ac 98 03  f0 ac 84 c0 74 17 3c ff  |u...}.......t.<.|
000040f0  74 09 b4 0e bb 07 00 cd  10 eb ee be 83 7d eb e5  |t............}..|
00004100  be 81 7d eb e0 33 c0 cd  16 5e 1f 8f 04 8f 44 02  |..}..3...^....D.|
00004110  cd 19 be 82 7d 8b 7d 0f  83 ff 02 72 c8 8b c7 48  |....}.}....r...H|
00004120  48 8a 4e 0d f7 e1 03 46  fc 13 56 fe bb 00 07 53  |H.N....F..V....S|
00004130  b1 04 e8 16 00 5b 72 c8  81 3f 4d 5a 75 a7 81 bf  |.....[r..?MZu...|
00004140  00 02 42 4a 75 9f ea 00  02 70 00 50 52 51 91 92  |..BJu....p.PRQ..|
00004150  33 d2 f7 76 18 91 f7 76  18 42 87 ca f7 76 1a 8a  |3..v...v.B...v..|
00004160  f2 8a 56 24 8a e8 d0 cc  d0 cc 0a cc b8 01 02 cd  |..V$............|
00004170  13 59 5a 58 72 09 40 75  01 42 03 5e 0b e2 cc c3  |[EMAIL PROTECTED]|
00004180  03 18 01 27 0d 0a 49 6e  76 61 6c 69 64 20 73 79  |...'..Invalid sy|
00004190  73 74 65 6d 20 64 69 73  6b ff 0d 0a 44 69 73 6b  |stem disk...Disk|
000041a0  20 49 2f 4f 20 65 72 72  6f 72 ff 0d 0a 52 65 70  | I/O error...Rep|
000041b0  6c 61 63 65 20 74 68 65  20 64 69 73 6b 2c 20 61  |lace the disk, a|
000041c0  6e 64 20 74 68 65 6e 20  70 72 65 73 73 20 61 6e  |nd then press an|
000041d0  79 20 6b 65 79 0d 0a 00  49 4f 20 20 20 20 20 20  |y key...IO      |
000041e0  53 59 53 4d 53 44 4f 53  20 20 20 53 59 53 80 01  |SYSMSDOS   SYS..|
000041f0  00 57 49 4e 42 4f 4f 54  20 53 59 53 00 00 55 aa  |.WINBOOT SYS..U.|
00004200  f8 ff ff ff 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00004210  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

-- 

Petr

-- 
gentoo-user@gentoo.org mailing list

Reply via email to