From owner-freebsd-questions@FreeBSD.ORG Wed Apr 23 11:56:07 2003 Return-Path: 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 ADE9937B401 for ; Wed, 23 Apr 2003 11:56:07 -0700 (PDT) Received: from diana.northnetworks.ca (att-ws20.switchview.com [216.13.70.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB22143FDD for ; Wed, 23 Apr 2003 11:56:06 -0700 (PDT) (envelope-from iaccounts@northnetworks.ca) Received: from diana.northnetworks.ca (localhost.northnetworks.ca [127.0.0.1]) h3NIu5hQ034391 for ; Wed, 23 Apr 2003 14:56:05 -0400 (EDT) (envelope-from iaccounts@northnetworks.ca) Received: from localhost (iaccounts@localhost)h3NIu5ik034388 for ; Wed, 23 Apr 2003 14:56:05 -0400 (EDT) X-Authentication-Warning: diana.northnetworks.ca: iaccounts owned process doing -bs Date: Wed, 23 Apr 2003 14:56:04 -0400 (EDT) From: Steve Bertrand To: freebsd Message-ID: <20030423144825.N18125-100000@diana.northnetworks.ca> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: tar FBSD disk clone X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Apr 2003 18:56:08 -0000 I have found multiple articles on the web regarding ways to 'clone' ones FreeBSD disk. I opted for the tar method, so I could cut pieces out I did not want before cloning. When all was said and done, I manually fdisk'ed the new drive, labelled it, and mounted it into the existing FS. I then: # tar -clfar clf - -C / . | tar xpvf - -C /mnt I also did the same with my other partitions, usr, var, home. I ensured that the mount points were the same in both fstab's, and proceeded to remove the original IDE disk from ad0 and relocate the clone ad3 to ad0. Upon reboot, I get: Invalid Partition Invalid Partition No /boot/loader >> FreeBSD/i386 BOOT Default: 0:ad(0,a)/kernel boot: Invalid partition No /kernel >> FreeBSD/i386 BOOT Default: 0:ad(0,a)/kernel boot: _cursor_ All indications on the web indicate that this should be an immediate boot once the drives are switched. I have tried all manor of drive configurations and still the same. I am ready to hit myself in the head with a hammer as I have wasted all day trying. Any help whatsoever is hugely appreciated. Tks. Steve