- 积分
- 1083
- 最后登录
- 2023-6-22
- 精华
- 0
- 阅读权限
- 210
- 主题
- 43
- UID
- 1218928
- 帖子
- 1372
- PB币
- 1703
- 威望
- 89
- 贡献
- 0
- 技术
- 259
- 活跃
- 869
- UID
- 1218928
- 帖子
- 1372
- PB币
- 1703
- 贡献
- 0
- 技术
- 259
- 活跃
- 869
|
4F
发表于 2014-6-12 22:57:08
IP属地重庆
|只看该作者
- mount -uw /Volumes/盘符
- cd /Volumes/盘符/System/Library/Extensions
- ls
- rm- rf xxxx.kext //这步骤是删除刚刚替换的驱动
- cp -R /Volumes/盘符/Users/用户名/Desktop/backup/xxxx.kext /Volumes/盘符/System/Library/Extensions
- //接下来恢复权限
- rm -rf /Volumes/盘符/System/Library/Extensions.kextcache
- rm -rf /Volumes/盘符/System/Library/Extensions.mkext
- chown -R root:wheel /Volumes/盘符/System/Library/Extensions
- chmod -R 755 /Volumes/盘符/System/Library/Extensions
- diskutil repairpermissions /Volumes/盘符
- kextcache -k /System/Library/Extensions/
复制代码 |
|