To format a MacBook using a flash drive, you typically need to create a bootable macOS installer on the flash drive first. Here’s a step-by-step guide on how to do this:
Prerequisites:
A USB flash drive with at least 16GB of storage capacity.
Access to a Mac or a macOS virtual machine to create the bootable installer.
Steps to Create a Bootable macOS Installer:
1. Download macOS Installer
Open the App Store on your Mac.
Search for the version of macOS you want to install e.g., macOS Big Sur, macOS Catalina.
Download the installer to your Applications folder. Once downloaded, do not proceed with the installation.
2. **Prepare the USB Flash Drive**:
Insert your USB flash drive into your Mac.
Open Disk Utility (Applications Utilities Disk Utility).
Select your USB flash drive from the list of devices.
Click on the "Erase" button in the Disk Utility toolbar.
Choose the following options:
Name: Give your drive a name (e.g., "macOS Installer").
Format: Choose "Mac OS Extended (Journaled)" or "APFS" if you're using macOS High Sierra or later.
Scheme: Select "GUID Partition Map" (important for bootable drives).
3. Create Bootable macOS Installer
Open Terminal (Applications Utilities Terminal.
Use one of the following commands based on the version of macOS you are using replace "MyVolume" with the name of your USB drive
Press Enter and enter your administrator password when prompted.
Wait for the process to complete. This will erase your USB drive and copy the macOS installer files onto it, creating a bootable installer.
p holding it until you see the Startup Manager screen.
Select the USB drive (usually labeled as "Install macOSVersion using the arrow keys, then press Enter.
2. Format the MacBook
Once the macOS Utilities window appears, choose Disk Utility and click Continue.
In Disk Utility, select your Mac's internal hard drive or SSD.
Click on the "Erase" button in the toolbar.
Choose a name for your disk, select a format (usually "APFS" for SSDs or "Mac OS Extended (Journaled)" for older Macs), and select "GUID Partition Map" as the scheme.
Click "Erase" to format the disk.
3. Reinstall macOS
Close Disk Utility once the formatting is complete.
Choose "Reinstall macOS" from the macOS Utilities window.
Follow the on-screen instructions to reinstall macOS on your freshly formatted MacBook.
4. Complete Installation
Once macOS is installed, your MacBook will restart and guide you through the setup process.
By following these steps, you can format your MacBook using a bootable USB flash drive with a macOS installer. This process ensures a clean installation of macOS, which can help resolve various performance issues or prepare the MacBook for a new user.