From owner-freebsd-questions Sat Jan 18 8:22:45 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 505EC37B401 for ; Sat, 18 Jan 2003 08:22:44 -0800 (PST) Received: from sccrmhc02.attbi.com (sccrmhc02.attbi.com [204.127.202.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 718B243F65 for ; Sat, 18 Jan 2003 08:22:43 -0800 (PST) (envelope-from swear@attbi.com) Received: from localhost.localdomain ([12.242.158.67]) by sccrmhc02.attbi.com (sccrmhc02) with ESMTP id <2003011816224200200mkpoce>; Sat, 18 Jan 2003 16:22:42 +0000 Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost.localdomain (8.12.6/8.12.5) with ESMTP id h0IGLQm9062188; Sat, 18 Jan 2003 08:21:27 -0800 (PST) (envelope-from swear@attbi.com) Received: (from jojo@localhost) by localhost.localdomain (8.12.6/8.12.5/Submit) id h0IGLKn8062185; Sat, 18 Jan 2003 08:21:20 -0800 (PST) (envelope-from swear@attbi.com) X-Authentication-Warning: localhost.localdomain: jojo set sender to swear@attbi.com using -f To: Brian Astill Cc: freebsd-questions@freebsd.org Subject: Re: Larger Hard Drive (2) References: <3E28FB67.9080706@adam.com.au> From: swear@attbi.com (Gary W. Swearingen) Date: 18 Jan 2003 08:21:20 -0800 In-Reply-To: <3E28FB67.9080706@adam.com.au> Message-ID: Lines: 28 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Brian Astill writes: > BUT, when I create a directory in which to mount ad2 I get: > root@BAPhD ~ #ls -R /usr/local/new > opt usr var > > /usr/local/new/opt: > /usr/local/new/usr: > local > /usr/local/new/usr/local: > /usr/local/new/var: > > Note that /usr/local is not shown as a separate entity. > Similarly, there is no root partition. > > Obviously, I am doing something wrong, or incompletely - but what? It's unclear to me (1) what you did and (2) what you're trying to accomplish. I'll try to guess on (2). Typically, when trying to transfer an OS to a new disk, you'd mount one of the new partitions, say "a" (for "/"), on some directory, say "dir", and then xfr the data with something like: "cd dir; dump -f - / | restore -rf -" Rinse and repeat, then, with "a" mounted on "dir", prepare dir/etc/fstab for rebooting and swap disks or reconfigure your boot managers, etc. (Theoretically, the stuff you dump should be mounted read-only or not mounted, probably in single-user mode.) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message