From owner-freebsd-hackers@FreeBSD.ORG Mon Sep 27 20:13:18 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D618B16A4CE for ; Mon, 27 Sep 2004 20:13:18 +0000 (GMT) Received: from mxb.saturn-tech.com (mxb.saturn-tech.com [207.229.19.99]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52AC643D48 for ; Mon, 27 Sep 2004 20:13:18 +0000 (GMT) (envelope-from drussell@saturn-tech.com) Received: from mxb.saturn-tech.com (localhost [127.0.0.1]) by mxb.saturn-tech.com (8.12.3/8.12.3) with ESMTP id i8RKFdKt049883; Mon, 27 Sep 2004 14:15:39 -0600 (MDT) (envelope-from drussell@saturn-tech.com) Received: from localhost (drussell@localhost)i8RKFc6h049880; Mon, 27 Sep 2004 14:15:39 -0600 (MDT) (envelope-from drussell@saturn-tech.com) X-Authentication-Warning: mxb.saturn-tech.com: drussell owned process doing -bs Date: Mon, 27 Sep 2004 14:15:38 -0600 (MDT) From: Doug Russell To: John Von Essen In-Reply-To: <6ACEE66C-10B6-11D9-A5BE-0003933DDCFA@essenz.com> Message-ID: <20040927141316.L49857-100000@mxb.saturn-tech.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-hackers@freebsd.org Subject: Re: hacking SCO.... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2004 20:13:19 -0000 On Mon, 27 Sep 2004, John Von Essen wrote: > I have a new replacement 4Gb disk. With a FreeBSD boot CD I did a dd > and was able to get the new disk setup with all of the old disks > partition maps, boot data, etc.,. The new disk actually boots into SCO > but fails because it only has 100Mb or so of data. Try adding conv=sync,noerror to your dd line. If most of the data after the defect(s) can be read, you'll end up with an almost complete partition which will likely run. You can then fsck and restore from tape. for example, dd if=/dev/daX of=/dev/daY conv=sync,noerror bs=128k Later......