From owner-freebsd-questions Thu Aug 22 12:42:29 2002 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 1181837B400 for ; Thu, 22 Aug 2002 12:42:25 -0700 (PDT) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CD4C43E65 for ; Thu, 22 Aug 2002 12:42:24 -0700 (PDT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.11.6+Sun/8.11.6) id g7MJgDB21877; Thu, 22 Aug 2002 15:42:14 -0400 (EDT) From: Jerry McAllister Message-Id: <200208221942.g7MJgDB21877@clunix.cl.msu.edu> Subject: Re: Partitioning Question To: 937863@primus.ca (Allan Jude) Date: Thu, 22 Aug 2002 15:42:13 -0400 (EDT) Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: from "Allan Jude" at Aug 22, 2002 02:57:58 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > I have a box with FreeBSD 4.6-Stable on it > > It has 1 40 gb hard drive in it, that is divided into 2 partitions > One for FreeBSD (Bootable) > and one for Windows XP > > > Now that I have fallen in love with FreeBSD, I no longer have a need for > the windows XP Partition > > I would like to erase it, format it as FreeBSD, and mount it has > /usr/home2 > > How would I go about doing this, without disturbing my existing FreeBSD > partition. > Well, you can probably use fdisk to tell it that it is a FreeBSD slice and then use disklabel to create one large partition on the slice - probably an 'a' partition and then newfs it, make a mount point for it (/home2) and mount it (add it to /etc/fstab. Careful you don't overwrite the wrong stuff - read the fdisk info first and then only write the slice info (1,2,3,4) you want eg change only the one slice to BSD type (165). Make a backup of everything on your FreeBSD slice first just to be safe. Note the use of slice and partition. In the FreeBSD world, what is usually referred to in Microsloth land as a partition is called a slice - even though the fdisk man page still has not been rewritten to reflect this. With only one disk that probably means that your 'C drive' works out as slice 1 and probably your current FreeBSD slice is slice 2. Then, in FreeBSD world each slice can be divided in to as many as 8 partitions a-h, though normally the 'c' name is used as only a comment to describe the whole disk and often 'b' is used for swap. ////jerry > > ------=_NextPart_000_0000_01C249EC.4E914D10 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message