From owner-freebsd-questions@FreeBSD.ORG Wed Nov 23 20:45:18 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9038D106564A for ; Wed, 23 Nov 2011 20:45:18 +0000 (UTC) (envelope-from traveling08@cox.net) Received: from fed1rmfepi106.cox.net (fed1rmfepi106.cox.net [68.230.241.137]) by mx1.freebsd.org (Postfix) with ESMTP id 6B7B88FC14 for ; Wed, 23 Nov 2011 20:45:18 +0000 (UTC) Received: from fed1rmimpo305.cox.net ([68.230.241.173]) by fed1rmfepo203.cox.net (InterMail vM.8.01.04.00 201-2260-137-20101110) with ESMTP id <20111123203353.HUED3756.fed1rmfepo203.cox.net@fed1rmimpo305.cox.net> for ; Wed, 23 Nov 2011 15:33:53 -0500 Received: from dell64 ([72.220.91.219]) by fed1rmimpo305.cox.net with bizsmtp id 0kZt1i0064jy6EY03kZtBz; Wed, 23 Nov 2011 15:33:53 -0500 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A020209.4ECD58B1.00A1,ss=1,re=0.000,fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=1.1 cv=Mm7wCnmhIH1F3xzFnZSx5GfOfjmr4St7hCElUMct5Xs= c=1 sm=1 a=mTOLj5AyYbQA:10 a=G8Uczd0VNMoA:10 a=kj9zAlcOel0A:10 a=olICo1sKaMXbpqbYUd6B5g==:17 a=ge07ekuDrkviXEmKi8kA:9 a=B3EEpVuHpgEz-lzggUYA:7 a=CjuIK1q_8ugA:10 a=olICo1sKaMXbpqbYUd6B5g==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; none Date: Wed, 23 Nov 2011 12:33:47 -0800 From: Robert To: freebsd-questions@freebsd.org Message-ID: <20111123123347.4f439c9c@dell64> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Invalid fdisk partition table found X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Nov 2011 20:45:18 -0000 Greetings [robert@dell64] ~> uname -a FreeBSD dell64.shasta204.local 8.2-STABLE FreeBSD 8.2-STABLE #34: Fri Nov 18 06:43:01 PST 2011 root@dell64.shasta204.local:/usr/obj/usr/src/sys/GENERIC amd64 I have two Lexar Professional 600X 16GB compact flash cards that are unusable. fdisk shows: [robert@dell64] ~> fdisk /dev/da1 ******* Working on device /dev/da1 ******* parameters extracted from in-core disklabel are: cylinders=29 heads=64 sectors/track=32 (2048 blks/cyl) parameters to be used for BIOS calculations are: cylinders=29 heads=64 sectors/track=32 (2048 blks/cyl) fdisk: invalid fdisk partition table found Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 32, size 59360 (28 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 28/ head 63/ sector 32 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: It shows only 28 MB instead of 16GB. I have tried to change the type from 165 (FreeBSD) to msdosfs types 6 11 or 12 using fdisk -u and fdisk -i and also "sade". I do not get and error but when finished it still shows the same data. I have tried to zero it out using " dd if=/dev/zero of=/dev/da1 bs=1m and nothing changes. I have tried different block sizes and counts to no avail. Is there any way I can restore these CF cards to 16GB? Any help or suggestions will be greatly appreciated. TIA Robert RobertRobert