From owner-freebsd-questions@FreeBSD.ORG Sat Aug 9 16:48:53 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 B632E37B401 for ; Sat, 9 Aug 2003 16:48:53 -0700 (PDT) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF32D43F75 for ; Sat, 9 Aug 2003 16:48:52 -0700 (PDT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: from clunix.cl.msu.edu (localhost [127.0.0.1]) by clunix.cl.msu.edu (8.12.9/8.12.9) with ESMTP id h79NmpOg010028; Sat, 9 Aug 2003 19:48:51 -0400 (EDT) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.12.9/8.12.9/Submit) id h79NmoLF010027; Sat, 9 Aug 2003 19:48:50 -0400 (EDT) From: Jerry McAllister Message-Id: <200308092348.h79NmoLF010027@clunix.cl.msu.edu> To: kuku@physik.rwth-aachen.de (Christoph Kukulies) Date: Sat, 9 Aug 2003 19:48:49 -0400 (EDT) In-Reply-To: <200308092016.h79KGh519464@accms33.physik.rwth-aachen.de> from "Christoph Kukulies" at Aug 09, 2003 10:16:43 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: Re: FreeBSD fdisk/sysinstall 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: Sat, 09 Aug 2003 23:48:54 -0000 > > I tried to invoke sysinstall to write an additional FreeBSD slice > to the disk I was currently booted from. > > I intentionally chose the W option to write the changes since > I didn't want to do an installtion. But I got an error that I could > not write to the disk. > Why is that? Because I'm booted from that disk? Yes. > Don't know. Just wondering. > > Is there a neat fdisk for FreeBSD like the linux fdisk > (which is pfdisk derived, I believe). The FreeBSD fdisk > is really archaic and I was not able to specify start/end > block numbers. The calulated cyl numbers seemed to overlap > with the previous partition so I bailed out and left > it as it was and put up this question instead. You do not want to calculate block numbers in any old way when you make slices, just offset and size.. You do that a little when you do disklabel. The cylinder, track, sector values are virtual on mondern disks and do not map directly to the disk's actual cylinders, tracks and sectors - at least for SCSI drives and so you don't want to mess with them. Let the system (fdisk and the disk controller) deal with them. ////jerry > > -- > Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de