From owner-freebsd-questions@FreeBSD.ORG Tue Aug 19 08:30:52 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 866B216A4BF for ; Tue, 19 Aug 2003 08:30:52 -0700 (PDT) Received: from mail.rz.uni-ulm.de (gemini.rz.uni-ulm.de [134.60.246.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id A633C43FB1 for ; Tue, 19 Aug 2003 08:30:50 -0700 (PDT) (envelope-from Siegbert.Baude@gmx.de) Received: from gmx.de (lilith.wh-wurm.uni-ulm.de [134.60.106.64]) by mail.rz.uni-ulm.de (8.12.9/8.12.9) with ESMTP id h7JFUkWK011181; Tue, 19 Aug 2003 17:30:46 +0200 (MEST) Message-ID: <3F424294.4060200@gmx.de> Date: Tue, 19 Aug 2003 17:30:28 +0200 From: Siegbert Baude User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.5b) Gecko/20030723 Thunderbird/0.1 X-Accept-Language: de-de, de-at, de, en-us, en MIME-Version: 1.0 To: stickney@ece.arizona.edu References: <200308191308.h7JD80P9019500@clunix.cl.msu.edu> In-Reply-To: <200308191308.h7JD80P9019500@clunix.cl.msu.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DCC-RollaNet-Metrics: gemini 1040; Body=2 Fuz1=2 Fuz2=2 cc: freebsd-questions@freebsd.org Subject: Re: Fdisk disagreas with BIOS over 120GB drive. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2003 15:30:53 -0000 Hi, >>Fdisk (using /stand/sysinstall) disagrees with the values my bios is >>reporting. My BIOS reports that my 120GB drive has this geometry: 59131 >>Cylendars, 16 Heads, and 255 sectors. The drive is an IBM deskstar. When i >>try to enter the correct geometry, Fdisk gives me the message below. >> >> > >I hope someone with more detailed knowledge responds as well, but my >experience says just take what FreeBSD's fdisk gives you. The >geometry on "modern" disks is virtual as far as what you are dealing >with anyway. > > The conflict probably exists between the translation detected by the BIOS and the partition table entries on the disk. Will this disk be used only within FreeBSD or is it a multi-OS machine? In the latter case it is very important, that all OSes use the same translation, otherwise, one could overwrite data of the other. I would recommend to use every OS's fdisk for its own slice in this order: Win, Linux, FreeBSD. Make sure Linux and FreeBSD, will use the same translation chosen by Windows' fdisk. Is there already data on the disk? If not, I would suggest to erase the partition table. CAUTION: This will make all data on your disk disappear! dd if=/dev/zero of=/dev/ad2 count=1 bs=512 Then reboot and let the BIOS autodetect. Normally there will be modes detected with either 16/63 or 255/63 H/S. The former allows for some megabytes less wasted space at the end of the disk. If you use FreeBSD fdisk now, it should allow the values of the BIOS without protest. Another approach after having erased the partition table would be to check in dmesg, which CHS values are read by FreeBSD out of the disk. Then try to manually give this values to your BIOS. HTH. Ciao Siegbert