From owner-freebsd-questions@FreeBSD.ORG Sun Oct 17 17:16:44 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 4867A16A4CE for ; Sun, 17 Oct 2004 17:16:44 +0000 (GMT) Received: from mail.broadpark.no (mail.broadpark.no [217.13.4.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id C78EC43D2F for ; Sun, 17 Oct 2004 17:16:43 +0000 (GMT) (envelope-from henrik.w.lund@broadpark.no) Received: from [10.0.0.3] (52.80-202-129.nextgentel.com [80.202.129.52]) by mail.broadpark.no (Postfix) with ESMTP id C123F628D for ; Sun, 17 Oct 2004 19:17:29 +0200 (MEST) Message-ID: <4172A813.4080007@broadpark.no> Date: Sun, 17 Oct 2004 19:12:51 +0200 From: Henrik W Lund User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.7.2) Gecko/20041013 X-Accept-Language: no, en-us, en MIME-Version: 1.0 To: questions@freebsd.org References: <417183FE.1000102@atopia.net> <41724FE4.20506@broadpark.no> <20041017172502.P872@maren.thelosingend.net> In-Reply-To: <20041017172502.P872@maren.thelosingend.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: accidental fdisk -BI X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Oct 2004 17:16:44 -0000 Svein Halvor Halvorsen wrote: > [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 Thanks for that clarification! Note to self: slices = BIOS partitions partitions = "BSD partitions" residing on slices Let there be no doubt in my mind! :-D -- Henrik W Lund