Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Sep 2004 14:15:38 -0600 (MDT)
From:      Doug Russell <drussell@saturn-tech.com>
To:        John Von Essen <john@essenz.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: hacking SCO....
Message-ID:  <20040927141316.L49857-100000@mxb.saturn-tech.com>
In-Reply-To: <6ACEE66C-10B6-11D9-A5BE-0003933DDCFA@essenz.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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......						<Doug>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040927141316.L49857-100000>