From owner-freebsd-bugs Mon Sep 23 16:10:53 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA24968 for bugs-outgoing; Mon, 23 Sep 1996 16:10:53 -0700 (PDT) Received: from relay.hp.com (relay.hp.com [15.255.152.2]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id QAA24946 for ; Mon, 23 Sep 1996 16:10:47 -0700 (PDT) Received: from srmail.sr.hp.com by relay.hp.com with ESMTP (1.37.109.16/15.5+ECS 3.3) id AA280880227; Mon, 23 Sep 1996 16:10:27 -0700 Received: from hpnmhjw.sr.hp.com by srmail.sr.hp.com with ESMTP (1.37.109.16/15.5+ECS 3.3) id AA129350225; Mon, 23 Sep 1996 16:10:26 -0700 Received: from mina.sr.hp.com by hpnmhjw.sr.hp.com with SMTP (1.37.109.16/15.5+ECS 3.3) id AA070570225; Mon, 23 Sep 1996 16:10:25 -0700 Message-Id: <199609232310.AA070570225@hpnmhjw.sr.hp.com> To: Bill Fenner Reply-To: darrylo@sr.hp.com Cc: freebsd-bugs@freebsd.org Subject: Re: Very disturbing boot block problems.. In-Reply-To: Your message of "Mon, 23 Sep 1996 15:29:15 PDT." <96Sep23.152918pdt.177476@crevenia.parc.xerox.com> Date: Mon, 23 Sep 1996 16:10:25 -0700 From: Darryl Okahata Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Is there any easy way to determine the BIOS geometry, since that's the one > that's so important for the boot blocks? It depends on what you mean by "easy". From Bruce's posting, one way is to reboot with -v (at the "boot:" prompt, type "-v" and press [enter]). Once the system is back up, look at the first few dmesg lines; you'll see a section like: ------------------------------------------------------------------------------- BIOS Geometries: 0:03e23f20 0..994=995 cylinders, 0..63=64 heads, 1..32=32 sectors 0 accounted for ------------------------------------------------------------------------------- In this example, there's only one disk: 995 cylinders, 64 heads, 32 sectors. You'll have to look for the correct disk entry in your dmesg and adjust accordingly. > fdisk tells me: > > ******* Working on device /dev/sd1 ******* > parameters extracted from in-core disklabel are: > cylinders=3658 heads=6 sectors/track=96 (576 blks/cyl) You haven't given enough information. You need to give the full and complete output from fdisk and disklabel, in addition to the above BIOS geometry: fdisk sd1 disklabel sd1 -- Darryl Okahata Internet: darrylo@sr.hp.com DISCLAIMER: this message is the author's personal opinion and does not constitute the support, opinion, or policy of Hewlett-Packard, or of the little green men that have been following him all day.