From owner-freebsd-questions Tue Nov 5 11:44:21 2002 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 113FE37B401 for ; Tue, 5 Nov 2002 11:44:20 -0800 (PST) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D0BC43E77 for ; Tue, 5 Nov 2002 11:44:19 -0800 (PST) (envelope-from jerrymc@clunix.cl.msu.edu) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.11.6+Sun/8.11.6) id gA5JiAP24764; Tue, 5 Nov 2002 14:44:11 -0500 (EST) From: Jerry McAllister Message-Id: <200211051944.gA5JiAP24764@clunix.cl.msu.edu> Subject: Re: Kernal Panics To: neil@mpfreescene.com Date: Tue, 5 Nov 2002 14:44:10 -0500 (EST) Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <006801c284a2$9c683a80$0200a8c0@b1> from "Neil Doody" at Nov 05, 2002 08:08:29 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 > > Hi, ive been getting kernel panics, number 12's for some time, ive had > the whole load of hardware changed, the only thing that is the same now > is the hard disk drive. > > We thought this had cured the problem, but I had one the other day. > Okay, I thought this was a one off, but I just had another, only this > time it is different. Is this possible that it is the hard drive? > > How can I make a duplicate image of that hard drive to another what > tools will copy it. If the other drive will be big enough and if it will be running on a machine with the same major version of the OS, use dump(8)/restore(8). USe fdisk(8)/disklabel(8)/newfs(8) to put the appropriate file systems on the new disk then dump the old one and restore to the new one. Something like: (Assuming the old file system is mounted as /oldfs and the new is mounted as /dupfs) cd /dupfs dump 0vf - /oldfs | restore rf - repeat for however many file systems you need to save and have room for. Of course, if it won't read the old disk, then the problem is more difficult. ////jerry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message