- 积分
- 272
- 最后登录
- 2023-11-23
- 精华
- 0
- 阅读权限
- 30
- 主题
- 70
- UID
- 434126
- 帖子
- 605
- PB币
- 1462
- 威望
- 5
- 贡献
- 0
- 技术
- 20
- 活跃
- 902
- UID
- 434126
- 帖子
- 605
- PB币
- 1462
- 贡献
- 0
- 技术
- 20
- 活跃
- 902
|
转自别人的,这里我自己总结一下!写的细点。
,先下载这个文件,解压。以前人家都是要币的,这里免费分享给大家!
到终端,键入sudo -s
输入密码 回车
键入diskutil list
记住你的EFI引导盘所在分区的信息,我的是“disk1s1”,你的有可能是“disk0s1”
继续在终端中键入 cd+空格键,然后把之前下载的boot1f32文件所在的文件夹拖到终端窗口,然后按回车!
然后输入下面的代码,输入一行按回车,一行一行运行过去,注意你的分区代码
- dd if=/dev/disk1s1 count=1 bs=4096 of=/tmp/origbs
- cp -f boot1f32 /tmp/newbs
- dd if=/tmp/origbs of=/tmp/newbs skip=3 seek=3 bs=1 count=87 conv=notrunc
- dd if=/tmp/newbs of=/dev/disk1s1
复制代码
下面时我的运行记录 - Last login: Tue Mar 22 04:01:37 on ttys000Mas-iMac:~ ma$ sudo -sPassword:bash-3.2# cd /Users/ma/Downloads bash-3.2# dd if=/dev/disk1s1 count=1 bs=4096 of=/tmp/origbs1+0 records in1+0 records out4096 bytes transferred in 0.019237 secs (212923 bytes/sec)bash-3.2# cp -f boot1f32 /tmp/newbsbash-3.2# dd if=/tmp/origbs of=/tmp/newbs skip=3 seek=3 bs=1 count=87 conv=notrunc87+0 records in87+0 records out87 bytes transferred in 0.000135 secs (644708 bytes/sec)bash-3.2# dd if=/tmp/newbs of=/dev/disk1s11+0 records in1+0 records out512 bytes transferred in 0.000205 secs (2497074 bytes/sec)bash-3.2#
复制代码大功告成!
|
附件: 你需要登录才可以下载或查看附件。没有帐号?注册
|