Cannot reset my MacBook Air

I’m trying to factory reset my MacBook air. I tried to update my computer but it is stuck

MacBook Air 13″, macOS 10.15

Posted on Nov 26, 2023 6:43 PM

Reply
Question marked as Top-ranking reply

Posted on Nov 28, 2023 4:15 PM

TheLittles wrote:

This can be dangerous if done wrong. The macOS Base System image will appear in Disk Utility and users might try to erase it - even though they should not. (It contains the running Recovery system.)
———-

“Dangerous”?
How can that be dangerous? I guess it’s risky business, if you’re not so familiar with doing so. You’re simply erasing the hard drive, and then by proceeding with the reinstall after you formatting it.

It completely depends on how the reformat is done.


The tried and tested method of erasing an Intel-based Mac (except for Fusion Drives) is to always target the top-level internal drive, and then erase/reformat that in Disk Utility. That method in particular completely reconfigures the drive from scratch, adds exactly one container and empty volume for macOS to use (plus the hidden EFI partition), and guarantees that nothing else remains - even if the user added their own volumes or partitions. No matter what the starting state is, the end state is always consistent and correct.


(As far as I'm aware, Apple Silicon Macs can be erased in the same way starting in macOS Big Sur 11.2 and later - I think. Disk Utility is smart enough to preserve the hidden system critical containers and just removes everything else. It also makes a new empty container and volume for macOS to be installed into.)


In contrast, there's several ways that the phrase "delete all the volumes" could be taken, and it could result in the user not being able to reinstall macOS.


  • Delete all of the APFS volumes that appear in Disk Utility, by selecting each one and clicking the minus sign at the top. This could work for simple/default scenarios to remove the old data, but there wouldn't be a new empty volume for macOS to be installed in afterwards - thus making the macOS installer fail. Also, extra partitions or APFS containers previously made would survive.
    • The macOS Base System volume also appears in Disk Utility, but not under the internal drive - it's part of a disk image instead. Nonetheless, users could try to delete it, not realizing it's critical. Luckily Disk Utility doesn't allow that volume to be erased or deleted.
  • Delete all of the partitions on disk. If Disk Utility (the app) allowed users to do this, the disk wouldn't be usable until a partition was added or the disk was reformatted. Luckily, the only way to truly delete all partitions in Disk Utility is to erase the top-level drive itself, which recreates the correct default partitions.


In short, always erase/reformat the top-level internal drive (APPLE SSD) in Disk Utility to guarantee that everything gets wiped and that the correct volumes are recreated. If you have a Fusion Drive, run "diskutil resetFusion" in Terminal in macOS Recovery instead.

5 replies
Question marked as Top-ranking reply

Nov 28, 2023 4:15 PM in response to TheLittles

TheLittles wrote:

This can be dangerous if done wrong. The macOS Base System image will appear in Disk Utility and users might try to erase it - even though they should not. (It contains the running Recovery system.)
———-

“Dangerous”?
How can that be dangerous? I guess it’s risky business, if you’re not so familiar with doing so. You’re simply erasing the hard drive, and then by proceeding with the reinstall after you formatting it.

It completely depends on how the reformat is done.


The tried and tested method of erasing an Intel-based Mac (except for Fusion Drives) is to always target the top-level internal drive, and then erase/reformat that in Disk Utility. That method in particular completely reconfigures the drive from scratch, adds exactly one container and empty volume for macOS to use (plus the hidden EFI partition), and guarantees that nothing else remains - even if the user added their own volumes or partitions. No matter what the starting state is, the end state is always consistent and correct.


(As far as I'm aware, Apple Silicon Macs can be erased in the same way starting in macOS Big Sur 11.2 and later - I think. Disk Utility is smart enough to preserve the hidden system critical containers and just removes everything else. It also makes a new empty container and volume for macOS to be installed into.)


In contrast, there's several ways that the phrase "delete all the volumes" could be taken, and it could result in the user not being able to reinstall macOS.


  • Delete all of the APFS volumes that appear in Disk Utility, by selecting each one and clicking the minus sign at the top. This could work for simple/default scenarios to remove the old data, but there wouldn't be a new empty volume for macOS to be installed in afterwards - thus making the macOS installer fail. Also, extra partitions or APFS containers previously made would survive.
    • The macOS Base System volume also appears in Disk Utility, but not under the internal drive - it's part of a disk image instead. Nonetheless, users could try to delete it, not realizing it's critical. Luckily Disk Utility doesn't allow that volume to be erased or deleted.
  • Delete all of the partitions on disk. If Disk Utility (the app) allowed users to do this, the disk wouldn't be usable until a partition was added or the disk was reformatted. Luckily, the only way to truly delete all partitions in Disk Utility is to erase the top-level drive itself, which recreates the correct default partitions.


In short, always erase/reformat the top-level internal drive (APPLE SSD) in Disk Utility to guarantee that everything gets wiped and that the correct volumes are recreated. If you have a Fusion Drive, run "diskutil resetFusion" in Terminal in macOS Recovery instead.

Nov 27, 2023 8:53 AM in response to R_owens

Hi R_owens,


Complete these steps to erase your Intel-based MacBook Air:


  1. Start up from macOS Recovery: Hold down Command-R as you power on or restart your Mac. Release the keys when the Apple logo and a progress bar appear.
  2. If you're asked for an administrator password, enter it to continue.
  3. The macOS Utilities window should appear. Choose Disk Utility and continue.
  4. In Disk Utility, choose View -> Show All Devices.
  5. Select the top level of the internal SSD (APPLE SSD) and choose Erase. Select these options, then Erase:
    1. Name: Macintosh HD
    2. Format: APFS
    3. Scheme: GUID Partition Table/Map
  6. When the erase is complete, quit Disk Utility.
  7. The macOS Utilities window will reappear. Choose Install macOS and follow the onscreen instructions. (Make sure to connect to Wi-Fi!)

Nov 26, 2023 6:51 PM in response to R_owens

R_owens Said:

"Cannot reset my MacBook Air: I’m trying to factory reset my MacBook air. I tried to update my computer but it is stuck"

-------


How to Reinstall your macOS Anew:

  1. Backup: your Mac
  2. Boot: in to Recovery Mode
  3. Select: Disk Utility
  4. Delete: all the volumes
  5. Restart: the Mac
  6. Boot: in to Internet Recovery Mode
  7. Install: the same macOS
  8. Migrate: data from the backup, using Migration Assistant

Nov 27, 2023 8:50 AM in response to TheLittles

TheLittles wrote:

R_owens Said:
"Cannot reset my MacBook Air: I’m trying to factory reset my MacBook air. I tried to update my computer but it is stuck"
-------

How to Reinstall your macOS Anew:

Select: 3. Disk Utility
Delete: 4. all the volumes

This can be dangerous if done wrong. The macOS Base System image will appear in Disk Utility and users might try to erase it - even though they should not. (It contains the running Recovery system.)

Nov 27, 2023 12:51 PM in response to Encryptor5000

This can be dangerous if done wrong. The macOS Base System image will appear in Disk Utility and users might try to erase it - even though they should not. (It contains the running Recovery system.)

———-


“Dangerous”?

How can that be dangerous? I guess it’s risky business, if you’re not so familiar with doing so. You’re simply erasing the hard drive, and then by proceeding with the reinstall after you formatting it.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Cannot reset my MacBook Air

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.