From owner-freebsd-questions Wed May 9 17: 3:11 2001 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 5E85A37B422 for ; Wed, 9 May 2001 17:03:02 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 22518 invoked by uid 100); 10 May 2001 00:03:01 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15097.55989.242733.950177@guru.mired.org> Date: Wed, 9 May 2001 19:03:01 -0500 To: "Michael O'Henly" Cc: questions@freebsd.org Subject: Re: Question about installing two instances of FreeBSD on same machine... In-Reply-To: <59715524@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" 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 Michael O'Henly types: > I'm a new FreeBSD user I have two hard drives. On one drive I've installed > FreeBSD 4.3 with the default boot manager. The second drive is not being used. > > I'd like to run a second instance of FreeBSD on the second drive. The idea is > that I could experiment there without worrying about screwing things up and > just reinstall when necessary. What's "the default boot manager"? Boot0? Or one that just boots the active partition? If the latter, you'll need to install boot0 - see the boot0config man page - on the first disk. > I _think_ I should boot from the 4.3 CD, format and install a system on the > second drive, and not install a boot manager. Then I should add the second > system to the boot manager's config file. You need a boot block on the second drive. If you install a standard mbr - see the fdisk man page for info on how to do that - going to the second disk from boot0 on the first drive will just boot freebsd. If you install boot0 on the second disk, you'll get a second boot0 menu, so you can change your mind and go back to the first disk. > The part where I'm sketchy is how to make /usr/home/michael accessible from > both instances and how to mount directories from the first instance when I > need them. You need to mount the file system that /usr/home/michael resides on on your second system. If it's /usr/home or /usr/home/michael, you can probably mount it there. If it's on /usr, you'll need to mount that as something like /altusr, and create a symlink from /usr/home/michael on the second disk to /altusr/home/michael on the first disk. While we're talking about sharing file systems, you can use the swap partition that's already on your first disk as swap for the system on the second disk. It should work fine, but I haven't tried sharing swap partitions across a drive like that. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message