DebuggerX
deepin
2018-02-05 07:32 如果是想组黑苹果双系统,我推荐利用grub2的chainloader功能去引导clover,非常方便。因为grub2的功能比clover强大很多,而且clover不好设置一些传递给linux内核的启动参数。
只要把原本放在/efi/boot/下用于加载clover的bootx64.efi重命名,比如我是命名成bootx64clover.efi,
然后修改/etc/grub.d/proxifiedScripts/custom脚本为如下内容:
Copy the Code
然后重建grub引导,这样开机后就会多处一项Clover For MacOS的引导项,选择后就会进入clover的引导器来加载mac
只要把原本放在/efi/boot/下用于加载clover的bootx64.efi重命名,比如我是命名成bootx64clover.efi,
然后修改/etc/grub.d/proxifiedScripts/custom脚本为如下内容:
- #!/bin/sh
- exec tail -n +3 $0
- # This file provides an easy way to add custom menu entries. Simply type the
- # menu entries you want to add after this comment. Be careful not to change
- # the 'exec tail' line above.
- menuentry "Clover For MacOS"{
- load_video
- insmod gzio
- if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
- insmod part_gpt
- set root='hd0,gpt1'
- chainloader (hd0,gpt1)/EFI/Boot/bootx64clover.efi
- }
然后重建grub引导,这样开机后就会多处一项Clover For MacOS的引导项,选择后就会进入clover的引导器来加载mac
Reply Like 0 View the author


中文 
