Script to check APFS conversion settings

Apple removed the checkbox from the installer – on APFS capable hardware. The one that allowed us to skip the APFS conversion, but a new environment variable added to the latest installer script should work around this. And in case that’s still not enough…

I wrote a new handy script (checkAPFSSettings.sh) to check the APFS conversion settings in four files in the macOS Install Data folder.

It will print out the current values, and then (try to) change them to false. Just to be sure that the APFS conversion won’t be done. That is. In case you are not able to use APFS with a legacy boot loader (think Chameleon and RevoBoot).

You must run the script with sudo, or nothing will change. Run it once, and then once again to check the values.

Please note that you have to run the installer first. Then reboot into another installation (or single user mode) and run checkAPFSSettings.sh to verify if all settings are set to false.

This way you won’t be surprised… like I was when I installed the latest Developer Preview.

On a hack. Just don’t set the APFS support bit (think firmware features).

Advertisements

5 thoughts on “Script to check APFS conversion settings

  1. Pingback: OSInstall.mpkg appears to be missing or damaged – Pike's Universum

  2. Pingback: Script to install macOS High Sierra DP-5 (17A330h) – Pike's Universum

  3. Pingback: Scripts to install/upgrade to High Sierra DP6 (17A344b)… – Pike's Universum

  4. Pingback: Scripts to install High Sierra DP7 (17A352a)… – Pike's Universum

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s