Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Oct 2009 06:42:05 -1000
From:      parv@pair.com
To:        Polytropon <freebsd@edvax.de>
Cc:        Manolis Kiagias <sonicy@otenet.gr>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>, PJ <af.gourmet@videotron.ca>
Subject:   Re: GEOM label clarification
Message-ID:  <20091017164205.GB3340@holstein.holy.cow>
In-Reply-To: <20091017005844.77c28cc1.freebsd@edvax.de>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
in message <20091017005844.77c28cc1.freebsd@edvax.de>,
wrote Polytropon thusly...
>
> On Sat, 17 Oct 2009 00:43:37 +0300, Manolis Kiagias <sonicy@otenet.gr> 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

-- 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091017164205.GB3340>