[SOLVED] Re: labelling root file system (RELENG_8)

Matthias Andree matthias.andree at gmx.de
Wed Jun 8 14:02:47 UTC 2011

Am 08.06.2011 15:11, schrieb nickolasbug at 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,

More information about the freebsd-stable mailing list