Gentoo Archives: gentoo-user

From: "Frédéric Grosshans" <frederic.grosshans.1995@×××××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] No /dev/sda1 with Klingston usb disk. Wrong lsusb output.
Date: Tue, 18 Apr 2006 07:39:08
Message-Id: 1145345874.18698.19.camel@localhost
In Reply to: Re: [gentoo-user] No /dev/sda1 with Klingston usb disk. Wrong lsusb output. by Petr Kocmid
1 Le mardi 18 avril 2006 à 09:12 +0200, Petr Kocmid a écrit :
2 > On Tuesday 18 April 2006 05:04, Frédéric Grosshans wrote:
3 > > Any other idea ?
4 >
5 > Never give up.
6
7 That seems to be your moto :-)
8
9 > Try hexdump on the device above:
10 > hexdump -C /dev/disk/by-id/usb-Generic_USB_Flash_Drive
11
12 I'm currently with the ub driver, so I tried
13
14 sanduleak ~ # hexdump -C /dev/uba
15 hexdump: /dev/uba: No medium found
16 hexdump: /dev/uba: Bad file descriptor
17
18 I'll try again with the usb-storage driver after a reboot, but I fear
19 I'll have the same problem.
20
21 > Here is an example of mine, having partition table with PT boot code at offset
22 > 0 and FAT16 boot sector at offset 4000hex with msdos/windows boot code (it
23 > was formatted in W2k). If you don't see any of the like anywhere on the disk,
24 > it is possibly encrypted on-chip or broken.
25
26 There is indeed an encryption feature on this key. I've never used it (I
27 haven't even downloaded the windows-only software allowing to use it).
28 Can it be related to this problem ?
29
30 > You may even see some windows
31 > virus on your PT and/or fat boot instead of boot code. If you have no valid
32 > partition (since your fdisk fails on it) but able to find your FAT somewhere
33 > on the disk, it is possible to reconstruct, but I advise to dd whole disk to
34 > file before.
35
36 I'm not even able to dd the disk... (No medium found)
37
38 > To seek the boot sector of the volume, look for the signature 55
39 > aa hex at end of sector, just like mine are at offsets 01fe-01ff (pt)
40 > 41fe-41ff (fat boot). Sector size is 512==200hex.
41 >
42 > hexdump -C /dev/disk/by-id/usb-USB_512MB_3EA84191EC2E0009
43 > 00000000 fa 33 c0 8e d0 bc 00 7c 8b f4 50 07 50 1f fb fc |.3.....|..P.P...|
44
45 thanks for all that information.
46
47 So my next steps are :
48 1. Switching back to usb-storage
49 2. Trying to dd the disk
50 3. That doesn't work, trying to get access to another computer and see
51 if I can do something.
52
53 By the way, I can afford losing the data on the key. I mainly want to be
54 able to use it. Does that giev you other ideas ?
55
56 Fred
57
58 --
59 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] No /dev/sda1 with Klingston usb disk. Wrong lsusb output. Neil Bothwick <neil@××××××××××.uk>
Re: [gentoo-user] No /dev/sda1 with Klingston usb disk. Wrong lsusb output. "Frédéric Grosshans" <frederic.grosshans.1995@×××××××××××××.org>