如何使Recovery分区正常工作

 

通常安装完系统后,在进入Clover菜单选择Recovery分区后是进不去的,对于我这种完美强迫症患者来说这是不能忍的,最后,终于在网上找到个简单办法让它工作,废话不多说,上命令:

先找到Recovery分区的磁盘号

diskutil list

/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *256.1 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:          Apple_CoreStorage Hackintosh HD           255.2 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3

/dev/disk1 (internal, virtual):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            Hackintosh HD          +254.8 GB   disk1
                                 Logical Volume on disk0s2
                                 735275EA-AEDA-4B26-9081-D5100CE40CF5
                                 Unencrypted

显然,是disk0s3(一般是这个)

sudo mkdir /Volumes/Recovery\ HD

sudo mount -t hfs /dev/disk0s3 /Volumes/Recovery\ HD

cd /Volumes/Recovery\ HD/com.apple.recovery.boot

sudo rm -rf prelinkedkernel

sudo cp /System/Library/PrelinkedKernels/prelinkedkernel /Volumes/Recovery\ HD/com.apple.recovery.boot/

sudo touch prelinkedkernel

重启,妥了!

posted on 2016-12-17 21:48  motoyang  阅读(1926)  评论(0编辑  收藏  举报