Hello.
I'm trying to boot and install Solaris 11.4 using bhyve. For some technical and unknown reason to me,bhyve is not able to detect and use the CD-ROM. To understand why,I've asked all around and I found what are the parameters needed to boot
it in qemu. I've used qemu as a means of comparison to understand the reason.
Well,the following are the correct parameters used by qemu to be able to boot the iso image and to start the installation :
here we go :
Instead,these are the parameters that I used in bhyve :
and this is what happens when I try to start the installation of Solaris :
it hangs there forever. My conclusion. This is the key :
Solaris needs that the cdrom is detected as IDE. Now,I'm almost sure that ahci-cd is not compatible with IDE.
Is that right ? Can someone confirm it ? Can bhyve offer another parameter to use instead of ahci-cd ?
Or maybe BHYVE_UEFI_CODE.fd is not good ?
I'm trying to boot and install Solaris 11.4 using bhyve. For some technical and unknown reason to me,bhyve is not able to detect and use the CD-ROM. To understand why,I've asked all around and I found what are the parameters needed to boot
it in qemu. I've used qemu as a means of comparison to understand the reason.
Well,the following are the correct parameters used by qemu to be able to boot the iso image and to start the installation :
Code:
qemu-system-x86_64 -name guest=s11x64,debug-threads=on \
-machine pc,usb=off \
-cpu kvm64,hv_relaxed,hv_time,hv_synic \
-m 8G -smp 2,sockets=2,cores=1,threads=1 \
-nodefaults -no-shutdown \
-drive if=pflash,format=raw,readonly=on,file=/usr/local/share/edk2-qemu/QEMU_UEFI_CODE-x86_64.fd \
-drive if=pflash,format=raw,file=/usr/local/share/edk2-qemu/QEMU_UEFI_VARS-x86_64.fd \
-drive file=/mnt/zroot2/zroot2/OS/ISO/Unix/Solaris/sol-11_4-text-x86.iso,media=cdrom,if=ide \
-drive file=/mnt/zroot2/zroot2/bhyve/img/Solaris/solaris114-empty.img,format=raw,if=virtio \
-global PIIX4_PM.disable_s3=1 \
-global PIIX4_PM.disable_s4=1 \
-device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x4.0x7 \
-device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x4 \
-device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x4.0x1 \
-device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x4.0x2 \
-device VGA,id=video0,vgamem_mb=32,bus=pci.0,addr=0x2 \
-netdev tap,id=mynet0,ifname=tap4,script=no,downscript=no \
-device e1000,netdev=mynet0,mac=52:55:00:d1:55:01 \
-device ich9-ahci,id=sata
here we go :
Instead,these are the parameters that I used in bhyve :
Code:
/usr/sbin/./bhyve-win -S -c sockets=2,cores=2,threads=2 -m 8G -w -H -A \
-s 0,hostbridge \
-s 1,ahci-cd,/mnt/zroot2/zroot2/OS/ISO/Unix/Solaris/sol-11_4-text-x86.iso,bootindex=1 \
-s 2,virtio-blk,/mnt/zroot2/zroot2/bhyve/img/Solaris/solaris114-empty.img \
-s 29,fbuf,tcp=0.0.0.0:5915,w=1600,h=950,wait \
-s 31,lpc \
-l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI_CODE.fd \
vm0:15 < /dev/null & sleep 2 && vncviewer 0:15 &
and this is what happens when I try to start the installation of Solaris :
it hangs there forever. My conclusion. This is the key :
Code:
-drive file=/mnt/zroot2/zroot2/OS/ISO/Unix/Solaris/sol-11_4-text-x86.iso,media=cdrom,if=ide \
Solaris needs that the cdrom is detected as IDE. Now,I'm almost sure that ahci-cd is not compatible with IDE.
Is that right ? Can someone confirm it ? Can bhyve offer another parameter to use instead of ahci-cd ?
Or maybe BHYVE_UEFI_CODE.fd is not good ?
Last edited: