View Single Post
  #6   (View Single Post)  
Old 9th March 2018
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

For a drive that might be inserted into multiple OSes, I recommend you start with an MBR. You can use fdisk(8) to create an MBR. The initialized (or reinitialized) default configuration is of a single OpenBSD MBR partition spanning the drive. The fdisk(8) program has an editor which can revise these, or make GPT partitions instead of MBRs. However, some knowledge of how MBR/GPT partitions function is needed to effectively make changes.

To create a default, initial MBR, you can use # fdisk -iy <device>. See the man page for details.

As you noted, you can create OpenBSD disklabel partitions with disklabel(8) and its editor.

Formatting of FFS partitions in OpenBSD is performed with newfs(8).
Reply With Quote