I just did a clean install off my MacBook Pro by dd
'ing the hard drive and then installing macOS Catalina from a bootable USB. I formatted the internal SSD using the Apple filesystem and installed it successfully. Now, when trying to enable FileVault via System Preferences > Security & Privacy > FileVault > Turn on FileVault, I get a pop-up with both the "Set up my iCloud account to reset my password" and "Create a recovery key and do not use my iCloud account" options greyed out. The "Back" and "Continue" buttons are also greyed out. The only button that is not greyed out is the "Cancel" button. So essentially, I can not enable FileVault via the system preferences pane. See the screenshot below.
What in the world is happening, and how do I fix this so that I can enable FileVault via the System Preferences pane again?
Update:
Hardware Info:
MacBook Pro 11,3 15" 2014 running macOS Catalina 10.15.7.
The internal SSD is the one that came with the MacBook Pro and is unmodified.
The SSD is formatted with a GUID partition map and an APFS filesystem.
Other hardware notes:
I bought a second official OEM Apple Samsung SSD on eBay of the exact same type with the exact same model number. Installed it, along with a new macOS, and the same problem occurred on a completely different OEM SSD.
Attempts to Remedy and Solve:
So far, here are the things that I have done and the outcomes from them:
I have tried enabling it through the command line and according to the command line utility, it successfully encrypts itself.
- the outcome is that even though the command line utility says it is encrypted, the System Preferences stays the same and does not acknowledge any sort of encryption.
Clean installed macOS Catalina from a bootable Catalina USB drive after formatting my Mac drive with Disk Utility.
- the outcome is that the exact same problem occurred. Nothing has changed.
Clean installed macOS Catalina from a bootable USB drive after
dd
'ing the entire drive from the terminal in the macOS bootable USB.- the outcome is that the exact same problem occurred. Nothing has changed.
Booted from a "Parted Magic" live USB and used
gdisk
to erase not only the GPT partition map but also the MBR (or PMBR) maps. Following this, I also did a secure-erase (after unfreezing the drive from sleep in order to unlock it), with Parted Magic's built-in disk erase utility, as well as another erase of the GPT and PMBR partition maps using Parted Magic's built-in disk erase utility.- the outcome was a zeroed internal Mac SSD.
Afterward, I once again, booted up a macOS bootable USB drive, formatted it with disk utility (GPT partition map w/ Apple filesystem), and did a clean install of macOS again from USB.
- the outcome is that the same problem occurred.
Did steps 1-5 using macOS Internet Recovery instead of using a bootable USB.
- the outcome is that the same problem occurred in all cases
Removed original Mac SSD, and installed 2nd OEM Mac SSD purchased from eBay. Then did a clean install from Internet Recovery.
- The outcome is that the same problem occurred.
Before and after steps 1-7, I ran the Apple Hardware Test both from the internal drive, as well as the Internet Hardware Test.
- the outcome is that no hardware was considered faulty, and all hardware was properly working.
Fixed but not solved: After doing a final clean install, with Internet Recovery on the new SSD, I once again tried encrypting from the command line utility. Before the command line utility could start actually encrypting itself, I once again booted from Internet Recovery,
dd
'd the drive, and again did a clean install.- outcome, the issue has resolved itself in the oddest way. After zeroing the disk before the command line utility could finish encrypting the drive, and then doing a clean install from internet recovery, the problem no longer appeared.
Special notes/hints that could possibly identify the problem:
- the only real thing that I can think of that could have somehow caused this is that one time when I was in the
macOS recovery drive using the terminal, I accidentally
dd
's (using/dev/zero
) one of the supposedly read-only memory partitions (I believe those partitions start at /dev/disk3 or/dev/disk4
and go to/dev/disk13
or higher, depending on the OS of the recovery partition you loaded).
As far as I can remember, I have never been able to modify those extra ramdisk partitions that appear in the macOS recovery volume (or internet recovery/bootable USB for that matter), and they have always appeared as read-only.
So how I was able to successfully dd
one of those partitions (on accident of course) is beyond me.
This is the only possible info that I can imagine might somehow be the culprit in affecting multiple clean installs across multiple hard drives, by preventing the system preferences panel from enabling FileVault.
Weird!
Summary & Final Statement: I suggest leaving this post up because it is definitely different than any other post when you get into specifics, as well as the fact that this occurred on two different hard drives. Which tells me it is some sort of hardware issue, or possibly, a rootkit, or some sort of other billion-dollar virus. But most likely some odd hardware problem that is undetected by Apple.
Don't delete this, It still needs a proper solution: Although the issue is no longer happening, I don't believe a proper solution or reason as to why this occurred, or how it was solved and has been mentioned. So I would definitely recommend this post being left up because I can almost 100% guarantee that this will happen to me again, as I am the king of having weird Mac problems that Google and Stack forums have absolutely zero mention of it.
Any thoughts?
DEC. 31, 2020 Update:
I once again dd
'd my hard drive, as well as did an erase using the hard drive's firmware from Linux using hdparm
. Then, I formatted it with a bootable macOS USB installer again and reinstalled it. The same issue appeared.
I tried the suggested commands in the below answers and got the following output:
MacBook-Pro:~ dan$ sysadminctl -secureTokenStatus dan sysadminctl[45304:702359] Secure token is ENABLED for user dan sysadminctl interactive -secureTokenStatus dan Secure token is ENABLED for user dan sysadminctl -secureTokenOn dan -password sysadminctl[32917:677328] Operation is not permitted without secure token unlock. MacBook-Pro:~ dan$ sysadminctl -secureTokenOn dan -password - sysadminctl[51227:713574] Operation is not permitted without secure token unlock. MacBook-Pro:~ dan$ sudo sysadminctl -secureTokenOn dan -password - Password: sysadminctl[51218:713260] Operation is not permitted without secure token unlock.
So it seems, that my secure token is enabled, and working, which eliminates the securetoken assumption being the problem.
Finally I ran
sudo fdesetup enable -user dan
in which FileVault seemed to start encrypting my drive from the terminal.
After the encryption was finished, System Preferences now looked normal in the security pane stating "FileVault is turned on for the disk "MacHD". The option to turn off FileVault from System Preferences seems fully functional. I have not tried disabling and then reenabling from System Preferences again yet.