Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Nov 2000 22:19:59 -0600
From:      "David J. Kanter" <david.kanter@mindspring.com>
To:        FreeBSD questions <freebsd-questions@freebsd.org>
Subject:   Disklabel question
Message-ID:  <20001105221959.A465@freebsd.mindspring.com>

next in thread | raw e-mail | index | archive | help
I'm confused with disklabel: Should the disklabel output show labels for
*only* my FreeBSD partition, or should it be aware of my Windows partition
as well?

Currently, I've got Windows (ad0s1) and FreeBSD (ad0s2) installed, and am
able to mount the Windows partition just fine. But should disklabel know
about this partition?

Here's my disklabel output:

#        size   offset    fstype   [fsize bsize bps/cpg]
  a:   131072        0    4.2BSD     1024  8192    16 	# (Cyl.    0 - 8*)
  b:   524288   131072      swap                    	# (Cyl.    8*- 40*)
  c:  8177085        0    unused        0     0       	# (Cyl.    0 - 508)
  e:    65536   655360    4.2BSD     1024  8192    16 	# (Cyl.   40*- 44*)
  f:    65536   720896    4.2BSD     1024  8192    16 	# (Cyl.   44*- 48*)
  g:  5120000   786432    4.2BSD     1024  8192    16 	# (Cyl.   48*- 367*)
  h:  2270653  5906432    4.2BSD     1024  8192    16 	# (Cyl.  367*- 508*)

However, there's a Windows partition before the "a" slice, so why does
disklabel say slice "a" runs from cylinders 0 through 8? Are these cylinders
0 through 8 relative to the FreeBSD partition?

I ask because I've tried installing other operating systems from the DOS
partition (e.x., OpenBSD) but have failed because the new OS couldn't find
the DOS partition (When things go smoothly, OpenBSD detects an "i" slice
that's my Windows partiton). This usually happens when other partitions used
to exist where I want to install the new OS, and I had to use fdisk to
remove the old partition to make room for the new one.
-- 
David Kanter


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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