From owner-freebsd-questions@FreeBSD.ORG Wed Mar 16 14:58:46 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 17FD716A4CE for ; Wed, 16 Mar 2005 14:58:45 +0000 (GMT) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 795AC43D46 for ; Wed, 16 Mar 2005 14:58:45 +0000 (GMT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.11.7p1+Sun/8.11.7) id j2GEwTp27548; Wed, 16 Mar 2005 09:58:29 -0500 (EST) From: Jerry McAllister Message-Id: <200503161458.j2GEwTp27548@clunix.cl.msu.edu> To: FreeBSD@euro.net.mk (Perica Veljanovski) Date: Wed, 16 Mar 2005 09:58:29 -0500 (EST) In-Reply-To: <42380512.7060206@euro.net.mk> from "Perica Veljanovski" at Mar 16, 2005 11:06:11 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: sysinstall/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 14:58:46 -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? Generally, I don't tink with drive geometry. I just let the system take care of it. I haven't done much with IDE - only a couple of systems - but it seemed to work the same on those. The geometry values you see are mostly fiction and are there for some historical (hysterical??) reasons. What fdisk sees will not match what is really on the disk. There is a FAQ and lots of stuff in the archives on this. Some of the entries, especially the FAQ explain it fairly well - better than I can. But, the sum of it is just go ahead and try the new disk. Don't change BIOS or anything about the gometry. Ignore its whining. If it seems to work, then the system knows what it is doing. If it doesn't, then take the details from what goes wrong and ask some more questions. In the meantime, don't do anything with your old disk, just to be careful. ////jerry > > > That's about it... any examples would be great! > > thanks ahead! > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >