From owner-freebsd-questions Sun Nov 5 20:20: 5 2000 Delivered-To: freebsd-questions@freebsd.org Received: from tisch.mail.mindspring.net (tisch.mail.mindspring.net [207.69.200.157]) by hub.freebsd.org (Postfix) with ESMTP id C80C637B4C5 for ; Sun, 5 Nov 2000 20:20:02 -0800 (PST) Received: from freebsd.mindspring.com (user-33qtbeh.dialup.mindspring.com [199.174.173.209]) by tisch.mail.mindspring.net (8.9.3/8.8.5) with ESMTP id XAA11380 for ; Sun, 5 Nov 2000 23:20:00 -0500 (EST) Received: (from david@localhost) by freebsd.mindspring.com (8.11.1/8.11.1) id eA64Jxi00484 for freebsd-questions@freebsd.org; Sun, 5 Nov 2000 22:19:59 -0600 (CST) (envelope-from david) Date: Sun, 5 Nov 2000 22:19:59 -0600 From: "David J. Kanter" To: FreeBSD questions Subject: Disklabel question Message-ID: <20001105221959.A465@freebsd.mindspring.com> Mail-Followup-To: FreeBSD questions Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: FreeBSD 4.2-BETA Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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