====== bhyve OmniOS Virtual Machines ======
The bhyve hypervisor supports %%OmniOS%% virtual machines via UEFI boot
===== Requirements =====
* An %%OmniOS%% ISO with enabled serial console
* CSM UEFI boot
===== ISO Remastering =====
* mkisofs utility is required (sysutils/cdrtools)
mkdir omnios_iso
bsdtar -x -C omnios_iso -f /path/to/omnios.iso
Edit omnios_iso/boot/grub/menu.list
Uncomment serial terminal and comment splash screen:
#
# To enable grub serial console to ttya uncomment the following lines
# and comment out the splashimage line below
# WARNING: do not enable grub serial console when BIOS console serial
# redirection is active.
serial --unit=0 --speed=9600
terminal serial
#
# Uncomment the following line to enable GRUB splashimage on console
#splashimage /boot/grub/splash.xpm.gz
#foreground F7FBFF
#background 333333
#
Create new ISO:
cd omnios_iso
mkisofs -R -b boot/grub/stage2_eltorito -no-emul-boot \
-boot-load-size 4 -boot-info-table -o /path/to/omnios-repack.iso .