public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] Corrupt USB pen drive
  @ 2007-05-17 16:25 99%       ` Dan Farrell
  0 siblings, 0 replies; 1+ results
From: Dan Farrell @ 2007-05-17 16:25 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2007-05-17 11:36     [gentoo-user] Corrupt USB pen drive Mick
2007-05-17 14:45     ` Dan Farrell
2007-05-17 15:38       ` Mick
2007-05-17 16:04         ` Mick
2007-05-17 16:25 99%       ` Dan Farrell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox