From owner-freebsd-questions@FreeBSD.ORG Sun Oct 17 15:30:24 2004 Return-Path: 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 3BF6F16A4CF for ; Sun, 17 Oct 2004 15:30:24 +0000 (GMT) Received: from royk.itea.ntnu.no (royk.itea.ntnu.no [129.241.190.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA58B43D1F for ; Sun, 17 Oct 2004 15:30:23 +0000 (GMT) (envelope-from svein-freebsd-questions@theloosingend.net) Received: from localhost (localhost [127.0.0.1]) by royk.itea.ntnu.no (Postfix) with ESMTP id 6D73E67194 for ; Sun, 17 Oct 2004 17:30:22 +0200 (CEST) Received: from mirrorball.thelosingend.net (m069c.studby.ntnu.no [129.241.130.69]) by royk.itea.ntnu.no (Postfix) with SMTP for ; Sun, 17 Oct 2004 17:30:22 +0200 (CEST) Received: (qmail 2909 invoked from network); 17 Oct 2004 15:30:22 -0000 Received: from m190d.studby.ntnu.no (129.241.131.190) by m069c.studby.ntnu.no with QMQP; 17 Oct 2004 15:30:22 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 17 Oct 2004 15:30:11 -0000 Date: Sun, 17 Oct 2004 17:30:11 +0200 (CEST) From: Svein Halvor Halvorsen X-X-Sender: sveinhal@maren.thelosingend.net To: Henrik W Lund In-Reply-To: <41724FE4.20506@broadpark.no> Message-ID: <20041017172502.P872@maren.thelosingend.net> References: <417183FE.1000102@atopia.net> <41724FE4.20506@broadpark.no> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Content-Scanned: with sophos and spamassassin at mailgw.ntnu.no. cc: Matt Juszczak cc: freebsd-questions@freebsd.org Subject: Re: accidental fdisk -BI X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Oct 2004 15:30:24 -0000 [Henrik W Lund, 2004-10-17] > What this means is that any other slices you had on the disk will be gone. I > don't know what disk layout you had, but something tells me that you may have > erased /usr, /var and /tmp (if you used the default fdisk layout when > installing FreeBSD, that is). I'm no expert, but I think this _can_ lead to > complications. Note that BIOS partitions are not the same as BSD partitions. The former is known as slices in BSD. fdisk -BI /dev/da0 will initialize the disk for one *slice* covering the whole disk. BSD partitions inside this slice will not be afflicted, so /usr, /var and /tmp are probably still intact as well :) If there were other slices on the disk (bios partitions) the original partition table may be recovered using sysutils/gpart. Svein Halvor