Date: Sat, 2 Feb 2002 06:36:56 -0500 From: Michael Lucas <mwlucas@blackhelicopters.org> To: D J Hawkey Jr <hawkeyd@visi.com> Cc: questions at FreeBSD <freebsd-questions@FreeBSD.ORG> Subject: Re: Two FBSD slices on one disk - losing mountpoints? Message-ID: <20020202063656.A26864@blackhelicopters.org> In-Reply-To: <20020201071356.A482@sheol.localdomain>; from hawkeyd@visi.com on Fri, Feb 01, 2002 at 07:13:56AM -0600 References: <20020201071356.A482@sheol.localdomain>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020202063656.A26864>