From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1Hoih8-0008Dq-Sm for garchives@archives.gentoo.org; Thu, 17 May 2007 16:19:15 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l4HGGk1x013585; Thu, 17 May 2007 16:16:46 GMT Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.234]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l4HG4hI2028434 for ; Thu, 17 May 2007 16:04:44 GMT Received: by wr-out-0506.google.com with SMTP id 60so618805wri for ; Thu, 17 May 2007 09:04:43 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:reply-to:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:message-id; b=NDsMSdsDEuGbSnQnqdaSNs3ivxifkj+GqKuAo7W7bHwbMw1vjU8G2Ml70vQnFUi3zYDLtqIHJXSmBeE/+U61b7TX5aSs889899kuJudX7IDDZoU+22izYFrqLykTC93ammSp1i3HL9bfPkxVYRMvdwnETjqP+vnW6V+xBpg/p04= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:reply-to:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:message-id; b=jQDeTgLgiagh0Jrsvvc4yAT7PmVkj97QKCHfV4xYPdEK/W1oQEjqgwc/1UwSCBQ8E20eiokpRbxO49oqoiisiuVf4Ojyfay+shYpZECg9V23fEYETVV1wlUDY/yDfTMcmL/c0iWg7JVcnxbTzxN0yoG3YAutQhBQjuB5qXw3Sus= Received: by 10.78.132.2 with SMTP id f2mr197452hud.1179417882425; Thu, 17 May 2007 09:04:42 -0700 (PDT) Received: from lappy ( [86.133.184.117]) by mx.google.com with ESMTP id p32sm503470ugc.2007.05.17.09.04.41; Thu, 17 May 2007 09:04:42 -0700 (PDT) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Corrupt USB pen drive Date: Thu, 17 May 2007 17:04:21 +0100 User-Agent: KMail/1.9.5 References: <200705171236.28695.michaelkintzios@gmail.com> <20070517094559.14586f21@pascal.spore.ath.cx> <200705171638.54090.michaelkintzios@gmail.com> In-Reply-To: <200705171638.54090.michaelkintzios@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1527363.B74zKGmHLJ"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200705171704.23751.michaelkintzios@gmail.com> X-Archives-Salt: e3eecb27-0f9d-422c-8622-31ccf1931173 X-Archives-Hash: d6d13cde32eee75c19edaa40eb797ed1 --nextPart1527363.B74zKGmHLJ Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 17 May 2007 16:38, Mick wrote: > On Thursday 17 May 2007 15:45, Dan Farrell wrote: > > On Thu, 17 May 2007 12:36:25 +0100 > > > > Mick wrote: > > > I tried to dd the boot sector so that I can look at it on my hard > > > drive, but it cannot access /dev/sda. Is there anything that I can > > > do with my Gentoo to recover the files on this USB? > > > > have you tried reading raw from the device like > > > > | dd if=3D/dev/sda of=3Dsda.image > > > > ? That might do the recovery. How to get it out of the image is the > > same problem but once the backup succeeds you can plug it into a > > windows xp box and reformat, and you will probably end up with the same > > partition structure as originally. Then you can try to read the right > > part of the image out of the image, once you get the numbers from fdisk > > on the newly formatted drive, and end up with an image of sda1. From > > there you should be able to mount sda1 and read out the data, if it > > isn't corrupted. > > Thanks Dan, as I said above I tried to extract the MBR out of it by > running: > > dd if=3D/dev/sda of=3D/tmp/r1 bs=3D512 > > But couldn't access it whatsoever. > Oops! I could access it, but of course I had to try it as root! Right, I'v= e=20 got it on my hard drive now, but still cannot mount it: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D # 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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D =2D-=20 Regards, Mick --nextPart1527363.B74zKGmHLJ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQBGTH0H5Fp0QerLYPcRAjhiAKDRnK1ZTdNUIKNq4QlpkEjN44+fxgCguHDO WxTsq71NMFZa5zgwdVudZJU= =lUJg -----END PGP SIGNATURE----- --nextPart1527363.B74zKGmHLJ-- -- gentoo-user@gentoo.org mailing list