制作 OpenCore 引导 U 盘
Setting up the installer
Now we’ll be formatting the USB to prep for OpenCore. We’ll want to use macOS Extended (HFS+) with a GUID partition map. This will create two partitions: the main MyVolume
and a second called EFI
which is used as a boot partition where your firmware will check for boot files.
- Note: By default, Disk Utility only shows partitions – press Cmd/Win+2 to show all devices (alternatively you can press the View button)
Mount EFI
Approach 1 - Manual
Find the Drive to Mount
$ diskutil list
...
/dev/disk3 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *15.7 GB disk3
1: EFI EFI 209.7 MB disk3s1
2: Apple_HFS MyVolume 15.3 GB disk3s2
在 U 盘被格式化后,EFI 分区就会被创建,但是在默认情况下不会被 mount 。
因此找到这个 EFI 分区的 IDENTIFIER,在我的情况中,是 disk3s1
。
Mount (or Remount) the Drive
$ sudo diskutil mount /dev/disk3s1
$ sudo diskutil unmount /dev/disk3s1
Approach 2 - Using MountEFI
Adding OpenCore Files
Now lets open up our EFI folder and see what’s inside:
更新 OpenCore 版本
Refer to https://swsmile.info/post/hackintosh-maintenance/#update-opencore
Reference
- https://hologos.github.io/how-to-mount-efi-from-command-line-terminal/
- https://dortania.github.io/OpenCore-Post-Install/universal/update.html#_2-mount-your-efi
FEATURED TAGS
algorithm
algorithmproblem
architecturalpattern
architecture
aws
c#
cachesystem
codis
compile
concurrentcontrol
database
dataformat
datastructure
debug
design
designpattern
distributedsystem
django
docker
domain
engineering
freebsd
git
golang
grafana
hackintosh
hadoop
hardware
hexo
http
hugo
ios
iot
java
javaee
javascript
kafka
kubernetes
linux
linuxcommand
linuxio
lock
macos
markdown
microservices
mysql
nas
network
networkprogramming
nginx
node.js
npm
oop
openwrt
operatingsystem
padavan
performance
programming
prometheus
protobuf
python
redis
router
security
shell
software testing
spring
sql
systemdesign
truenas
ubuntu
vmware
vpn
windows
wmware
wordpress
xml
zookeeper