From owner-freebsd-questions@FreeBSD.ORG Fri Oct 16 22:58:47 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 F2B01106568B for ; Fri, 16 Oct 2009 22:58:47 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id B062F8FC12 for ; Fri, 16 Oct 2009 22:58:47 +0000 (UTC) Received: from r55.edvax.de (port-92-195-71-245.dynamic.qsc.de [92.195.71.245]) by mx02.qsc.de (Postfix) with ESMTP id 172891E211; Sat, 17 Oct 2009 00:58:45 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n9GMwi1t002503; Sat, 17 Oct 2009 00:58:45 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 17 Oct 2009 00:58:44 +0200 From: Polytropon To: Manolis Kiagias Message-Id: <20091017005844.77c28cc1.freebsd@edvax.de> In-Reply-To: <4AD8E909.2040804@otenet.gr> 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> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: PJ , "freebsd-questions@freebsd.org" Subject: Re: GEOM label clarification X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Oct 2009 22:58:48 -0000 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 # glabel label tmp /dev/ad0s1d # glabel label var /dev/ad0s1e # glabel label usr /dev/ad0s1f # glabel label home /dev/ad0s1g For example like this? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...