From owner-freebsd-questions@FreeBSD.ORG Thu Apr 29 13:07:09 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 349131065670 for ; Thu, 29 Apr 2010 13:07:09 +0000 (UTC) (envelope-from reinhard.haller@interactive-net.de) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.9]) by mx1.freebsd.org (Postfix) with ESMTP id B42998FC15 for ; Thu, 29 Apr 2010 13:07:08 +0000 (UTC) Received: from interactive.dnsalias.net (ppp-88-217-30-198.dynamic.mnet-online.de [88.217.30.198]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0Lby3Y-1Ni4K71lWm-00jmKR; Thu, 29 Apr 2010 15:07:07 +0200 Received: from scalix.interactive.de ([fd08:e8a3:4825:0:20c:29ff:feaa:3622]) by interactive.dnsalias.net with esmtp (Exim 4.71 (FreeBSD)) (envelope-from ) id 1O7TSM-0009iP-Kj; Thu, 29 Apr 2010 15:07:06 +0200 Received: from scalix.interactive.de (localhost.localdomain [127.0.0.1]) by scalix.interactive.de (8.13.8/8.13.8) with ESMTP id o3TD76aV004346; Thu, 29 Apr 2010 15:07:06 +0200 Received: from [127.0.0.1] (Core2Duo.interactive.de [192.168.0.196]) by scalix.interactive.de (Scalix SMTP Relay 11.4.5.13150) via ESMTP; Thu, 29 Apr 2010 15:07:05 +0200 (CEST) Date: Thu, 29 Apr 2010 15:07:03 +0200 From: Reinhard Haller To: freebsd-questions@freebsd.org Message-ID: <4BD98477.10003@interactive-net.de> x-scalix-Hops: 1 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Disposition: inline X-ACL-rcpt: freebsd-questions@freebsd.org X-ACL-rcpt: xcllnt@mac.com X-ACL-Send: reinhard.haller@interactive-net.de X-Provags-ID: V01U2FsdGVkX18dPd6mlMIQYtbZYZhvE9FHBpFI4KVZ1iqPT1n DUhutLXLK/P8slzw3ZeyZoHC0lrrF6gHcDhW44ZC2KvX8tHplE LWTt9fWq6biCwO760/XAMY2MMrOQXoBFsPeSwNvRXNRx8pxorb CGw== Cc: xcllnt@mac.com Subject: 8.0 upgrade & geometry does not match label 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: Thu, 29 Apr 2010 13:07:09 -0000 Hi, as far as I know my disk is not operating in dangerously dedicated mode. Despite this I'm unable to upgrade to freebsd 8.0. Here is what the gpart, mount, bsdlabel say. gpart show => 63 488397105 ad4 MBR (233G) 63 488392002 1 freebsd [active] (233G) 488392065 5103 - free - (2.5M) => 0 488392002 ad4s1 BSD (233G) 0 2097152 1 freebsd-ufs (1.0G) 2097152 16777216 2 freebsd-swap (8.0G) 18874368 16777216 4 freebsd-ufs (8.0G) 35651584 4194304 5 freebsd-ufs (2.0G) 39845888 83886080 6 freebsd-ufs (40G) 123731968 188743680 7 freebsd-ufs (90G) 312475648 175916354 - free - (84G) mount /dev/ad4s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad4s1g on /jails (ufs, local, soft-updates) /dev/ad4s1e on /tmp (ufs, local, soft-updates) /dev/ad4s1f on /usr (ufs, local, soft-updates) /dev/ad4s1d on /var (ufs, local, soft-updates) bsdlabel ad4 bsdlabel: /dev/ad4: no valid label found bsdlabel ad4s1 # /dev/ad4s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 2097152 63 4.2BSD 0 0 0 b: 16777216 2097215 swap c: 488392002 63 unused 0 0 # "raw" part, don't edit d: 16777216 18874431 4.2BSD 0 0 0 e: 4194304 35651647 4.2BSD 0 0 0 f: 83886080 39845951 4.2BSD 0 0 0 g: 188743680 123732031 4.2BSD 0 0 0 partition c: partition extends past end of unit bsdlabel: partition c doesn't start at 0! bsdlabel: An incorrect partition c may cause problems for standard system utilities I remember problems with the initial sysinstall because of geometry problems -- the only way to get FreeBSD installed was to dedicate all of the available space to FreeBSD. I've found a suggested solution to repair the mbr/label problem with dd if=/dev/zero of=/dev/ad4 count=1 oseek=1 and a warning not trying it on boot disks. Is there a better / safer solution around? Thanks Reinhard