From owner-freebsd-questions Sun Nov 19 3:10:39 2000 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 609F637B479 for ; Sun, 19 Nov 2000 03:10:34 -0800 (PST) Received: (qmail 46653 invoked by uid 100); 19 Nov 2000 11:10:33 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14871.46377.613740.80430@guru.mired.org> Date: Sun, 19 Nov 2000 05:10:33 -0600 (CST) To: "robi" Cc: questions@freebsd.org Subject: Re: MIME-Version: 1.0 In-Reply-To: <875148@toto.iv> X-Mailer: VM 6.75 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG robi types: > Hi there. > I already posted this a week ago but got no asnwer... > Hope to be more lucky this time... I didn't see it, but I'll try this time. > I have a problem, here... :( On this list, such a statement seems redundant :-). > Questions: > > 1. > Is there an easy way to install the second os on the > same disk or (as I'm more oriented to) take out FreeBSD > disk, add another disk, install the second os on that > disk, reinsert the FreeBSD disk as the primary disk, and > then use FreeBSD tools to configure a dual boot? > And if that's the way to go, can anybody help me out > with that? Any reasonable OS install makes it easy to install as a second OS - *if* you've space on the disk that doesn't belong to any slice, or an unused slice. If neither of those conditions are true, you have to make it true. That's the hard part. > 2. > At present I only have the following partitions: > > /dev/ad0s1a / ufs > /dev/ad0s1b none swap > /dev/ad0s1e /var ufs > /dev/ad0s1f /usr ufs > > I would like to split /usr (which is about 8GB) in two > or more... > Any hints on how to do that without loosing the valuable > data that is already on /usr ? See the "dump" man page. I can't go into details without knowing the details of your disk layout (i.e. - slices, partition order in the slice, etc), but basically you're going to have to find a place to dump the information on /usr, use newfs to shrink /usr, then restore the dump file to create the new, smaller /usr. You can then use fdisk to shrink the FreeBSD slice appropriately, and create a new slice that is the space you want for the other OS. This is *dangerous*, so you should save your /usr/ dump file, and probably have dumps of / and /var as well. If all the file systems don't wind up in one slice after this, things get hairy. Good luck,