Benches MacBooks

3

Deleted the 'login' file, now my Macbook …

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

So recently I was fixing a (minor) issue that I unfortunately can't

remember, and I found a solution online that told me to delete the

'login' file somewhere I believe in usr/local or some similar location.

The post said that the OS will rebuild this file and therefore the issue

I was having will be fixed. So I deleted the file, my Mac was working

just fine, until I shut it down.

Now when I turn it on and enter my password, the loading bar reaches 100% but the Mac is stuck there

and I can't get to the desktop. I tried waiting several hours, so I'm

quite sure it's stuck. I tried the fixes online related to all kinds of

boot issues, but those issues were always that people were stuck on the

apple logo, not on the loading after entering their password.

What I have tried so far and hasn't worked:

  • Booting in safe mode
  • Resetting the NVRAM
  • Selecting bootable disk
  • Running the disk repair in the recovery mode
  • Reinstalling my macOS in the recovery mode

So is there any way to recover that login file or fix this issue in any

way? Even if the fix would delete all my data, I'm fine with it, as I'm

just really desperate to fix my Macbook.

Thanks in advance.

3 replies

Sign in or join Beachball Help to reply.

  1. 0

    leroydouglas

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I would suggest you restore from a Time Machine backup prior to when you started deleting thing causing the issue.

    How to use Time Machine to back up or restore your Mac: https://support.apple.com/en-us/HT201250

  2. 0

    merkur0

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Thank you for your reply.

    Unfortunately, I haven't backed up my device prior to this issue. Ironically enough, I was gonna do it today, just when I couldn't log in because of this issue.

  3. 0

    merkur0

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    FIXED by going to the Recovery Mode (CTRL + R when booting your machine), erasing the disk using the Disk Utility, and then reinstalling MacOS from the Recovery Mode.