macos Mac OS X (Intel) 上的 EFI 控制台
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/777437/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
EFI console on Mac OS X (Intel)
提问by kent
According to ADC documentation:
根据 ADC 文档:
You can access Open Firmware this by holding down Command-Option-O-F at boot time.
您可以通过在启动时按住 Command-Option-OF 来访问 Open Firmware。
However, in reality this does not work on current hardware. Does anybody know if there is a way (through trigger-keys, etc.) to get to an EFI console on contemporary-architecture (i.e., Intel) Macs?
但是,实际上这不适用于当前的硬件。有人知道是否有办法(通过触发键等)进入当代架构(即英特尔)Mac 上的 EFI 控制台?
EDIT: I am attempting to set up (and document) various Kernel Debug environments.
编辑:我正在尝试设置(和记录)各种内核调试环境。
In experimenting with the boot-loading mechanisms of OS X, I have come to the following conclusion:
在试验 OS X 的引导加载机制时,我得出以下结论:
There are at least 3 different architectures:
Open Firmware (PowerPC hardware)
EFI, in which rEFIt works properly
a transitional(?) EFI [32bit?] which is used on early Intel machines, where rEFIt does not work
至少有 3 种不同的架构:
开放固件(PowerPC 硬件)
EFI,其中 rEFIt 正常工作
在早期的 Intel 机器上使用的过渡(?)EFI [32 位?],其中 rEFIt 不起作用
I had posted this question after encountering this 3rd case, which seems to occur on Core Duo (not Core 2 Duo!) machines: the result being that, once rEFIt is installed, the rEFIt menu DOES correctly get displayed at boot time, however is unusable because it receives no keyboard or mouse input (no USB drivers loaded?) and ultimately alwaysends up booting into the highest numbered boot partition.
我在遇到第 3 种情况后发布了这个问题,这似乎发生在 Core Duo(不是 Core 2 Duo!)机器上:结果是,一旦安装了 rEFIt,rEFIt 菜单确实会在启动时正确显示,但是无法使用,因为它没有接收键盘或鼠标输入(没有加载 USB 驱动程序?)并且最终总是最终引导到编号最高的引导分区。
Therefore, in scouring ADC documents and looking for a means to drop into a firmware/EFI console at boot-time, I came across the (somewhat outdated) statement from ADC [see above] and thought that it might be useful to ask on SO if anyone knew of an alternative.
因此,在搜索 ADC 文档并寻找在启动时进入固件/EFI 控制台的方法时,我遇到了来自 ADC 的(有些过时的)声明 [见上文] 并认为询问 SO 可能有用如果有人知道替代方案。
采纳答案by kent
The following quote comes from MacForensics.pdf
以下引述来自MacForensics.pdf
Apple does not o?er any direct tools for accessing EFI. There is no key sequence available to enter EFI upon boot. There are, however, utilities available to access this. One such tool, rEFIt, is available on Sourceforge.net. The link at the time of this writing is http://refit.sourceforge.net/
Apple 不提供任何用于访问 EFI 的直接工具。启动时没有可用于进入 EFI 的按键序列。但是,可以使用实用程序来访问它。Sourceforge.net 上提供了一种此类工具 rEFIt。撰写本文时的链接是http://refit.sourceforge.net/
回答by lothar
Only Macs with PowerPC architecture have Open Firmware. The newer Intel based macs have EFI. As these firmwares are completely different their functionality is not equal.
只有采用 PowerPC 架构的 Mac 才有开放固件。较新的基于 Intel 的 mac 具有EFI。由于这些固件完全不同,因此它们的功能并不相同。
AFAIK EFI does not have the corresponding feature of Open Firmware Access.
AFAIK EFI 没有 Open Firmware Access的相应功能。
回答by binarybob
As has already been pointed out, Intel Macs have EFI. However, booting from a CD with rEFITinstalled (download the "6.5M ISO disk image", burn to disk using Disk Utility, then reboot holding down the 'C' key), you can select an option to Start EFI shell(its the leftmost icon on the bottom row on my Mac) which may be what you want?
正如已经指出的那样,英特尔 Mac 具有 EFI。但是,从安装了rEFIT的 CD 启动(下载“6.5M ISO 磁盘映像”,使用磁盘工具刻录到磁盘,然后按住“C”键重新启动),您可以选择一个选项来启动 EFI shell(它的我的 Mac 底行最左边的图标)这可能是你想要的?
回答by pgb
There is Refit (http://refit.sourceforge.net/) that is a "boot menu and maintenance toolkit", but I'm not sure if it covers the same functionality as the Open Firmware console.
Refit ( http://refit.sourceforge.net/) 是一个“启动菜单和维护工具包”,但我不确定它是否涵盖与 Open Firmware 控制台相同的功能。