Last active
July 20, 2023 20:02
-
-
Save pr1ntf/055c922d034913287757e513e73e6572 to your computer and use it in GitHub Desktop.
mac-yabs.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Yet Another bhyve Script v0.1.5 | |
# This was once used to test booting MacOS | |
# Don't expect it to work | |
name=clover | |
ram=8192M | |
cpu=4 | |
disk=clover-capitan.img | |
#ss=512 | |
iso=refind-cd-0.10.3.iso | |
#tap=tap0 | |
#con=stdio | |
fbuf=fbuf,tcp=127.0.0.1:5902,w=1280,h=1024,wait | |
fw=BHYVE_UEFI_20160526.fd | |
# -s 3,ahci-cd,${iso} \ | |
# -s 10,virtio-net,${tap} \ | |
# -l com1,${con} \ | |
bhyve \ | |
-c ${cpu} -m ${ram} \ | |
-H -w \ | |
-s 0,hostbridge \ | |
-s 4,ahci-hd,${disk} \ | |
-s 11,${fbuf} \ | |
-s 31,lpc \ | |
-l bootrom,${fw} \ | |
${name} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can you explain why your script does not work ? maybe someone can help you if you give to us more details.