root@X61:~ # cat /etc/fstab
# Device Mountpoint FStype Options Dump Pass#
/dev/ada0s1a / ufs rw 1 1
=> 63 625142385 ada1 MBR (298G)
63 625142385 1 freebsd [active] (298G)
=> 0 625142385 ada1s1 BSD (298G)
0 1 - free - (512B)
1 209715200 1 freebsd-ufs (100G)
209715201 415427184 - free - (198G)
In your example partition table ada1s1a. The partition can be labeled withI haven't used mbr for quite a while so not sure which partition should be labelled or how to do it.
tunefs -L <label> ada1s1a
.tunefs(8) works quite well. The installer image (default MBR) has a "FreeBSD_Install" label for example.I notice glabel or tunefs don't see to work on a live system... or am I mistaken?
/dev/ufs/FreeBSD_Install / ufs ro,noatime 1 1
Boot in single-user mode, run fsck_ffs(8), try tunefs(8) again, in single-user mode.tunefs: ada1s1a is not clean - run fsck.
Looks like I can't boot from the current partition for this to work.
Apparently tunefs(8) labeling doesn't work on mounted file systems, just checked in a VM. In this case boot a installer image or a already installed system and label the un-mounted partition. Don't forget to modify the labeled systems fstab to new device name.... try tunefs(8) again, in single-user.