public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Dan Farrell <dan@spore.ath.cx>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Corrupt USB pen drive
Date: Thu, 17 May 2007 11:25:42 -0500	[thread overview]
Message-ID: <20070517112542.1b7382cd@pascal.spore.ath.cx> (raw)
In-Reply-To: <200705171704.23751.michaelkintzios@gmail.com>

On Thu, 17 May 2007 17:04:21 +0100
Mick <michaelkintzios@gmail.com> wrote:

>>Thanks Dan, as I said above I tried to extract the MBR out of it by
>>running:
>>
>>dd if=/dev/sda of=/tmp/r1 bs=512
>>
>>But couldn't access it whatsoever.

> Oops! I could access it, but of course I had to try it as root!
> Right, I've got it on my hard drive now, but still cannot mount it:
> ==================================
> # mount -t vfat /dev/loop2 /tmp/r1
> mount: wrong fs type, bad option, bad superblock on /dev/loop2,
>        missing codepage or other error
>        In some cases useful info is found in syslog - try
>        dmesg | tail  or so
> ==================================

because the _disk_ sda doesn't house a filesystem, the _partiton_
sda1 does.  You need to find out where that partition started and ended
on the disk sda.  My thought was maybe windows would format it the same
way twice, in which case you can format and then get the partitioning
information out of the device, reformat, write the part of /tmp/r1 that
coincides with the partition, cross fingers, and try mounting.  
-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2007-05-17 16:36 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 [this message]
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
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=20070517112542.1b7382cd@pascal.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