{"action":"created","issue":{"url":"https://api.github.com/repos/pr1ntf/iohyve/issues/208","repository_url":"https://api.github.com/repos/pr1ntf/iohyve","labels_url":"https://api.github.com/repos/pr1ntf/iohyve/issues/208/labels{/name}","comments_url":"https://api.github.com/repos/pr1ntf/iohyve/issues/208/comments","events_url":"https://api.github.com/repos/pr1ntf/iohyve/issues/208/events","html_url":"https://github.com/pr1ntf/iohyve/issues/208","id":187989666,"number":208,"title":"Unable to correctly boot Windows, works with bhyve directly","user":{"login":"Pricetx","id":424701,"avatar_url":"https://avatars.githubusercontent.com/u/424701?v=3","gravatar_id":"","url":"https://api.github.com/users/Pricetx","html_url":"https://github.com/Pricetx","followers_url":"https://api.github.com/users/Pricetx/followers","following_url":"https://api.github.com/users/Pricetx/following{/other_user}","gists_url":"https://api.github.com/users/Pricetx/gists{/gist_id}","starred_url":"https://api.github.com/users/Pricetx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pricetx/subscriptions","organizations_url":"https://api.github.com/users/Pricetx/orgs","repos_url":"https://api.github.com/users/Pricetx/repos","events_url":"https://api.github.com/users/Pricetx/events{/privacy}","received_events_url":"https://api.github.com/users/Pricetx/received_events","type":"User","site_admin":false},"labels":[{"id":208543293,"url":"https://api.github.com/repos/pr1ntf/iohyve/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-11-08T13:19:36Z","updated_at":"2016-11-08T14:07:38Z","closed_at":null,"body":"I'm having issues getting a Windows installer ISO to boot with iohyve using UEFI. I'll start by showing a raw bhyve command which I can run which does successfully load the installer, as hopefully it'll narrow down the problem.\r\n\r\n    truncate -s 10G uefi-test.img\r\n\r\n    sudo bhyve -c 2 -m 2G -w -H \\\r\n        -s 0,hostbridge \\\r\n        -s 3,ahci-cd,../iso/Win10_1511_English_x64.iso \\\r\n        -s 4,ahci-hd,uefi-test.img \\\r\n        -s 5,virtio-net,tap0 \\\r\n        -s 29,fbuf,tcp=0.0.0.0:5900,w=800,h=600,wait \\\r\n        -s 30,xhci,tablet \\\r\n        -s 31,lpc -l com1,stdio \\\r\n        -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \\\r\n        uefi-test\r\n\r\nThis is the procedure I followed to create a comparable VM using iohyve:\r\n\r\n    sudo iohyve create wintest 10G zroot\r\n    sudo iohyve set wintest loader=uefi ram=2G cpu=2 vnc=YES vnc_ip=0.0.0.0 vnc_port=5900 vnc_wait=YES vnc_tablet=YES bargs=\"-H -w\"\r\n    sudo iohyve install wintest Win10_1511_English_x64.iso\r\n\r\nThis gave the error `You must set a firmware file property to use UEFI...` which from looking through the source of iohyve I fixed by doing the following:\r\n\r\n    sudo iohyve cpfw /usr/local/share/uefi-firmware/BHYVE_UEFI.fd\r\n    sudo iohyve set wintest fw=BHYVE_UEFI.fd\r\n\r\n    sudo iohyve install wintest Win10_1511_English_x64.iso\r\n\r\nAt this point, the VM launched, but the Windows instance itself has gone to an error screen rather than booting the installer like when I use bhyve directly. Here is a screenshot of the error screen: http://i.imgur.com/ScYRiqe.png\r\n\r\nHere is the output of iohyve getall wintest:\r\n\r\n    Getting wintest iohyve properties...\r\n    bargs          -H_-w\r\n    boot           0\r\n    con            nmdm0\r\n    cpu            2\r\n    description    Tue  8 Nov 2016 13:08:25 UTC\r\n    fw             BHYVE_UEFI.fd\r\n    loader         uefi\r\n    name           wintest\r\n    os             default\r\n    persist        1\r\n    ram            2G\r\n    size           10G\r\n    tap            tap0\r\n    vnc            YES\r\n    vnc_h          600\r\n    vnc_ip         0.0.0.0\r\n    vnc_port       5900\r\n    vnc_tablet     YES\r\n    vnc_w          800\r\n    vnc_wait       YES \r\n\r\nDo you have any ideas as to what is causing my issue?"},"comment":{"url":"https://api.github.com/repos/pr1ntf/iohyve/issues/comments/259145061","html_url":"https://github.com/pr1ntf/iohyve/issues/208#issuecomment-259145061","issue_url":"https://api.github.com/repos/pr1ntf/iohyve/issues/208","id":259145061,"user":{"login":"pr1ntf","id":3888554,"avatar_url":"https://avatars.githubusercontent.com/u/3888554?v=3","gravatar_id":"","url":"https://api.github.com/users/pr1ntf","html_url":"https://github.com/pr1ntf","followers_url":"https://api.github.com/users/pr1ntf/followers","following_url":"https://api.github.com/users/pr1ntf/following{/other_user}","gists_url":"https://api.github.com/users/pr1ntf/gists{/gist_id}","starred_url":"https://api.github.com/users/pr1ntf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pr1ntf/subscriptions","organizations_url":"https://api.github.com/users/pr1ntf/orgs","repos_url":"https://api.github.com/users/pr1ntf/repos","events_url":"https://api.github.com/users/pr1ntf/events{/privacy}","received_events_url":"https://api.github.com/users/pr1ntf/received_events","type":"User","site_admin":false},"created_at":"2016-11-08T14:07:38Z","updated_at":"2016-11-08T14:07:38Z","body":"Your guest dataset is not in that list. \r\nYou should see something like `zroot/iohyve/wintest`. "}}
{"actor":{"display_login":"pr1ntf"}}