From owner-freebsd-stable Sun Aug 19 20:24:49 2001 Delivered-To: freebsd-stable@freebsd.org Received: from dragon.awen.com (dragon.awen.com [66.120.7.18]) by hub.freebsd.org (Postfix) with ESMTP id A037837B40D for ; Sun, 19 Aug 2001 20:24:44 -0700 (PDT) (envelope-from mburgett@dragon.awen.com) Received: from dragon.awen.com (localhost [127.0.0.1]) by dragon.awen.com (8.12.0.Beta16/8.12.0.Beta16) with ESMTP id f7K3OeKX044223; Sun, 19 Aug 2001 20:24:41 -0700 (PDT) Received: (from mburgett@localhost) by dragon.awen.com (8.12.0.Beta16/8.12.0.Beta16) id f7K3OaGv044221; Sun, 19 Aug 2001 20:24:36 -0700 (PDT) Message-Id: <200108200324.f7K3OaGv044221@dragon.awen.com> From: "Mike Burgett" To: "Mike Burgett" , "Valentin Nechayev" Cc: "freebsd-stable@freebsd.org" Date: Sun, 19 Aug 2001 20:24:36 -0700 Reply-To: "Mike Burgett" X-Mailer: PMMail 2000 Professional (2.20.2360) For Windows 2000 (5.0.2195;2) In-Reply-To: <20010819201009.B318@iv.nn.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Re: boot crash after hardware change. Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 19 Aug 2001 20:10:09 +0300, Valentin Nechayev wrote: >> I thought if it was DD, it wouldn't have the 4 partition entries... >> Is this right? > >No. Beginning of FreeBSD slice at C/H/S 0/0/1 is "dangerously dedicated". >Fdisk may reports fictive MBR; I don't know reason of this its strange feature. > >I suppose another factor as possible reason: geometry 1496*142*42 means >8922144 sectors on disk, but fdisk says 8925000 which is more than. >Moreover, C/H/S values in fictive MBR records are unexplainable: 556*142*42 >is 3315984, (556+1024)*142*42 is 9423120, and both these values are too >far from expected 8922144 or 8925000. (But, 8925000/556 is rather close >to 16065 == 255*63, which means tracks of LBA.;)) >All this means problems with detecting your disk geometry. Yup. Redoing the fdisk info (per the instructions in the handbook) makes it work: ******* Working on device /dev/da0 ******* parameters extracted from in-core disklabel are: cylinders=555 heads=255 sectors/track=63 (16065 blks/cyl) parameters to be used for BIOS calculations are: cylinders=555 heads=255 sectors/track=63 (16065 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 165,(FreeBSD/NetBSD/386BSD) start 63, size 8916012 (4353 Meg), flag 80 (active) beg: cyl 0/ sector 1/ head 1; end: cyl 554/ sector 63/ head 254 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: After doing this, newfs'ing each partition, and restoring the dumps I made, it boots fine. I note the space assigned here is less than the c*h*s size of the disk, by exactly one track. I'm just happy that its working (I've done 8 'buildworlds' on it as a bit of a burnin/torturetest) and I didn't have to reinstall. Thanks for the help! --Mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message