Question

Edit: The problem somehow resolved itself today. I'm not sure how, but I suspect it is because I restarted the computer. I don't believe granting Finder.app full disk access was needed, since I undid that yesterday.

Original post: I can't change icons on APFS-formatted external drive volumes. I've tried many things as detailed below, but nothing is working for me as demonstrated by the screen recording below (click for higher quality): enter image description here In the screen recording you see that I'm able to change the icon on "old Mac Pro" which is an external volume formatted as Mac OS Extended Journal (using the usual procedure: pasting an image into the upper left of the Get Info). However, the same procedure does not work on the APFS formatted volume, regardless of whether I copy/paste or drag either .png or .icns formatted images.

I've tried this on both a 2015 MacBook Pro and a 2020 M1 MacAir, both running Mac OS 11.3.

===========================

Details of what I've tried: This site says .icns files are required sometimes (since Catalina). This site describes making .icns files using Preview (I found this works for icons when images are 512x512). This video shows making .icns files using a automator quick action found here. User BOrax on this site suggests a need to grant Finder.app full disk access, which I tried using System>Security>Privacy>Full Disk Access> hit + then navigating to /System/Library/CoreServices/Finder.app -- again, nothing helps.

Was it helpful?

Solution

In a similar issue I had an actual ".VolumeIcon.icns" file on the system volume of a Catalina installation, instead of only on the data volume, just linked to from the system volume. Only the generic icon showed on the Desktop, no matter what.

Removing this icon file and replacing it with a link to the data volume (as intended) solved the issue for me and I could subsequently paste an icon that did show on the Desktop again.

Also, when pasting a new icon, use the Data volume, not the icon on the Desktop. If you cannot find it in Finder, use Disk Utility, select "APFS - Data" in the sidebar, right-click and choose "Show in Finder". You could try this, before carrying on removing the icon file on the system volume.

Since you are running Big Sur on the external drive, which seems to have an actual icon file in the system volume's root directory, I've tried an exercise and removed the link there on a Big Sur volume and again replaced it with the same link: .VolumeIcon.icns -> System/Volumes/Data/.VolumeIcon.icns

Setting the external drive (in your case named "APFS") as startup disk in System Preferences, I rebooted into its Recovery, holding cmdR at reboot.

There - launching Terminal from the "Utilities" menu - I disabled authenticated root with...

csrutil authenticated-root disable

(Note: csrutil disable was used earlier, but I don't think this should make a difference)

Without restart I checked the volumes and their mount path with... mount ...which shows the system and data volumes of the drive in question (named "APFS" and "APFS - Data" respectively). The system volume clearly shows "read-only":
/dev/disk6s5 on /Volumes/APFS (apfs, sealed, local, read-only, journaled)

So I went ahead and mounted it writeable:

mount -uw /Volumes/APFS

...and checked that "read-only" had gone with another mount command, which showed: /dev/disk6s5 on /Volumes/APFS (apfs, sealed, local, journaled)

Going ahead, I removed the link (which would be a file in your case):

rm /Volumes/APFS/.VolumeIcon.icns

...changed to the root directory of the drive's system volume...

cd /Volumes/APFS

...and created the link again:

ln -s System/Volumes/Data/.VolumeIcon.icns .VolumeIcon.icns

Checking again with... ls -al ...showed the correct link:

lrwxr-xr-x   1 root  wheel    36  3 May 14:10 .VolumeIcon.icns -> System/Volumes/Data/.VolumeIcon.icns

Now I deviated from the instructions on this site and did not bless a new snapshot

bless --folder /Volumes/APFS/System/Library/CoreServices --bootefi --create-snapshot

...but just rebooted twice into the APFS volume, which I was allowed to do (maybe deleting the link and just recreating it was not considered change enough).

PS. The question is though, if this is worth doing for the sake of an icon on the Desktop.

Licensed under: CC-BY-SA with attribution
Not affiliated with apple.stackexchange
scroll top