From owner-freebsd-questions Sat Feb 2 3:37: 2 2002 Delivered-To: freebsd-questions@freebsd.org Received: from blackhelicopters.org (geburah.blackhelicopters.org [209.69.178.18]) by hub.freebsd.org (Postfix) with ESMTP id B7C9E37B402 for ; Sat, 2 Feb 2002 03:36:57 -0800 (PST) Received: (from mwlucas@localhost) by blackhelicopters.org (8.11.6/8.11.6) id g12BauN26971; Sat, 2 Feb 2002 06:36:56 -0500 (EST) (envelope-from mwlucas) Date: Sat, 2 Feb 2002 06:36:56 -0500 From: Michael Lucas To: D J Hawkey Jr Cc: questions at FreeBSD Subject: Re: Two FBSD slices on one disk - losing mountpoints? Message-ID: <20020202063656.A26864@blackhelicopters.org> References: <20020201071356.A482@sheol.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020201071356.A482@sheol.localdomain>; from hawkeyd@visi.com on Fri, Feb 01, 2002 at 07:13:56AM -0600 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 Dave, ad0s1 should be different than ad0s2. If you run "disklabel -r ad0s1" and "disklabel -r ad0s2", you should see the offsets on your disks. You cannot have two mount points of the same name at the same time. Try this: unmount ad0s2a / remount ad0s2a / as oldroot unmount ad0s2f /usr remount ad0s2f /oldusr umount ad0s2e /var remount ad0s2e /oldvar This will give you the necessary warm fuzzies to know you aren't blowing up your system. Then you can create a new ad0s1a /, and so on. Plus, you can recycle ad0s2b as swap for your new install. :) I did something similar when I had a dual-boot Linux-BSD laptop. On Fri, Feb 01, 2002 at 07:13:56AM -0600, D J Hawkey Jr wrote: > After reading the 4.5 Handbook, and searching with Google and FBSD's own > engines, I cannot find anything to soothe my apprehension about what I see: > > I have FBSD on ad0s2. I want another FBSD on ad0s1. 'fdisk' is no problem, > and neither is 'disklabel', EXCEPT that as I create the [FBSD] partitions > in ad0s1, the mountpoints in the existing ad0s2 disappear, and 'disklabel' > tells me I already have such-and-such mountpoint when I try to re-mount > the partitions in ad0s2. > > My question is: By creating new partitions in ad0s1, am I really losing > the existing mountpoints in ad0s2? If so, how do I restore 'em? Or am I > missing something fundamental here? > > I know two FBSDs can exist on one drive. Am I worrying about nothing? > > A quick reply would be most appreciated; I'd like to do this while my boy > takes his nap! TIA, > Dave > > -- > ______________________ ______________________ > \__________________ \ D. J. HAWKEY JR. / __________________/ > \________________/\ hawkeyd@visi.com /\________________/ > http://www.visi.com/~hawkeyd/ > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Michael Lucas mwlucas@FreeBSD.org, mwlucas@BlackHelicopters.org my FreeBSD column: http://www.oreillynet.com/pub/q/Big_Scary_Daemons http://www.blackhelicopters.org/~mwlucas/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message