Create only root partition during installing OpenBSD

The default partitions of installing OpenBSD is not appropriate for me:
3I need more space for /, since I want to build source code. So I just create one partition:

1 2

Please notice when creating partitions, there are some useful commands. Such as p, which displays current partition status:

4

? is for help:

5

Use z to delete all partitions:

6

Create the root partition and save it:

7 8

Reference:
Easy OpenBSD Partition Scheme.

5 thoughts on “Create only root partition during installing OpenBSD”

  1. This is how you should NOT create partitions on OpenBSD. There are various reasons to create multiple partitions, just check the FAQ: https://www.openbsd.org/faq/faq4.html#Partitioning or check the misc@ archives for discussions about this topic.

    If you want to build source code, think about a suitable size and create a new partition just for this purpose. If in doubt about the size, reserve some space at the end of the disklabel so that you can grow a partition later on.

    1. The user is in charge of they want to use their storage. I’ve been running OpenBSD for over a decade on systems with just 1-3 partitions. Your reply made me smile though, such elitism is rarely shown nowadays.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.