From owner-freebsd-stable@FreeBSD.ORG Wed Sep 17 17:48:32 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8797216A4B3 for ; Wed, 17 Sep 2003 17:48:32 -0700 (PDT) Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.162.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id B74F543F3F for ; Wed, 17 Sep 2003 17:48:31 -0700 (PDT) (envelope-from mdau@vt.edu) Received: from zidane.cc.vt.edu (IDENT:mirapoint@evil-zidane [10.1.1.13]) by lennier.cc.vt.edu (8.12.8/8.12.8) with ESMTP id h8I0mUxM092425 for ; Wed, 17 Sep 2003 20:48:31 -0400 (EDT) Received: from zathras (zathras.cc.vt.edu [198.82.162.117]) by zidane.cc.vt.edu (Mirapoint Messaging Server MOS 3.3.7-GR) with ESMTP id BYO81630; Wed, 17 Sep 2003 20:48:30 -0400 (EDT) X-WebMail-UserID: mdau Date: Wed, 17 Sep 2003 20:48:30 -0400 Sender: Matt Dau From: Matt Dau To: freebsd-stable@freebsd.org X-EXP32-SerialNo: 00002216 Message-ID: <3F6A8976@zathras> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Infinite Mobile Delivery (Hydra) SMTP v3.62.01 Subject: Partition Table on the fritz X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Sep 2003 00:48:32 -0000 Hi, I'm having a problem with my old FreeBSD partition. I had the harddrive in a working system that i changed the motherboard in. It was unstable at first, causing the system to lock up a couple times. I finally got the problems worked out and installed 5.1 on a new drive. It is up and running now, but I have problems when trying to access the old drive. The first thing I noticed is that devfs wasn't creating /dev/ad2s1*. When I ran disklabel, it gave me the following output: # /dev/ad2s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 524288 63 4.2BSD 2048 16384 32776 b: 2055104 524351 swap c: 35648172 63 unused 0 0 # "raw" part, don't edit d: 524288 2579455 4.2BSD 2048 16384 32776 e: 524288 3103743 4.2BSD 2048 16384 32776 f: 32020204 3628031 4.2BSD 2048 16384 28512 partition c: partition extends past end of unit disklabel: partition c doesn't start at 0! disklabel: An incorrect partition c may cause problems for standard system utilities partition f: partition extends past end of unit Now wishing I had saved the information from when it was working, I tried fdisk to see what it would say: (jacobian|~)# fdisk /dev/ad2 ******* Working on device /dev/ad2 ******* parameters extracted from in-core disklabel are: cylinders=348861 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=348861 heads=16 sectors/track=63 (1008 blks/cyl) 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 14 (0x0e),(Primary 'big' DOS (>= 32MB, LBA)) start 63, size 35648172 (17406 Meg), flag 0 beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 35648235, size 315998550 (154296 Meg), flag 80 (active) beg: cyl 1023/ head 0/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 3 is: The data for partition 4 is: Partition 1 is DOS? Could that have gotten changed? Could that be preventing me from seeing the rest of ad2s1? When I try to mount ad2s1, i get the 'a' partition. I really really need what is on the 'f' partition.. Is there any way I can get that information back? Thanks in advance, Matt