Manually Label Using bsdlabel(8) ================================ Author: Momchil Ivanov Date : 2013.07.26 Introduction ------------ This article describes how to label disks using bsdlabel(8). Method ------ Manually create BSD label using bsdlabel(8), which can read the label from a file. In this example the file is "labels" and contains the columns: label, size, offset, fstype, [fsize bsize bps/cpg]. The content of the file is listed below: a: 1g 0 4.2BSD b: 1g * swap c: * * unused d: 1g * 4.2BSD e: 1g * 4.2BSD f: * * 4.2BSD This example creates the following labels: a: 1 GB for the root file system / b: 1 GB for swap c: should be empty d: 1 GB for /var e: 1 GB for /tmp f: the rest for /usr To create the label use execute: # bsdlabel -R /dev/ad0s1 labels Note that the offset of the root partition MUST be zero else the system won't boot.