From owner-freebsd-questions@FreeBSD.ORG Sun Nov 28 17:51:14 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 E09E316A4CF for ; Sun, 28 Nov 2004 17:51:14 +0000 (GMT) Received: from charm.daemonsecurity.com (FW-182-254.go.retevision.es [62.174.254.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83A1E43D2F for ; Sun, 28 Nov 2004 17:51:13 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [192.168.0.32] (charm.daemonsecurity.com [192.168.0.32]) by charm.daemonsecurity.com (Postfix) with ESMTP id F1A2A17004 for ; Sun, 28 Nov 2004 18:51:03 +0100 (CET) Message-ID: <41AA0FF6.1000208@locolomo.org> Date: Sun, 28 Nov 2004 18:50:46 +0100 From: Erik Norgaard User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041114 X-Accept-Language: en, en-us, da, it, es MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" References: <41A8D1FA.8030005@locolomo.org> <41A8D7D0.8020400@gldis.ca> <41A8DB45.5070505@locolomo.org> In-Reply-To: <41A8DB45.5070505@locolomo.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Solved: Lost MBR/wrong disk geometry 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, 28 Nov 2004 17:51:15 -0000 Erik Norgaard wrote: > Jeremy Faulkner wrote: >> 'fdisk -B' didn't work? > Nope :-( I have installed gpart, it complians* dd if=/dev/zero of=/dev/ad0 bs=512 count=32 fdisk -BI ad0 dd if=/dev/zero of=/dev/ad0s1 bs=512 count=32 bsdlabel -w -B ad0s1 did the job. I think I shouldn't have specified -w in the last command because it created a root partition taking the whole disk which I then had to delete. But, at least I'm up booting :-) Cheers, Erik -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2