From owner-freebsd-questions@FreeBSD.ORG Fri Mar 21 21:22:14 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EED92106566B for ; Fri, 21 Mar 2008 21:22:14 +0000 (UTC) (envelope-from dyioulos@firstbhph.com) Received: from mail1.firstbhph.com (mail1.firstbhph.com [67.108.218.227]) by mx1.freebsd.org (Postfix) with ESMTP id 9242B8FC18 for ; Fri, 21 Mar 2008 21:22:14 +0000 (UTC) (envelope-from dyioulos@firstbhph.com) X-First1-MailScanner-Watermark: 1206739322.80369@0P61JqThUPwsWJqaBYvO8A Received: from [192.168.100.52] (localhost [127.0.0.1]) by mail1.firstbhph.com (8.14.2/8.12.11) with ESMTP id m2LLLwVl024370 for ; Fri, 21 Mar 2008 17:22:01 -0400 From: Dimitri Yioulos Organization: First 1 Financial Corporation To: freebsd-questions@freebsd.org Date: Fri, 21 Mar 2008 17:22:01 -0400 User-Agent: KMail/1.9.3 References: <20080321173950.GF26011@dell1> In-Reply-To: <20080321173950.GF26011@dell1> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803211722.02601.dyioulos@firstbhph.com> X-Synonym: Copied by Synonym (http://www.modulo.ro/synonym) to: archive@firstbhph.com X-First1-MailScanner-Information: Please contact First 1 Financial Corporation for more information X-First1-MailScanner: Found to be clean X-First1-MailScanner-MCPCheck: MCP-Clean, MCP-Checker (score=0, required 1) X-MailScanner-From: dyioulos@firstbhph.com X-MailScanner-To: archive@firstbhph.com, freebsd-questions@freebsd.org Subject: Re: help for a wounded disk drive... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Mar 2008 21:22:15 -0000 On Friday 21 March 2008 1:39 pm, William Bulley wrote: > I damaged a Seagate 80 GB EIDE drive that was attached to a FreeBSD 5.4 > system (as ufs) some time ago, and I would like to recover the data on > this drive - if that is possible. All positive suggestions are welcome. > > The drive is mechanically and electrically good. I just can't mount it > and use it under FreeBSD. It was a dual boot drive with a DOS partition > on the first partition and FreeBSD 5.4 on partition two. I did the normal > sysinstall for FreeBSD 5.5 as I had done many times before. Unfortunately, > I had the older, FreeBSD 5.4 drive cabled up (and powered up) on the second > IDE channel (using cable select) of an i386 motherboard while I did the 5.5 > install on a new, blank drive on the first IDE channel. > > I told sysinstall to add the standard FreeBSD bootloader on the new drive. > I don't recall if I allowed for a DOS partition or just used the entire > disk. The FreeBSD 5.4 disk on the second IDE channel also had the standard > FreeBSD bootloader from my earlier sysinstall of 5.4 on that disk. > > When I completed the install, I figured I could just mount the second > (older) drive manually. When I tried to do this, things went from bad to > worse, and the new system could never recognize the drive. I believe the > installation process attempted to (or succeeded in) putting (an > unnecessary) bootloader on the older drive. Had it not been connected, it > would probably be okay today. I learned an important lesson at that time... > > I don't know what steps to take to recover this drive so I can mount it in > a read-only mode. I just want to recover the files on this drive. It is > very small by today's standards, so I will likely not use the drive in > production. > > I am comfortable running any required shell commands (as root), but I don't > want to damage the disk drive any further. I hope I don't have to resort > to using dd(1) on the raw device! Thanks in advance for any pointers. > > Regards, > > web... > > -- > William Bulley Email: web@umich.edu > If it's just a matter of grabbing data off this drive, would a live rescue CD such as Reci=overy Is Possible be of help to you? Dimitri -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.