bhyve Trying to virtualize Open Indiana on bhyve : it almost works...

Hello.

I would like to learn a little of OI (open indiana) virtualizing it before installing it physically. So,since now I'm running Freebsd,I've tried to boot the OI iso with bhyve,but unfortunately it didn't boot at the first shot. Below you can see what's happened. This is how I booted it :

Code:
bhyve -S -c 4 -m 8G -w -H \
-s 0,hostbridge \
-s 1,ahci-cd,/home/marietto/Desktop/Files/ILLUMOS/OI-hipster-gui-20210430.iso \
-s 2,virtio-blk,/mnt/da0p2/Backups/Illumos/openindiana.img \
-s 6,virtio-net,tap0 \
-s 29,fbuf,tcp=0.0.0.0:5900,w=1440,h=900,wait \
-s 30,xhci,tablet \
-s 31,lpc \
-l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \
vm0

now,I presume the problem is that the desktop manager of OI can't start because the VESA driver is not accepted by bhyve. A different graphic driver is needed and I don't know what. Below u can see the error I get. This is how is configured xorg.conf by default : you can see that it uses the vesa driver,but since I'm on bhyve and bhyve uses the framebuffer device driver,its not good.

Code:
Section "Device"
        Identifier  "Card0"
        Driver      "vesa"
EndSection

in other words,I realized that what's missing is the driver of the vgapci / 29 / VGA device,the same that FreeBSD detects when we install it using bhyve. While screen on FreeBSD works automatically without declaring the correct driver on the xorg.conf file,open indiana needs it.
 

Attachments

  • Screenshot_20211014_225354.png
    Screenshot_20211014_225354.png
    405 KB · Views: 169
Back
Top