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.60) (envelope-from ) id 1GN3ak-0006uu-Er for garchives@archives.gentoo.org; Tue, 12 Sep 2006 08:26:02 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k8C8NrBq012250; Tue, 12 Sep 2006 08:23:53 GMT Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k8C8GhGp000396 for ; Tue, 12 Sep 2006 08:16:44 GMT Received: by ug-out-1314.google.com with SMTP id s2so1737221uge for ; Tue, 12 Sep 2006 01:16:43 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:reply-to:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:message-id; b=pOxrRtbJMN1h9PHM1n+NasfU04jQVBVmsDpitv3O/sRLK1x0sNsVY0W29Yp5CvCHkuPm6Lw/A24eM/lR1y6JL/frKjbzMJ36j9tnVd+izl4CtAW81XxBUiMGA9iqqOEOTq+Nsv6MyLR5tAX//8b8VeGWT+3JNQNNvQPtSH5ZFEU= Received: by 10.67.89.5 with SMTP id r5mr3237226ugl; Tue, 12 Sep 2006 01:16:43 -0700 (PDT) Received: from lappy ( [86.138.215.173]) by mx.gmail.com with ESMTP id s1sm6273280uge.2006.09.12.01.16.42; Tue, 12 Sep 2006 01:16:43 -0700 (PDT) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Corrupt xD card with photos Date: Tue, 12 Sep 2006 09:19:27 +0100 User-Agent: KMail/1.9.1 References: <200609111950.07446.michaelkintzios@gmail.com> In-Reply-To: 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="nextPart11038307.XmvA5i90kz"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200609120919.29639.michaelkintzios@gmail.com> X-Archives-Salt: d328b5de-5b19-423b-9023-9f557da349ee X-Archives-Hash: a8945e5487c277d40c1994ddf876b7f2 --nextPart11038307.XmvA5i90kz Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 12 September 2006 08:26, Remy Blank wrote: > This is worth a try. However, I would first dump the whole card to a > file, make a copy of the file, and try all recovery attempts on the > copy. This way, you can always go back to the original and try something > else. Blast! Too late now - I've tried to recreate the partition table (see othe= r=20 message). But this is a very sensible approach and I should have thought o= f=20 it at the time. Thank you very much for your advice - well worth bookmarki= ng=20 this one! > Make a copy: > > dd if=3D/dev/sda of=3Dxd.img bs=3D1M > > Make a working copy: > > cp xd.img xd_work.img > > Re-create the partition table: > > fdisk -b 512 -C 1024 -H 5 -S 50 xd_work.img > > Enter: "n", "p", "1", "1", "1024", "t", "6", "w" > > (Not quite sure about the partition type (6), you might want to try > other types like FAT32 (b)) > > Try to mount the partition: > > mkdir mnt > mount -o ro,loop,offset=3D25600 xd_work.img mnt > > (25600 is 50 (number of sectors) * 512 (bytes per sector), that's the > start of the first partition) > > Most of this will have to be done as root, so please be careful. > > Good luck! > -- Remy > > > Remove underscore and suffix in reply address for a timely response. =2D-=20 Regards, Mick --nextPart11038307.XmvA5i90kz Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQBFBm2R5Fp0QerLYPcRAoREAJ4jJ2hoUQS1ovHB9Nn0/H/IrejU3gCgqF4l YMAGjSO5dp+VQC7jrEJHp0k= =4smb -----END PGP SIGNATURE----- --nextPart11038307.XmvA5i90kz-- -- gentoo-user@gentoo.org mailing list