From owner-freebsd-questions@FreeBSD.ORG Wed Mar 16 13:06:00 2005 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 B7B1316A4CF for ; Wed, 16 Mar 2005 13:06:00 +0000 (GMT) Received: from hp2.euro.net.mk (hp2.euro.net.mk [212.110.94.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3B8C43D49 for ; Wed, 16 Mar 2005 13:05:58 +0000 (GMT) (envelope-from FreeBSD@euro.net.mk) Received: from [212.110.94.68] by hp2.euronet.com.mk (NTMail 7.00.0018/SG1971.09.57a4aa33) with ESMTP id wwvruaaa for freebsd-questions@freebsd.org; Wed, 16 Mar 2005 14:06:14 +0100 Message-ID: <42382F30.6010608@euro.net.mk> Date: Wed, 16 Mar 2005 14:05:52 +0100 From: Perica Veljanovski User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-VSMLoop: euronet.com.mk Subject: fdisk drive geometry problem 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: Wed, 16 Mar 2005 13:06:00 -0000 Hello I finally got another hdd for my home box, decided to do a fresh fbsd install and I ended up with a disk problem :( : ide0: 40GB [FreeBSD wannabe (ufs2) 10GB, storage2 (fat32) 30GB] ide2: 40GB [WinXP (ntfs) 10GB, storage1 (fat32) 30GB] Now when I begin the installation, and go to the partitioning section, fdisk complains about drive geometry and rearranges the drive. Here are the settings: cyls/heads/sectors 19xxx/16/255 (BIOS) 7xxx/16/63 (dmesg "this is what fbsd complains to") 4xxx/255/63 (the new fdisk rearrangement) and FreeBSD's fdisk seems to get off on setting the head count to 255!!! I tried setting the bios value and fdisk complains again, but for some reason when I swap the heads and sectors values it does not. Same goes for the dmesg values (drive geometry from the dmesg output). Since I have no experience with changing drive geometry, nor do I understand the bloody thing, I have several issues: - Will I loose the data on 'storage2' if I change the drive geometry? - How should I set up the new drive geometry? What setting is faster/better? more cyls or more sectors (since fdisk is set to use 255 heads)? - If I backup 'storage2', change drive geometry as fbsd/fdisk suggests (or whatever), create a 10g slice and leave the other space unpartitioned, will I be able to partition and format the drive to fat32 from WinXP? That's about it... any examples would be great! thanks ahead!