Date: Sun, 19 Aug 2001 20:24:36 -0700 From: "Mike Burgett" <mburgett@awen.com> To: "Mike Burgett" <mike@zentek.com>, "Valentin Nechayev" <netch@iv.nn.kiev.ua> Cc: "freebsd-stable@freebsd.org" <freebsd-stable@FreeBSD.ORG> Subject: Re: boot crash after hardware change. Message-ID: <200108200324.f7K3OaGv044221@dragon.awen.com> In-Reply-To: <20010819201009.B318@iv.nn.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <UNUSED> The data for partition 3 is: <UNUSED> The data for partition 4 is: <UNUSED> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108200324.f7K3OaGv044221>