From: Dan Farrell <dan@spore.ath.cx>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Corrupt USB pen drive
Date: Fri, 18 May 2007 09:09:17 -0500 [thread overview]
Message-ID: <20070518090917.07abb935@voyager.g.spore.ath.cx> (raw)
In-Reply-To: <200705181411.23476.michaelkintzios@gmail.com>
On Fri, 18 May 2007 14:11:14 +0100
Mick <michaelkintzios@gmail.com> wrote:
> On Friday 18 May 2007 13:25, Hans-Werner Hilse wrote:
> > Hi,
> >
> > On Fri, 18 May 2007 12:50:07 +0100 Mick <michaelkintzios@gmail.com>
> > wrote:
>
> > > No matter if I use vfat, msdos, or ntfs. It seems to me that I
> > > need to reconstruct the hex of the partition table - but don't
> > > know how to do this and testdisk does not see the device to
> > > recover previous partition tables.
I agree that you probalby need to get the partition table, or at least
information about the partition in question. Althought it is possibe
that the disk is all one filesystem, I have never seen windows do it
that way for a usb stick. I assume it's all one big partition,
formatted vfat, just like all the others I've seen.
> > I'm pretty sure someone borked the first sectors of that stick. It
> > might have contained a partition table at some point in the past,
> > and the partition table might be gone now (HD mode).
I agree, this eems to be the case.
> > But there is
> > also the possibility that there wasn't a partition table but just a
> > single filesystem on the stick (superfloppy mode).
> >
> > My suggestion is to take a hex editor and search for the start of a
> > partition. Most partition types are easily recognizable by some
> > magic bytes. It would, however, help a lot if you could tell what
> > kind of filesystem there was. If you found the start of the
> > filesystem, just use dd again and skip the bytes until the real
> > start of the FS. You can then mount the resulting file (w/o
> > partitioning and such).
I agree. I've been reading about vfat filesystems a little and I think
this article http://en.wikipedia.org/wiki/VFAT seems to have all the
information we need. However,
> ==============================================
> 000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
If there are zeroes all through here...
> 0001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa
> 000200 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
and FF's all through here, I'm not sure there's enough left over to
recover filesystem information.
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2007-05-18 14:15 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-17 11:36 [gentoo-user] Corrupt USB pen drive Mick
2007-05-17 11:51 ` Elias Probst
2007-05-17 12:56 ` Mick
2007-05-17 14:45 ` Dan Farrell
2007-05-17 15:38 ` Mick
2007-05-17 15:49 ` Dan Farrell
2007-05-17 16:03 ` Tim Allingham
2007-05-17 16:04 ` Mick
2007-05-17 16:25 ` Dan Farrell
2007-05-17 16:26 ` Tim Allingham
2007-05-17 22:27 ` Etaoin Shrdlu
2007-05-18 8:29 ` Mick
2007-05-18 9:24 ` Etaoin Shrdlu
2007-05-18 11:50 ` Mick
2007-05-18 12:25 ` Hans-Werner Hilse
2007-05-18 13:11 ` Mick
2007-05-18 14:09 ` Dan Farrell [this message]
2007-05-18 14:48 ` Hans-Werner Hilse
2007-05-18 15:30 ` Etaoin Shrdlu
2007-05-18 15:16 ` Etaoin Shrdlu
2007-05-21 9:47 ` Mick
2007-05-21 12:30 ` [gentoo-user] Corrupt USB pen drive [ot] Dan Farrell
2007-05-17 16:35 ` [gentoo-user] Re: Corrupt USB pen drive Francesco Talamona
2007-05-17 21:27 ` [gentoo-user] " Etaoin Shrdlu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070518090917.07abb935@voyager.g.spore.ath.cx \
--to=dan@spore.ath.cx \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox