Mac OS X(英特尔)上的 EFI 控制台

发布于 2024-07-17 08:00:02 字数 708 浏览 6 评论 0原文

根据 ADC 文档:

您可以在启动时按住 Command-Option-OF 来访问开放固件。

然而,实际上这不适用于当前的硬件。 有谁知道是否有一种方法(通过触发键等)可以在当代架构(即英特尔)Mac 上访问 EFI 控制台?

编辑:我正在尝试设置(并记录)各种内核调试环境。

在试验 OS X 的引导加载机制时,我得出以下结论:

  • 至少有 3 种不同的体系结构:

    1. 开放固件(PowerPC 硬件)

    2. EFI,其中 rEFIt 正常工作

    3. 过渡性(?)EFI [32 位?],用于早期的 Intel 机器,rEFIt 不起作用

我在遇到第三种情况后发布了这个问题,这似乎发生在 Core Duo(不是 Core 2 Duo!)机器上:结果是,一旦安装了 rEFIt,rEFIt 菜单就会正确显示在然而,启动时间是不可用的,因为它没有接收到键盘或鼠标输入(没有加载 USB 驱动程序?),并且最终总是启动到编号最高的启动分区。

因此,在搜索 ADC 文档并寻找在启动时进入固件/EFI 控制台的方法时,我遇到了 ADC 的(有些过时的)声明[见上文],并认为询问 SO 可能会有用如果有人知道替代方案。

According to ADC documentation:

You can access Open Firmware this by holding down Command-Option-O-F at boot time.

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?

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:

  • There are at least 3 different architectures:

    1. Open Firmware (PowerPC hardware)

    2. EFI, in which rEFIt works properly

    3. a transitional(?) EFI [32bit?] which is used on early Intel machines, where rEFIt does not work

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 always ends up booting into the highest numbered boot partition.

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

〃安静 2024-07-24 08:00:02

只有采用 PowerPC 架构的 Mac 才有开放固件。 较新的基于 Intel 的 Mac 具有 EFI。 由于这些固件完全不同,因此它们的功能并不相同。

AFAIK EFI 不具备 Open Firmware Access 的相应功能。

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.

AFAIK EFI does not have the corresponding feature of Open Firmware Access.

凉月流沐 2024-07-24 08:00:02

以下引用来自 MacForensics.pdf

Apple 不提供任何直接访问 EFI 的工具。 启动时没有可用于进入 EFI 的按键序列。 然而,有一些实用程序可以访问它。 Sourceforge.net 上提供了这样一种工具 rEFIt。 撰写本文时的链接为 http://refit.sourceforge.net/

The following quote comes from MacForensics.pdf

Apple does not offer 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/

北陌 2024-07-24 08:00:02

正如已经指出的,Intel Mac 具有 EFI。 但是,从安装了 rEFIT 的 CD 启动(下载“6.5M ISO 磁盘映像”,刻录到磁盘使用磁盘工具,然后按住“C”键重新启动),您可以选择一个选项来启动 EFI shell(它是我的 Mac 上底行最左边的图标),这可能是您想要的?

As has already been pointed out, Intel Macs have EFI. However, booting from a CD with rEFIT installed (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?

赴月观长安 2024-07-24 08:00:02

Refit (http://refit.sourceforge.net/) 是一个“启动菜单和维护工具包”,但我不确定它是否涵盖与开放固件控制台相同的功能。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文