Windows Vista拥有全新的启动管理器,作者利用它实现了Vista与OS X的双重启动。
启动到Mac OS X。打开Terminal(终端)程序,输入以下命令将 boot.efi 复制到桌面:
cp /usr/standalone/i386/boot.efi ~/Desktop/ 复制boot.efi 到USB闪存上.
启动到Vista,复制boot.efi到C:
以管理员身份打开Command Prompt.
需要探测你是否有继承的启动加载器,在Command Prompt窗口输入.
bcdedit /enum all | find "{ntldr}" 如果返回:
identifier {ntldr} 那么就是有继承的启动加载器,进行步骤6、7;如果没有返回任何内容就忽略步骤6、7.
将下列内容复制到继承启动加载器.
bcdedit /copy {ntldr} /d "Mac OS X"
bcdedit /set {YOUR-GUID-HERE} device boot
bcdedit /set {YOUR-GUID-HERE} path oot.efi
bcdedit /displayorder {YOUR-GUID-HERE} /addlast要将其中的YOUR-GUID-HERE使用世纪的GUID替代,可以这样察看GUID:
C:>bcdedit /copy {ntldr} /d "Mac OS X"
The entry was successfully copied to {bcfa924e-07e0-11db-9d86-accf6fd346a1}.
C:>bcdedit /set {bcfa924e-07e0-11db-9d86-accf6fd346a1} device boot
The operation completed successfully.
C:>bcdedit /set {bcfa924e-07e0-11db-9d86-accf6fd346a1} path oot.efi
The operation completed successfully.
C:>bcdedit /displayorder {bcfa924e-07e0-11db-9d86-accf6fd346a1} /addlast
The operation completed successfully. 输入以下内容创建继承加载器.
bcdedit /create {ntldr} /d "Mac OS X"
bcdedit /set {ntldr} device boot
bcdedit /set {ntldr} path oot.efi
bcdedit /displayorder {ntldr} /addlast
文章来源于领测软件测试网 https://www.ltesting.net/