Running OmniOS - churchers/vm-bhyve GitHub Wiki

OmniOS developmented is continued as OmniOSce with support from the OmniOS Community and Foundation. There is no need to modify the installation medium anymore, which was required by an older OmniOS release (checkout older revisions of this page).

Download the latest release

Stable releases come out approximately every six months and are supported for a year after release. It's recommended to checkout the official OmniOSce download page.

vm iso https://downloads.omniosce.org/media/stable/omniosce-r151028b.iso

Start the installation

vm create omniosce

OmniOSce supports the virtio-net driver, which provides much better performance than the e1000 one:

loader="uefi"
graphics="yes"

network0_type="virtio-net"

Start the installation, and follow the instructions based on the installer or on the OmniOSce installation walk-through.

vm install omniosce omnios-r151040g.iso

Connect to the vnc viewer to follow the installation walk-through on:

0.0.0.0:5900

Fix for failing rpool creation

When you selected your disk and get to the ZFS Pool options, you need to set the sector size on 4K.

Fix for "internal error: Argument out of domain"

When installing OmniOS with a disk image backed by a file i get the following error (February 2020):

Creating root pool with: zpool create -f rpool   c1t0d0
internal error: Argument out of domain

To fix this issue, i need to create the pool with a different ashift argument:

  • select 3 Shell (for manual rpool creation)
  • create the pool: zpool create -o ashift=12 rpool c1t0d0
  • back to the install menu: exit
  • proceed the installation 2 Install OmniOS straight on to a preconfigured rpool

illumos bug tracker

pending fix

Configure serial console in OmniOSce

Since the last release, it is no longer necessary to use the serial console. You can use a vnc viewer via the uefi-loader. However, if you prefer serial console, you can enable it as follows:

The last installer step allow you to get a shell prompt to customize your installation, use this menu entry: Shell (for post-install ops on /mnt.

OmniOSce installer postmenu

The first line configures loader to use the serial console only and the remaining commands change the default OS console to ttya.

echo -h > /mnt/boot/config
cat << EOM > /mnt/boot/conf.d/serial
console="ttya,text"
os_console="ttya"
ttya-mode="115200,8,n,1,-"
EOM
⚠️ **GitHub.com Fallback** ⚠️