mount | grep ' on / ' | grep -q 'read-only' && sudo mount -uw /
diskutil list
to get a list of disks and partitions and volumes. diskutil apfs list
to get a list of apfs partitions and volumes.mount
to see where each is mounted.diskutil mount disk6s2
to mount the Preboot partition (change the disk number if necessary).rm
command to remove the symbolic link on the System volume (usually at /.VolumeIcon.icns
)cp
command to copy the .VolumeIcon.icns from the source (usually on the Data volume at /System/Volumes/Data/.VolumeIcon.icns
) to the destination in each of the other partitions (/Volumes/Preboot/
and /
).Copy the icon between Preboot, Data, and System volumes? The System partition has a symbolic link (alias) to the icon in the Data volume. Replace the symbolic link with a copy of the icon.
You may need to mount the System partition as read/write.
mount | grep ' on / ' | grep -q 'read-only' && sudo mount -uw /
Usediskutil list
to get a list of disks and partitions and volumes.
Usediskutil apfs list
to get a list of apfs partitions and volumes.
Usemount
to see where each is mounted.
If the System volume is on disk6s5 then the Data volume is most likely at disk6s1 and Preboot is at disk6s2.
Usediskutil mount disk6s2
to mount the Preboot partition (change the disk number if necessary).
Press Command-Shift-Period (.) to show invisible files.
The volume icon is in an invisible file called .VolumeIcon.icns
Use therm
command to remove the symbolic link on the System volume (usually at/.VolumeIcon.icns
)
Use thecp
command to copy the .VolumeIcon.icns from the source (usually on the Data volume at/System/Volumes/Data/.VolumeIcon.icns
) to the destination in each of the other partitions (/Volumes/Preboot/
and/
).
This way the icon will be visible in the Startup Manager (when you hold Option key at boot) and in earlier macOS versions such as High Sierra which do not understand the System/Data division of Catalina.
For older Macs, make sure you use a supported macOS version to create icons (pasting images into the icon part of a Get Info window of a volume). For example, the Startup Manager of the Mac Pro 2008 does not understand the icons created by Catalina, so use El Capitan in that case.
sudo mount -uw
diskutil list
diskutil mount disk1s2
sudo cp sourcepath destinationpath
open /Volumes/Preboot*
Fixed it:I've also been able to change the boot loader icon by just copying a .VolumeIcon.icns file to "Preboot" (usually disk1s2) under Catalina, but under Big Sur I still haven't found a way to properly mount and navigate the Preboot volume. Could anyone with more expertise than me test this?
Same with changing boot loader label on Big Sur, I guess that's a command involving "bless", and I think the system volume, not Preboot? Still haven't been able to figure this out in Big Sur.
What Mac are you using?I am on High Sierra. The windows icon is now working after inserting at the root of the EFI partition on the boot drive. All three OS's (Linux, win, high sierra) are on the same ssd. It is physical, not in a container. Changing the icon in the root partition of high sierra changes the icon on the drive image on the desktop but not at boot. Linux and HIgh.S. show the standard internal disk icon.