From owner-freebsd-questions@FreeBSD.ORG Wed Mar 24 22:33:11 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BF7C106564A for ; Wed, 24 Mar 2010 22:33:11 +0000 (UTC) (envelope-from lists@rhavenn.net) Received: from smtp114.dfw.emailsrvr.com (smtp114.dfw.emailsrvr.com [67.192.241.114]) by mx1.freebsd.org (Postfix) with ESMTP id 3BE528FC0C for ; Wed, 24 Mar 2010 22:33:11 +0000 (UTC) Received: from relay11.relay.dfw.mlsrvr.com (localhost [127.0.0.1]) by relay11.relay.dfw.mlsrvr.com (SMTP Server) with ESMTP id B94A617FF5A for ; Wed, 24 Mar 2010 18:33:10 -0400 (EDT) Received: by relay11.relay.dfw.mlsrvr.com (Authenticated sender: rhavenn-AT-rhavenn.net) with ESMTPSA id 8372417FFC0 for ; Wed, 24 Mar 2010 18:33:10 -0400 (EDT) Received: by alucard.rhavenn.local (Postfix, from userid 1001) id A53DC100087; Wed, 24 Mar 2010 14:33:08 -0800 (AKDT) Date: Wed, 24 Mar 2010 14:33:08 -0800 From: Henrik Hudson To: freebsd-questions@freebsd.org Message-ID: <20100324223308.GA6309@alucard.int.rhavenn.net> References: <20100324212032.M14419@brightstar.bomgardner.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100324212032.M14419@brightstar.bomgardner.net> User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: 8.0 amd64 - Royally screwed up MBR (My own fault) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Mar 2010 22:33:11 -0000 On Wed, 24 Mar 2010, Gene wrote: > Greetings - (not a draft notice) > > First thanks to those who responded to my previous question. > > Next... > > I was attempting to install 8.0 amd64 w/ZFS. I used instructions from the wiki > and when I had trouble, I decided to beat a strategic retreat and just do a > "vanilla" install. Problem was that either fdisk didn't recognize the mbr > after all the 'gpart create'-ing or simply couldn't start newfs. (Something > about not being able to find an initial inode.) I figured 'gpart destroy ad0' > might fix things but no such luck. fdisk -I ad0 also errors out saying "unable > to locate class". > > Does anyone know of a simple (brute force?) way to restore simple. standard > MBRs without having to resort to a hex editor? (I will if I have to, but I'd > rather not.) This will wipe the MBR: dd if=/dev/zero of=/dev/sdb bs=446 count=1 replace of=/dev/sdb without whatever /dev/sd? you need. henrik -- Henrik Hudson lists@rhavenn.net ----------------------------------------- "God, root, what is difference?" Pitr; UF