Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Jun 2011 16:02:43 +0200
From:      Matthias Andree <matthias.andree@gmx.de>
To:        freebsd-stable@freebsd.org
Subject:   [SOLVED] Re: labelling root file system (RELENG_8)
Message-ID:  <4DEF8103.9030401@gmx.de>
In-Reply-To: <BANLkTimBYL8e2y86m7GZv5U8hdok3KR%2B=w@mail.gmail.com>
References:  <4DEF7322.8030907@gmx.de> <BANLkTimBYL8e2y86m7GZv5U8hdok3KR%2B=w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 08.06.2011 15:11, schrieb nickolasbug@gmail.com:
> 1. Change your root fstab record to /dev/ada0s4a (not label!), reboot
> to single mode and try to re-label partition.

Indeed not mounting from the label was (apparently) the key to solve
this.  Thank you.

In fact the successful procedure was:

- from boot menu, escape to loader prompt
- set vfs.root.mountfrom=ufs:/dev/ada0s4a
- boot -s
- tunefs -L mylabel /dev/ada0s4a
- mount -a
- edit /etc/fstab to use /dev/ufs/mylabel as device for /
- shutdown -r now

Best regards,
Matthias




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