Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Aug 2003 19:48:49 -0400 (EDT)
From:      Jerry McAllister <jerrymc@clunix.cl.msu.edu>
To:        kuku@physik.rwth-aachen.de (Christoph Kukulies)
Cc:        questions@freebsd.org
Subject:   Re: FreeBSD fdisk/sysinstall
Message-ID:  <200308092348.h79NmoLF010027@clunix.cl.msu.edu>
In-Reply-To: <200308092016.h79KGh519464@accms33.physik.rwth-aachen.de> from "Christoph Kukulies" at Aug 09, 2003 10:16:43 PM

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308092348.h79NmoLF010027>