From owner-freebsd-questions Tue Dec 5 16:25:38 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA17998 for questions-outgoing; Tue, 5 Dec 1995 16:25:38 -0800 Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id QAA17993 for ; Tue, 5 Dec 1995 16:25:35 -0800 Received: (from julian@localhost) by ref.tfs.com (8.6.12/8.6.9) id QAA09850; Tue, 5 Dec 1995 16:24:51 -0800 From: Julian Elischer Message-Id: <199512060024.QAA09850@ref.tfs.com> Subject: Re: fdisk info on drive destroyed, recoverable? To: bjj@sequent.com (Ben Jackson) Date: Tue, 5 Dec 1995 16:24:50 -0800 (PST) Cc: questions@freebsd.org In-Reply-To: <199512052302.PAA00710@crg8.sequent.com> from "Ben Jackson" at Dec 5, 95 03:02:34 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 835 Sender: owner-questions@freebsd.org Precedence: bulk > > A friend of mine has a disk which was "half" DOS and "half" FreeBSD and > after a machine crash, the fdisk partition information was zero'd. Any > ideas on how to recover the information? Does anyone have a program > that would scan the disk for the disklabel magic number to find the > start of the BSD partition? Or a way to extract the information from the > beginning of the DOS partition, which was at the begining? > > Any suggestions appreciated. Thanks, > --Ben are you totaly sure it was totally zero'd? The best thing to do is take the disk and place it as a secnd drive on your machine.. failing that, th 2.1 boot disk + fixit disk can help but could be laborious.. a C program to scan for the magic number in the 2nd block of the unix section should not be to hard.. then zap it with disklabel -iu julian >