Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Oct 2015 13:25:15 -0700
From:      Peter Grehan <grehan@freebsd.org>
To:        "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org>
Subject:   Illumos support in bhyve
Message-ID:  <56118B2B.2040101@freebsd.org>

next in thread | raw e-mail | index | archive | help
To follow up on the previous post, with the UEFI support introduced in 
r288524, bhyve can now boot Illumos since there is a working BIOS.

This has been tested with SmartOS and also OpenIndiana and OmniOS, 
though I've not been able to work out how to enable serial console 
support for the latter two post-install.

The best bet is the most recent SmartOS:
 
https://us-east.manta.joyent.com/Joyent_Dev/public/SmartOS/smartos-latest.iso

Grab the UEFI build with CSM/BIOS enabled:
     http://people.freebsd.org/~grehan/bhyve_uefi/BHYVE_UEFI_CSM_20151002.fd

An example command line is:

bhyve \
        -c 2 \
        -s 3,ahci-cd,/path/to/smartos-20151001T070028Z.iso \
        -s 4,ahci-hd,/path/to/smartos.img \
        -s 5,virtio-net,tap0 \
        -s 31,lpc \
        -l com1,/dev/nmdm0A \
        -l com2,/dev/nmdm1A \
        -l bootrom,/path/to/BHYVE_UEFI_CSM_20151002.fd \
        -m 2G -H smartos

UEFI/CSM debug output is on com1, grub1 is on com2, install is on com1. 
On a reboot after install, login sessions are enabled for both com1 and 
com2.

Many thanks to Andriy Gapon for helping out with debug, and Ben Perrault 
for giving it a good shakeout.

later,

Peter.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56118B2B.2040101>