Closed kkawula closed 5 months ago
$EFILABEL
is the name of the ESP when it is mounted in /Volumes
, it's EFI
if you didn't change it manually. disk0s1
should be a ~500mb FAT32 partition, if you get an error about APFS it means you messed up something. Post the output of diskutil list
(put it between ``` to format it right).
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *251.0 GB disk0
1: Apple_APFS Container disk1 225.7 GB disk0s1
2: EFI NO NAME 999.3 MB disk0s2
3: Linux Filesystem 24.0 GB disk0s3
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +225.7 GB disk1
Physical Store disk0s1
1: APFS Volume Macintosh HD – dane 175.3 GB disk1s1
2: APFS Volume Preboot 2.3 GB disk1s2
3: APFS Volume Recovery 1.2 GB disk1s3
4: APFS Volume VM 1.1 GB disk1s4
5: APFS Volume Macintosh HD 10.1 GB disk1s5
6: APFS Snapshot com.apple.os.update-... 10.1 GB disk1s5s1
Your ESP is on disk0s2
, which is not the default. Open the script in a text editor and replace disk0s1
with disk0s2
everywhere in the script. Also replace nvme0n1p1
with nvme0n1p2
.
it worked
500 - I want reference to firmware.sh. What does actually EFILABEL mean?
EFILABEL=$(diskutil info disk0s1 | grep "Volume Name" | cut -d ":" -f 2 | xargs)
after
sh firmware.sh
I got:Volume on disk0s1 failed to mount because it appears to be an APFS Physical Store (or is the APFS Container already mounted?) See "diskutil apfs list"
after
diskutil apfs list
Which one I should choose?