From owner-freebsd-current@FreeBSD.ORG Mon May 25 17:28:11 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3762C10656D4 for ; Mon, 25 May 2009 17:28:11 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id EE6A28FC1F for ; Mon, 25 May 2009 17:28:10 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mr08.lnh.mail.rcn.net ([207.172.157.28]) by smtp02.lnh.mail.rcn.net with ESMTP; 25 May 2009 13:28:10 -0400 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr08.lnh.mail.rcn.net (MOS 3.10.5-GA) with ESMTP id KWP23707; Mon, 25 May 2009 13:28:08 -0400 (EDT) X-Auth-ID: roberthuff Received: from c-24-91-153-117.hsd1.ma.comcast.net (HELO [192.168.10.4]) ([24.91.153.117]) by smtp01.lnh.mail.rcn.net with ESMTP; 25 May 2009 13:28:08 -0400 Message-ID: <4A1AD6D3.7030100@rcn.com> Date: Mon, 25 May 2009 13:35:15 -0400 From: Robert Huff User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: current@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Junkmail-Whitelist: YES (by domain whitelist at mr08.lnh.mail.rcn.net) Cc: Subject: fdisk incompatibility between major versions X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 May 2009 17:28:11 -0000 Due to a combination of my spectacular stupidity and external events, a machine running -Current from late April will no longer boot. Specifically, instead of the loader menu screen I get "Invalid partition". Crud. Broke out the most recent fixit disk, which is from 7.1 (Jan 2009). Boots fine; fdisk finds the correct slice information; bsdlabel finds the right partition data; mount / and /usr under LiveFS Whew!!!! So ... I'm guessing the problem in the boot code is corrupted, and if I do fdisk -B -b da0 it should put things back to normal. However: when I do the second commit I get fdisk: Geom not found "da0" fdsk: failed to write sector 0 This leads to the assumption there is a fundamental discrepancy between the two versions. Not unreasonable, as I know there have been changes in the filesystem code since 7.1. 0) is the diagnosis correct, and will my proposed solution work 1) if so, is there a way to convince the 7.1 fdisk to Do The Right Thing? 2) if not, what do I do next? Respectfully, Robert Huff