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 1GN2k7-00042R-92 for garchives@archives.gentoo.org; Tue, 12 Sep 2006 07:31:39 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k8C7Uq1L003831; Tue, 12 Sep 2006 07:30:52 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k8C7QcsH026330 for ; Tue, 12 Sep 2006 07:26:38 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id E2CD864677 for ; Tue, 12 Sep 2006 07:26:37 +0000 (UTC) Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 25791-14 for ; Tue, 12 Sep 2006 07:26:31 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id BE3BF64148 for ; Tue, 12 Sep 2006 07:26:30 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GN2et-0007Lt-MW for gentoo-user@gentoo.org; Tue, 12 Sep 2006 09:26:15 +0200 Received: from blueboticspc1.epfl.ch ([128.179.67.27]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Sep 2006 09:26:15 +0200 Received: from remy.blank_asps by blueboticspc1.epfl.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Sep 2006 09:26:15 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Remy Blank Subject: [gentoo-user] Re: Corrupt xD card with photos Date: Tue, 12 Sep 2006 09:26:05 +0200 Message-ID: References: <200609111950.07446.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: text/plain; charset=ISO-8859-15 X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: blueboticspc1.epfl.ch User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) In-Reply-To: Sender: news X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Status: No, score=-2.559 required=5.5 tests=[AWL=0.040, BAYES_00=-2.599] X-Spam-Score: -2.559 X-Spam-Level: Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id k8C7Uq1Z003831 X-Archives-Salt: 401f01b6-afc0-42a1-a4af-fceb27a55c5b X-Archives-Hash: 442da3629bd7bd6c71dda8ec6ddb68ab Sven K=F6hler wrote: > First thing that i see is: > where the hell is /dev/sda1? Yes, there should be a FAT partition on > that xD card, but it's not there. >=20 > So first step: > Re-create a primary FAT partition without formatting it (for example us= e > cfdisk) 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. 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. --=20 gentoo-user@gentoo.org mailing list