From owner-freebsd-questions@FreeBSD.ORG Sat Oct 17 16:39:05 2009 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 7509B1065670 for ; Sat, 17 Oct 2009 16:39:05 +0000 (UTC) (envelope-from parv@pair.com) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.125]) by mx1.freebsd.org (Postfix) with ESMTP id 2DD308FC1E for ; Sat, 17 Oct 2009 16:39:05 +0000 (UTC) Received: from localhost.hawaii.res.rr.com ([98.150.187.245]) by hrndva-omta04.mail.rr.com with ESMTP id <20091017163904304.NECR4590@hrndva-omta04.mail.rr.com>; Sat, 17 Oct 2009 16:39:04 +0000 Received: from holstein.holy.cow (localhost [127.0.0.1]) by localhost.hawaii.res.rr.com (Postfix) with ESMTP id D5C263468; Sat, 17 Oct 2009 06:42:06 -1000 (HST) Received: (from parv@localhost) by holstein.holy.cow (8.13.8/8.13.8/Submit) id n9HGg5hn047739; Sat, 17 Oct 2009 06:42:05 -1000 (HST) (envelope-from parv@pair.com) X-Authentication-Warning: holstein.holy.cow: parv set sender to parv@pair.com using -f Date: Sat, 17 Oct 2009 06:42:05 -1000 From: parv@pair.com To: Polytropon Message-ID: <20091017164205.GB3340@holstein.holy.cow> Mail-Followup-To: Polytropon , Manolis Kiagias , PJ , "freebsd-questions@freebsd.org" References: <4AD8B65C.9020603@videotron.ca> <4AD8B9A9.7030306@otenet.gr> <4AD8C62C.2060009@videotron.ca> <4AD8C7B9.8030108@otenet.gr> <4AD8D387.3060101@videotron.ca> <4AD8E909.2040804@otenet.gr> <20091017005844.77c28cc1.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091017005844.77c28cc1.freebsd@edvax.de> Cc: Manolis Kiagias , "freebsd-questions@freebsd.org" , PJ Subject: Re: GEOM label clarification 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: Sat, 17 Oct 2009 16:39:05 -0000 in message <20091017005844.77c28cc1.freebsd@edvax.de>, wrote Polytropon thusly... > > On Sat, 17 Oct 2009 00:43:37 +0300, Manolis Kiagias wrote: > > Is this your normal '/' filesystem, and is it mounted? If it is > > reboot your system and select 'single user mode' from the > > loader.menu > > Then use glabel in the single user mode prompt. > > This will not work if you just 'shutdown now', you have to > > reboot into single user mode. > > Isn't it sufficient to unmount any partitions and keep / in -o ro > mode, and then perform the glabel command, which is obviously best > done in single user mode? > > # shutdown now > # umount /home /usr /var /tmp > # mount -r / > # glabel label rootfs /dev/ad0s1a That did not work for the 3-4 times I had tried on 6.[2-4]-STABLE. Booting regulary in single user mode (choice 4 or 5) also did not allow glabel'ing (for root). - parv --