From owner-freebsd-questions@FreeBSD.ORG Mon Jun 12 14:00:07 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 7F3C016A476 for ; Mon, 12 Jun 2006 14:00:07 +0000 (UTC) (envelope-from jerrymc@clunix.cl.msu.edu) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED60B43D49 for ; Mon, 12 Jun 2006 14:00:06 +0000 (GMT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: from clunix.cl.msu.edu (localhost [127.0.0.1]) by clunix.cl.msu.edu (8.13.6+Sun/8.13.6) with ESMTP id k5CE06I4020061; Mon, 12 Jun 2006 10:00:06 -0400 (EDT) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.13.6+Sun/8.13.6/Submit) id k5CE01dV020060; Mon, 12 Jun 2006 10:00:01 -0400 (EDT) From: Jerry McAllister Message-Id: <200606121400.k5CE01dV020060@clunix.cl.msu.edu> To: standardhk@gmail.com (t s) Date: Mon, 12 Jun 2006 10:00:01 -0400 (EDT) In-Reply-To: <61347e710606120134h1718740cvbb770056faa7c1e2@mail.gmail.com> X-Mailer: ELM [version 2.5 PL7] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: about freebsd partition problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jun 2006 14:00:07 -0000 > > Dear all, > i have some partition questions in freebsd installation! > > my harddisk(40G FAT32) : > c:\ (primary 10G windows XP root) > d:\ (logical 5G with data) > e:\ (logical 5G with data) > f:\ (logical 10G with data) > g:\ (logical 10G empty) > > so i want to release 500MB from "d:\" for the second primary partition > and then put the freebsd "/" on it, the other put to "g:\" just like the > belows: > > windows xp mode > c:\ (primary 10G windows XP root) > d:\ (logical 4.5G with data) ====> 500MB for freebsd "/" (second primary > "ad0s2") > e:\ (logical 5G with data) > f:\ (logical 10G with data) > cannot see the g:\ ==========> used by /var /usr /swap > > is it ok??? but i don't know how to create the "ad0s2"??? and edit the g:\ > for /var, /usr, /swap??? Well, sort of OK. I would not be inclined to put a FreeBSD slice right in the middle of your MS logical drives. But, I think you could do it. Secondly, I don't know what just having 500 MB for a FreeBSD '/' would get you. It would not be enough to run FreeBSD. But, probably you haven't told the whole story. Something else must be there. Anyway, I would be inclined to take the FreeBSD slice out of that empty GB space that currently shows up as g: on you Microsloth system. > > any disk edit tool can do it??? I have successfully used Partition Magic for this sort of thing. It is available at not too high a price from most places that sell software. As long as all the MS stuff is FAT, I think there are some free tools that will work too, but I haven't used them so can not attest to their effectiveness or reliability. A couple come with the FreeBSD distribution. But, the free tools do not handle NTFS which is why I haven't used them. You will first need to use the disk tool such as Partition Magic to shrink the existing structures and put a new primary slice in the space. Then, when you run the FreeBSD install, you have it mark the slice as a FreeBSD slice. Up until that point, it is not really a FreeBSD ad0s2, just some generic space. Partition Magic does not know how to mark the slice (which it calls a primary partition, using MS terminology) as a FreeBSD slice. So FreeBSD's fdisk does it. (Even if you use sysinstall to write the slice, it really just calls fdisk) Good luck, ////jerry > > thank you very much > > steve (come from hong kong) > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >