From owner-freebsd-questions@FreeBSD.ORG Mon May 10 22:39:48 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 13E55106566B for ; Mon, 10 May 2010 22:39:48 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id C27158FC28 for ; Mon, 10 May 2010 22:39:47 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OBbdZ-00075u-TW for freebsd-questions@freebsd.org; Tue, 11 May 2010 00:39:45 +0200 Received: from pool-70-21-28-127.res.east.verizon.net ([70.21.28.127]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 May 2010 00:39:45 +0200 Received: from nightrecon by pool-70-21-28-127.res.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 May 2010 00:39:45 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org connect(): No such file or directory From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Mon, 10 May 2010 18:39:16 -0400 Lines: 39 Message-ID: References: <20100510202618.GA1748@Melon.malikania.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-70-21-28-127.res.east.verizon.net Subject: Re: glabel nor tunefs save my labels 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: Mon, 10 May 2010 22:39:48 -0000 Demelier David wrote: > Hi, > I was trying to follow this guide to make labels : > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom-glabel.html > > It does not work here, I boot single user and ran these commands : > glabel label usr /dev/ad0s1f [snip] If there was older software on the drive previously you might try blanking the MBR. I know I had trouble installing 8.0 on a drive that previously had 6.2 installed on it. Something about the MBR support in 8.0 was different and the labels from 6.2 were invisible to it. So when it came time for disklabel to write out the labels during the 8.0 install it would fail. This is what I did: Boot from a LiveFS CD and execute: sysctl kern.geom.debugflags=16 dd if=/dev/zero of=/dev/adx oseek=1 bs=512 count=1 Replace 'x' in adx with your drive number. If your problem is being caused by the same situation I experienced this should take care of it. > > Do I am missing something? On my other machine it prints a lot of > GEOM: ad2s1a: geometry does not match label (255h,63s != 16h,255s). > GEOM: ad2s1c: geometry does not match label (255h,63s != 16h,255s). > GEOM: ad2s1: geometry does not match label (255h,63s != 16h,255s). > For the most part simply ignore these. Lots of people see them nowadays and considered to be cosmetic and harmless. I believe it has something to do the drift away from the old MBR DOS compatibility days and the move to newer slicing/partitioning schemes. In other words these will eventually disappear, but in the meantime are probably a red herring. -Mike