OS X Guest no Safe Mode

Here you can provide suggestions on how to improve the product, website, etc.

OS X Guest no Safe Mode

Postby ChipMcK » 12. Nov 2013, 07:17

VirtualBox V4.3.2
Host OS X 10.9 Mavericks
any Guest OS X
refer to Startup key combinations for Intel-based Macs

Running a OS X Guest, I can not
  1. get into Safe Mode
  2. invoke Startup Manager (dual boot), or reasonable substitute.
  3. get into Single User Mode
  4. get into Verbose Mode
  5. and so forth
I am restrict to booting from SATA Port 0, with no options.

Need the ability to, before the Guest boot/startup sequence, grant time to
  1. give focus to OS X Guest window
  2. press desired Command/Alt key combinations (listed in Startup key combinations for Intel-based Macs)
  3. then have the startup/boot sequence invoked

A “DelayAtStartup” parameter would, perhaps, fill the bill. However, there is a need to specify a ’time period” value, specified by the user. For some users, five seconds is an eternity, while for others, twenty seconds is not be enough

Thank you in advance
ChipMcK
Volunteer
 
Posts: 1096
Joined: 20. May 2009, 02:17
Location: U S of A
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Windows, OSX

Re: OS X Guest no Safe Mode

Postby socratis » 12. Nov 2013, 09:21

ChipMcK wrote:any Guest OS X. refer to Startup key combinations for Intel-based Macs

The startup keys that you refer to are part of the Apple-custom-EFI. In order for VBox to "capture" those special Apple-specific-key-combinations, it would mean that the VBox developers would have to "mimic" the Apple-custom-EFI. It then wouldn't comply with the EFI specification which (IMHO) is more important than mirroring the Apple-custom-EFI setup.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
socratis
Site Moderator
 
Posts: 27690
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: OS X Guest no Safe Mode

Postby ChipMcK » 3. May 2014, 01:22

From Ticket #12468
Please consider to use

VBoxManage setextradata <vm> "VBoxInternal2/EfiBootArgs" <value>
to set boot-args variable.

Setting firmware NVRAM variables using "nvram" tool within guest in runtime is not supported.
As of May 1, 2014 this usage of VBoxInternal2 is not documented.
Is this OS X specific or is it generic to all *nix?
ChipMcK
Volunteer
 
Posts: 1096
Joined: 20. May 2009, 02:17
Location: U S of A
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Windows, OSX

Re: OS X Guest no Safe Mode

Postby rpmurray » 3. May 2014, 19:19

You mean this part on page 230 of the User Manual?

– By default, the VirtualBox EFI enables debug output of the Mac OS X kernel to help you diagnose boot problems. Note that there is a lot of output and not all errors are fatal (they would also show on your physical Mac). You can turn off these messages by issuing this command:
Code: Select all   Expand viewCollapse view
VBoxManage setextradata "VM name" "VBoxInternal2/EfiBootArgs" " "

To revert to the previous behavior, use:
Code: Select all   Expand viewCollapse view
VBoxManage setextradata "VM name" "VBoxInternal2/EfiBootArgs" ""
rpmurray
Volunteer
 
Posts: 917
Joined: 3. Mar 2009, 00:29
Location: Between Heaven and Hell
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Windows 7, Mac OS X (various flavors)

Re: OS X Guest no Safe Mode

Postby ChipMcK » 3. May 2014, 19:33

If you should notice there is no mention of Safe Mode, etc.

And that lack makes such usage undocumented.

and under v4.3.10 it does not work

Code: Select all   Expand viewCollapse view
VBoxManage setextradata <vm> "VBoxInternal2/EfiBootArgs"  "-x"
ChipMcK
Volunteer
 
Posts: 1096
Joined: 20. May 2009, 02:17
Location: U S of A
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Windows, OSX

Re: OS X Guest no Safe Mode

Postby rpmurray » 4. May 2014, 03:00

You do realize that some boot arguments rely on Apple's EFI to function, and that VirtualBox is not implementing or emulating Apple's EFI but a more generic version of UEFI.
rpmurray
Volunteer
 
Posts: 917
Joined: 3. Mar 2009, 00:29
Location: Between Heaven and Hell
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Windows 7, Mac OS X (various flavors)

Re: OS X Guest no Safe Mode

Postby ChipMcK » 4. May 2014, 14:18

rpmurray wrote:You do realize that some boot arguments rely on Apple's EFI to function, and that VirtualBox is not implementing or emulating Apple's EFI but a more generic version of UEFI.

I read this as Linux distributions do not have a Safe Mode and therefore this is not an issue
ChipMcK
Volunteer
 
Posts: 1096
Joined: 20. May 2009, 02:17
Location: U S of A
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Windows, OSX

Re: OS X Guest no Safe Mode

Postby socratis » 4. May 2014, 16:51

You're not reading it correctly. The "Safe mode" option in Linux and the rest of the BIOS-booting OSes comes as a part of the OS itself, not something that is happening at the BIOS boot phase. The Cmd-S for OSX is happening at the EFI boot phase. My comment back in November, which rpmurray echoed as well, outlines the reason why you don't get to invoke those special modes in VBox's EFI implementation.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
socratis
Site Moderator
 
Posts: 27690
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: OS X Guest no Safe Mode

Postby ChipMcK » 4. May 2014, 16:57

socratis wrote:You're not reading it correctly. The "Safe mode" option in Linux and the rest of the BIOS-booting OSes comes as a part of the OS itself, not something that is happening at the BIOS boot phase. The Cmd-S for OSX is happening at the EFI boot phase. My comment back in November, which rpmurray echoed as well, outlines the reason why you don't get to invoke those special modes in VBox's EFI implementation.
ChipMcK wrote:From Ticket #12468
Please consider to use

VBoxManage setextradata <vm> "VBoxInternal2/EfiBootArgs" <value>
to set boot-args variable.

Setting firmware NVRAM variables using "nvram" tool within guest in runtime is not supported.
As of May 1, 2014 this usage of VBoxInternal2 is not documented.
Is this OS X specific or is it generic to all *nix?
ChipMcK
Volunteer
 
Posts: 1096
Joined: 20. May 2009, 02:17
Location: U S of A
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Windows, OSX

Re: OS X Guest no Safe Mode

Postby VM2VM » 17. Sep 2014, 00:09

socratis wrote:...outlines the reason why you don't get to invoke those special modes in VBox's EFI implementation.

I found this conversation quite interesting, since I'm wondering exactly how VBox implements EFI (or even UEFI for that matter.) Where in the sources can I look for this?
VM2VM
 
Posts: 19
Joined: 7. Sep 2014, 01:26

Re: OS X Guest no Safe Mode

Postby socratis » 17. Sep 2014, 08:44

Not an expert, but, I would start looking at https://www.virtualbox.org/browser/vbox ... evices/EFI
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
socratis
Site Moderator
 
Posts: 27690
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5


Return to Suggestions

Who is online

Users browsing this forum: No registered users and 5 guests