# Install Mac OS Big Sur on $50 Dell Optiplex 7010

## Things You Will Need

- A USB flash drive, at least 16 GB https://amzn.to/3wkR5ju | https://amzn.to/3qkrJ1p | https://amzn.to/3Nhu9b9
- At least 15 GB of free space to build the installation files

## Preparation

1. Install 7-zip if it is not already installed Download
2. Download Python Download
3. Run the downloaded Python installer, making sure to check the option to add Python to the path
4. Download OpenCore version 0.7.0 Download
5. Extract the download OpenCore .zip file
6. Navigate into the extracted OpenCore /Utilities/macrecovery > Right click in the white space > Open PowerShell window here...
7. Run the following command in PowerShell
   python .\macrecovery.py -b Mac-42FD25EABCABB274 -m 00000000000000000 download
8. Wait for the download to complete

## Creating USB Installation Drive

1. Format the USB flash drive to FAT32
   NOTE: This will delete all files on the drive. Make sure to backup any important files before continuing
   1. Right Click Start > File Explorer
   2. Right Click the USB flash drive > Format...
   3. Select FAT32 from the File System dropdown
   4. Name the drive EFI
   5. Make sure Quick Format is checked
   6. Click Start
2. Navigate to the root of the formatted USB flash drive
3. Create a folder named com.apple.recovery.boot
4. Navigate back to the extracted OpenCore /Utilities/macrecovery and copy all .dmg and .chunklist files inside the com.apple.recovery.boot directory on the USB flash drive
5. Download the Optiplex 7010 OpenCore configuration files Download
6. Extract the downloaded .zip file
7. Copy the OC directory from the extracted download to the extracted OpenCore/X64/EFI directory, choosing to skip existing files
8. Copy the EFI directory from the extracted download root of the USB flash drive
9. Safely remove the flash drive and connect it to the Optiplex 7010

## Installing Mac OS

1. Start the Optiplex 7010 and start pressing F2 on the keyboard to enter the BIOS setup
2. Expand General > Boot Sequence
3. Change the Boot Options from Legacy to UEFI > Move the USB flash drive in the list at the top right of the screen to the top of the list using the arrow buttons > Click Apply at the bottom of the screen > Click Exit to reboot
4. If prompted to select a boot device, select the the USB flash drive
5. At the OpenCore menu, select EFI (.dmg) > Press Enter
6. After a long initialization sequence the MAC OS Recovery Assistant should start
7. Select Disk Utility
8. Select the target hard disk to install Mac OS to > Click Erase
9. Name the drive MacOS > Set the Format to APFS > Click Erase
10. Click Done
    1. If you'd like to create partitions, select the MacOS drive > Click Partition
    2. Change the size of the MacOS partition as needed
    3. Click Apply
    4. Click Partition to confirm
    5. Click Done once the partitioning is completed
11. Close Disk Utility
12. Click Reinstall macOS Big Sur
13. Click Continue > Click Agree > Click Agree again
14. Select the MacOS disk > Click Install
15. Read Gone with the Wind cover to cover while Mac OS 11 installs files, the PC will reboot several times
16. Press Enter at the OpenCore boot screen after each reboot to continue the MacOS installation
17. Select your Country > Click Continue
18. Confirm/add your language and keyboard layout > Click Continue
19. Click Not Now on the Accessibility screen
20. Click Continue on the Data & Privacy screen
21. Select Not Now on the Migration Assistant screen
22. Select Set Up Later and then Skip on the Apple ID screen
23. Click Agree > Agree again
24. Enter a full name, user name, password > Click Continue
25. Click Customize Settings
26. Click Continue > Select Use or Don't Use for Location Services
27. Pick a timezone > Click Continue
28. Choose whether to share analytics with Apple > Click Continue
29. Click Set Up Later on the Screen Time screen
30. Uncheck the Enable Ask Siri box > Click Continue
31. Pick a theme > Click Continue
32. Welcome to MacOS 11 Big Sur

## Configuring Booting Without USB Drive

1. Double click the EFI USB flash drive on the desktop
2. Copy the EFI folder off the USB and onto the desktop for use later
3. Eject the EFI USB flash drive and remove it from the device
4. Start LaunchPad from the dock
5. Search terminal > Click Terminal to launch it
6. Run the following commands in the terminal window
   git clone https://github.com/corpnewt/MountEFI
   cd MountEFI
   chmod +x MountEFI.command
   ./MountEFI.command
7. Enter the number that corresponds to the MacOS drive created during the installation > Press Enter
8. Open a Finder window
9. Navigate to the mounted EFI location
10. Rename the EFI folder on the mounted EFI partition to EFI.orig
11. Copy the EFI folder from the desktop to the mounted EFI partition
12. Once the EFI folder is copied, reboot the device to test booting without the USB flash drive connected

NOTE: If booting fails, re-connect the USB flash drive and reboot. You may need to move the USB device up in the device priority in the BIOS or use F12 and select it from the menu to boot to it

More info: https://dortania.github.io/OpenCore-Install-Guide/