Non-MDM Partition on MDM Apple Computer

This guide is for setting up a non MDM partition on an Apple computer running macOS. Assuming that you have local admin and Jamf is used as the MDM.

To boot into boot selection on an:

Create new Volume

From existing (MDM) macOS install

Install macOS to the new volume

From existing (MDM) macOS install, you can use an installer disk if desired, not required.

I think there is some magic that copies MDM info over since my new install got Jamf, even when installing offline from a USB.

Boot into new Volume

Hosts File

From the new macOS install

Disable System Integrity Protection

From recovery mode, targeting the new install

Remove Configuration Profiles

From the new install

Remove Jamf

From the new install. Only applicable of JAMF is installed.

Re-enable System Integrity Protection

From recovery mode, targeting the new install

Quirks

With FileLocker enabled on the new install, you can get the login screen settings/message of the MDM volume.

The other partition will be mounted automatically, to fix:
Get the UUID of the disk you don't want to mount automatically:
cd /etc
sudo vifs
Add the following line to the end of the file: UUID=<UUID> none apfs rw,noauto

If jamf connects to the internet at any point in the new install, you will need to re-enroll the main partition with: sudo jamf enroll -prompt

Sources

MDM Bypass guide: The hosts file is the useful part here.
Remove profiles: This was required to remove profile configuration.
Removing Jamf: Jamf is the MDM solution in my case.