From owner-freebsd-stable Mon Apr 1 11:12:31 2002 Delivered-To: freebsd-stable@freebsd.org Received: from lists.blarg.net (lists.blarg.net [206.124.128.17]) by hub.freebsd.org (Postfix) with ESMTP id 2CD4537B419 for ; Mon, 1 Apr 2002 11:12:24 -0800 (PST) Received: from thig.blarg.net (thig.blarg.net [206.124.128.18]) by lists.blarg.net (Postfix) with ESMTP id C674CBD29; Mon, 1 Apr 2002 11:12:23 -0800 (PST) Received: from localhost.localdomain ([206.124.139.115]) by thig.blarg.net (8.9.3/8.9.3) with ESMTP id LAA29982; Mon, 1 Apr 2002 11:12:23 -0800 Received: (from jojo@localhost) by localhost.localdomain (8.11.6/8.11.3) id g31JAXu69031; Mon, 1 Apr 2002 11:10:33 -0800 (PST) (envelope-from swear@blarg.net) To: dak Cc: stable@FreeBSD.ORG Subject: Re: Merging two partitions in one References: <20020401085058.GA707@mars.WorkGroup> From: swear@blarg.net (Gary W. Swearingen) Date: 01 Apr 2002 11:10:33 -0800 In-Reply-To: <20020401085058.GA707@mars.WorkGroup> Message-ID: Lines: 21 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG dak writes: > My HDD is partitioned in two, a FAT32 partition and an UFS partition with FreeBSD on it; > I want to know how to merge the two in one UFS partition (i'll format the FAT32 and convert > it to UFS first) and I want my /usr / /var grow too, is that is possible with a minimum (null ?) > risk of losing datas and/or breaking my UFS partition ? > The goal is to have FreeBSD on my entire disk. If you can't back up your data and reformat the whole thing, you'll probably want to reformat the FAT32 partition and then mount it somewhere and then move some of your directory trees over from the other partition. You might want to do this in single user mode so the files won't be in use while you move them. You can use temporary names until you get the files moved. Sometimes you can just devote the new partition to one tree like /var or /home, but you can also call it something like /s and then link /home to /s/home, /var to /s/var, etc. If you really want to merge the two partitions, I think "vinum" can do it. You'll probably want to google for an introduction to it after skimming its manual. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message