I forgot my Mac password so I went to recovery and erased the volume, but now when I click install it asks me to login into App Store, but I don't have an Apple ID. The Mac was not logged in either and I can't create it from Android. Also the Safari in El Capitan recovery does not load the Apple ID site.

How can I override this Apple Store login in my Mac? (It is not an activation lock, because it asks for an email too).

  • Which Mac model do you have?
    – nohillside
    Commented Jul 5 at 21:45
  • Also, can you use another computer to validate you have a good connection to Apple servers. appleid.apple.com
    – bmike
    Commented Jul 5 at 21:51
  • @nohillside I have MacBook mid 2009
    – DaleunSeun
    Commented Jul 5 at 23:42
  • @bmike Really dont have another device, wish i had
    – DaleunSeun
    Commented Jul 5 at 23:43
  • On another Mac, download ElCapitan installer support.apple.com/en-us/102662, create a bootable installer on USB stick and boot that on your 2009 MacBook. No need for Apple ID.
    – Gilby
    Commented Jul 6 at 4:04

1 Answer 1


There is an answer posted here at Ask Different which explains how to create a El Capitan bootable USB flash drive while booted to macOS Catalina. This answer is also repeated at Create Bootable Installer Directly from Downloaded File. This answer can be adapted to allow you to create this installer while booted to the El Capitan version of macOS Recovery. The necessary modifications of the steps are given below.

  1. Ignore the original step 1. Instead, do the following.

    • Boot to macOS Recovery.
  2. Complete step 2 as given. Afterwards, do the following.

    • Use the Disk Utility application to erase the volume where El Capitan was installed. Use the name Macintosh HD and the format Mac OS Extended (Journaled). When finished, quit the Disk Utility.

    • Open a Terminal Application window. Enter the following command.

      diskutil unmount Macintosh\ HD

      The output should appear as shown below.

      Volume Macintosh HD on disk0s2 unmounted

      If your identifier is not disk0s2, then make the appropriate substitution when entering the next command. The command below mounts the Macintosh HD volume as temporary file storage.

      diskutil mount -mountpoint /tmp disk0s2
    • Open the Safari application by entering the following command.

      /Applications/Safari.app/Contents/MacOS/Safari &>/dev/null &

      If you get the following popup, select the "Cancel" button.

      Under Safari preferences, change the "File Download Location" to the device "Macintosh HD".

    • Download El Capitan. You can go to the URL given below, then click on the links to download the InstallMacOSX.dmg file.


      Or, you can enter Apple's URL given below.

  3. Since there is no Finder application, use the command below instead.

    hdiutil attach /tmp/InstallMacOSX.dmg
  4. Complete step 4 as given, except omit the sudo before the asr command. Note that the steps can be viewed from the Safari application included with the El Capitan version of macOS Recovery by entering the URL given below.

  5. Complete step 5 as given, except omit the sudo before the bless command.

  6. Do not remove the flash drive as stated in the original step 6. Instead, do the following.

    • Shutdown the Mac.
    • Startup the Mac and immediately hold down the option key until the Mac Startup Manager icons appear.
    • Boot from the flash drive.
    • Erase the volume where El Capitan was installed.
    • Install El Capitan to the erased volume.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .