Saturday, November 23, 2024

How can I dual booting two copies of macOS on the same machine with Apple Silicon/APFS?

As a preface, I want to mention that I’m aware that dual booting beta/bleeding edge versions of macOS alongside the stable public release can yield a situation where firmware is updated on Apple Silicon machines to match the firmware of the beta OS, which is a one way street, and can cause issues. I don’t think that applies here as here, I’m asking about the right way to dual boot two copies of the same public, stable, version of macOS,

i.e. two copies of 14.7 Sonoma (which I need to test software in both production and vanilla environments) – the “base” system is the main production OS install, the “vanilla” system is the test second OS install.

Here’s what I’ve done:

  1. Create a new APFS volume group in the root:

alt text

This adds one new volume that’s ‘installable’ to, which looks like this in DiskUtility:

/dev/disk3 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +994.7 GB   disk3
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD            10.3 GB    disk3s1
   2:              APFS Snapshot com.apple.os.update-... 10.3 GB    disk3s1s1
   3:                APFS Volume Preboot                 6.1 GB     disk3s2
   4:                APFS Volume Recovery                936.4 MB   disk3s3
   5:                APFS Volume Data                    786.5 GB   disk3s5
   6:                APFS Volume VM                      1.1 GB     disk3s6
   7:                APFS Volume macOSSecondCopy         802.8 KB   disk3s7

After install disk3s7 is still present and disk3s8 has macOSSecondCopy - Data.

  1. I booted into the new macOS install (holding power button on the MacBook) – everything looked normal, didn’t sign into any services/iCloud etc, just literally vanilla, ran some destructive tests which borked the install, now I want to remove.

  2. Back in the base environment, I simply deleted the entire macOSSecondCopy volume group, and it seems to be completely removed.

The only unusual thing I’ve noticed is that when I log into the vanilla install each time it prompts me to unlock the base installs volume and to enter my password.

Does this sound like a reasonable way to run, test and then delete a 2nd copy of the same version of macOS as the base, without causing issues to the Mac or my Apple ID/FindMy/Services etc?

If not, is there a cleaner way to dual boot two copies of macOS (same version or otherwise)?

Related Articles

Latest Articles