Use disklabel
to create and modify BSD partitions for a harddrive.
There are two levels of partitioning in BSD. fdisk
will create a partition in the MBR table, one for BSD. disklabel takes that partition and then creates it's own partition table from there.
Remember that BSD uses a:
for the first partition and d:
for the next one. So the first partition would be /dev/vnd0a
and the second /dev/vnd0d
In this example, /dev/sd1
is the first partition on
disklabel -i -I sd1 Enter '?' for help partition> d Filesystem type [?] [4.2BSD]: 4.2BSD Start offset ('x' to start after partition 'x') [0c, 0s, 0M]: Partition size ('$' for all remaining) [953344c, 1952448512s, 953344M]: $ partition> W Label disk [n]? y Label written partition> Q