标签:进不去 class 安装 number system over 命令 dev span
先找到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
重启,妥了!
标签:进不去 class 安装 number system over 命令 dev span
原文地址:http://www.cnblogs.com/motoyang/p/6193214.html