deepin 能用clover 引导启动吗?
Tofloor
poster avatar
zjz308
deepin
2018-02-05 06:25
Author
具体该怎么操作?
Reply Favorite View the author
All Replies
avatar
DebuggerX
deepin
2018-02-05 07:32
#1
如果是想组黑苹果双系统,我推荐利用grub2的chainloader功能去引导clover,非常方便。因为grub2的功能比clover强大很多,而且clover不好设置一些传递给linux内核的启动参数。

只要把原本放在/efi/boot/下用于加载clover的bootx64.efi重命名,比如我是命名成bootx64clover.efi,
然后修改/etc/grub.d/proxifiedScripts/custom脚本为如下内容:
  1. #!/bin/sh
  2. exec tail -n +3 $0
  3. # This file provides an easy way to add custom menu entries.  Simply type the
  4. # menu entries you want to add after this comment.  Be careful not to change
  5. # the 'exec tail' line above.


  6. menuentry "Clover For MacOS"{
  7.         load_video
  8.         insmod gzio
  9.         if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  10.         insmod part_gpt
  11.         set root='hd0,gpt1'
  12.         chainloader (hd0,gpt1)/EFI/Boot/bootx64clover.efi
  13. }
Copy the Code


然后重建grub引导,这样开机后就会多处一项Clover For MacOS的引导项,选择后就会进入clover的引导器来加载mac
Reply View the author