From owner-freebsd-questions Mon Feb 19 6:35:54 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 4753A37B401 for ; Mon, 19 Feb 2001 06:35:52 -0800 (PST) Received: (qmail 2852 invoked by uid 100); 19 Feb 2001 14:35:51 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14993.12103.774465.868242@guru.mired.org> Date: Mon, 19 Feb 2001 08:35:51 -0600 To: David Daugherty Cc: questions@freebsd.org Subject: Re: Mounting old FreeBSD drive In-Reply-To: <36794907@toto.iv> X-Mailer: VM 6.89 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 David Daugherty types: > I really hosed my system up with the last cvsup/mergemaster. All of the > files are still there something is just screwed up with getty and /dev. > > Anyways, I've reinstalled 4.2-R on a different drive. Is it possible for > me to get to the /usr partition on the old drive setting it to slave? I've > figured out how to mount the drive in fstab but I can only see / and I > need to mount /usr. The slave drive is 4.2-S and is partitioned with /, > /usr, /var, and swap. You don't mount drives; you mount partitions. You need to mount all the partitions on the old drive - probably into the files they mounted on in your old root (i.e. - if you mounted the old / as /old, then mount the old /usr as /old/usr, and the old /var as /old/var). There is no reason to mount the old swap if you've got a new one already, unless you just want lots of swap space. Do *not* mount the old /usr as /usr; that will put kernel and userland out of sync, which is asking for trouble. 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