Page 1 of 2

Init Boot gIOScreenLockState 3 when trying to install Sierra guest on Sierra host

Posted: 1. Apr 2017, 03:35
by GrgDev
I am trying to install a Sierra guest OS on my Mac Pro running Sierra and the boot seems to get stuck at the same spot every time. I've attached the latest log file.

It's weird, I thought I did my homework, making sure I was only making the virtual machine on Mac hardware, I download the install app from the store, I used the script I found here to convert it to an iso file (I also had to modify it to include 10.12.4 as a valid version as it only went up to 10.12.3), made a 64-bit OS X vm with El Capitan (most recent version it showed in the list), gave it the iso file on boot, it tries to boot with a bunch of terminal errors showing and then eventually gets stuck on some gIOScreenLockState 3 message.

Any ideas of how to resolve this? Or do I need to wait for some investigation into 10.12.4 changes?

Re: Init Boot gIOScreenLockState 3 when trying to install Sierra guest on Sierra host

Posted: 2. Apr 2017, 16:21
by socratis
GrgDev wrote:I used the script I found here to convert it to an iso file (I also had to modify it to include 10.12.4 as a valid version as it only went up to 10.12.3)
If you're talking about the script in "[Howto] Create OSX ISO from the OSX Install app", I corrected the script to include 10.12.4 and I fixed a couple of errors. It would have been helpful if you posted a note to that thread as well, but it's OK, I monitor all the threads...

Now, to your problem. I tried booting to 10.12.4 (16E195) from the created ISO. It got stuck at the line:
  • IOConsoleUsers: gIOScreenLockState 3, hs 0, bs 0, now 0, sm 0x0
Still investigating what's going on. Until then, the only workaround that I've found is to update an existing 10.12.3.

Moving to "OSX Guests" from "OSX Hosts".

Re: Init Boot gIOScreenLockState 3 when trying to install Sierra guest on Sierra host

Posted: 10. Apr 2017, 13:49
by TotoBOD
Any news on installing 10.12.4 on VirtualBox?

I am getting stuck as well on:

Code: Select all

"IOConsoleUsers: gIOScreenLockState 3, hs 0, bs 0, now 0, sm 0x0"

Re: Init Boot gIOScreenLockState 3 when trying to install Sierra guest on Sierra host

Posted: 10. Apr 2017, 18:01
by socratis

Re: Init Boot gIOScreenLockState 3 when trying to install Sierra guest on Sierra host

Posted: 10. Apr 2017, 22:11
by GrgDev
Sorry for the overdue reply. Thank you, socratis, for following up on this and making the ticket. I got some coworkers who haven't updated their macs yet so I was able to get an older image. I'll try making VM's from that. Anything else you need from me?

Re: Init Boot gIOScreenLockState 3 when trying to install Sierra guest on Sierra host

Posted: 10. Apr 2017, 23:27
by socratis
GrgDev wrote:I got some coworkers who haven't updated their macs yet so I was able to get an older image.
If by "older image" you mean the 10.12.3 installer, then yes, proceed to install that as you would normally and then update to 10.12.4. That process doesn't have the problem. But if you try to download the installer from the AppStore, you'll only get the 10.12.4 one. Unless you're a developer and you have access to older installers.

Once again it seems that the Apple installers are way more picky than OSX itself. For example, I believe it's the first time that the installation process will not proceed (and will get stuck) if USB3 is not selected. It suddenly became "mandatory"...

Re: Init Boot gIOScreenLockState 3 when trying to install Sierra guest on Sierra host

Posted: 12. Apr 2017, 02:58
by GrgDev
Actually a bit older: OS X El Capitan. The 10.12.x version isn't really required for my use case. I just need an OS X guest VM that's not ancient history.

Re: Init Boot gIOScreenLockState 3 when trying to install Sierra guest on Sierra host

Posted: 20. Apr 2017, 19:44
by rpmurray
Has anyone tried installing Sierra 10.12.4 as a guest using the "Mac OS X (64-bit)" template instead of "Mac OS X 10.11 El Capitan (64-bit)"? I read a post elsewhere that claimed this worked for them.

Re: Init Boot gIOScreenLockState 3 when trying to install Sierra guest on Sierra host

Posted: 20. Apr 2017, 22:05
by socratis
rpmurray wrote:I read a post elsewhere that claimed this worked for them.
Citation?

Anyway, I tried it. No dice...

Re: Init Boot gIOScreenLockState 3 when trying to install Sierra guest on Sierra host

Posted: 21. Apr 2017, 15:14
by rpmurray
socratis wrote:Citation?
StackExchange

Re: Init Boot gIOScreenLockState 3 when trying to install Sierra guest on Sierra host

Posted: 21. Apr 2017, 19:21
by socratis
A couple of notes. The guest was already installed, no problems during installation, but problems during the login phase. The login problem? I've seen it before. From the same guy that actually posted the question you linked to, 'joseluisbz'.

The message that is shown in the console is the same one, that's why that could be confusing.

Code: Select all

IUConsoleUsers: gIOScreenLockState 3, hs 0, bs 0, now 0, sm 0x0

Re: Init Boot gIOScreenLockState 3 when trying to install Sierra guest on Sierra host

Posted: 19. May 2017, 08:23
by Petri
FYI: Me too. That's how I found this thread :|

I've got macOS 10.12.5 as both host and guest and VirtualBox 5.1.22 with Extension Pack installed. I tried enabling USB 3.0 without any progress.

Re: Init Boot gIOScreenLockState 3 when trying to install Sierra guest on Sierra host

Posted: 24. May 2017, 02:36
by marty331b
I'm having the same issue, would love to know a solution!

Re: Init Boot gIOScreenLockState 3 when trying to install Sierra guest on Sierra host

Posted: 24. May 2017, 02:39
by socratis
Yeah, me too!
But there is none, or else we would have mentioned it, no? Your best approach is to post a me too in the ticket so that you get a notification from there as well, if things change.

Re: Init Boot gIOScreenLockState 3 when trying to install Sierra guest on Sierra host

Posted: 24. May 2017, 10:26
by fdiv
Stumbled upon a less than ideal work around while trying to solve the problem. - If you disable the paravirtualization interface by setting it to None, 10.12.5 launches as expected (if not quite a bit slower than usual.) Hope it helps.

EDIT for more info:
3D Acceleration is on, and the SATA VDI drive is set as a solid state. Not sure how or why it helps, but it gets the VM running.