Date: Thu, 9 Jun 2011 10:37:29 +0300 From: nickolasbug@gmail.com To: Matthias Andree <matthias.andree@gmx.de> Cc: freebsd-stable@freebsd.org Subject: Re: [SOLVED] Re: labelling root file system (RELENG_8) Message-ID: <BANLkTikbtnhkbmifMpXWfv5dJG-1S43GAQ@mail.gmail.com> In-Reply-To: <4DEF8103.9030401@gmx.de> References: <4DEF7322.8030907@gmx.de> <BANLkTimBYL8e2y86m7GZv5U8hdok3KR%2B=w@mail.gmail.com> <4DEF8103.9030401@gmx.de>
next in thread | previous in thread | raw e-mail | index | archive | help
2011/6/8 Matthias Andree <matthias.andree@gmx.de>: > 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. =A0Thank you. > > In fact the successful procedure was: > > - from boot menu, escape to loader prompt > - set vfs.root.mountfrom=3Dufs:/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 > Right, you cannot re-label partition because you've mount filesystem through label device. So this device is already in use and re-labeling would destroy label device. ----- wbr, Nickolas
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTikbtnhkbmifMpXWfv5dJG-1S43GAQ>