You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Mojave Login Issues

I installed Mojave on a brand new MacBook Pro and after the installation process, the initial login screen accepts my credentials, shows the desktop for 5-10 seconds, then goes back to login. Every subsequent login attempt produces the same result, including in Safe Mode.


I spoke with Apple via support chat about it today, and we tried reinstalling Mojave. No dice. We then booted into recovery mode, launched Disk Utility to mount the drive, then Terminal to remove "/Volumes/Macintosh HD/var/db/.AppleSetupDone" and reboot. That sent me back to the setup process after install. I created another user and had exactly the same issue with that user. They have escalated the issue and I have a call with them in two hours.

Any recommendations?

Posted on Sep 24, 2018 4:07 PM

Reply
Question marked as Top-ranking reply

Posted on Sep 25, 2018 7:46 AM

In my case, the error was caused by a Razer Plugin.

Boot into recovery mode (Cmd + R while booting), then start a terminal (menubar->utilities as far as i remember), go to /Volumes/Macintosh HD/Library/Audio/Plug-Ins/HAL/ and remove every Razer Plugin.


(Thanks to Betus at MacRumors)

Similar questions

62 replies

Sep 26, 2018 8:22 AM in response to thomjacoo

If it is a single file, the command is "rm FILENAME" (no quotes) where FILENAME is the case-sensitive name of the file you want to delete.


If it is a folder/directory, you'll need to do a recursive remove, which is "rm -r FOLDERNAME".


Disclaimer: Deleting files from your computer is risky (especially recursively). I take no responsibility for any unintended consequences. You do this at your own risk.

Sep 26, 2018 1:43 PM in response to mattrichards

Ok i just ruined 2 hours of my life figuring this out. I just kept getting errors saying No such file or directory... (i never use the terminal command thing).


So here is how to remove the RazerKraken Audio plugin and fix this login problem:


1) Boot into recovery mode holding down CMD+R when starting your Mac (it can take a while!)

2) select Terminal

3) In Terminal type exactly this if you haven't changed your hardrive name:

rm -R /Volumes/Macintosh\ HD/Library/Audio/Plug-Ins/HAL/RazerKraken7.1ChromaAudio.plugin

(a space between 'rm' and '-R' and again a space before /Volumes )


If u press enter and u get no messages, just a new empty line, u're succesfull and can exit recovery and boot up, log in as normal.


The tricky thing (for me at least since i'm not used to commandlines) was the \ behind Macintosh for the space in between Macintosh and HD.

Sep 27, 2018 8:19 AM in response to mattrichards

The Razer plugin was also my issue. Removing it fixed it for me.


- boot into Recovery mode
- open Terminal
- mount the primary hard disk volume (
http://osxdaily.com/2013/05/13/mount-unmount-drives-from-the-command-line-in-mac -os-x/)
- cd to the Plug-Ins folder per above
- remove the Razer folder and all its contents (
https://stackoverflow.com/questions/2642147/how-to-remove-files-and-directories- quickly-via-terminal-bash-shell)
- restart

Sep 27, 2018 10:16 AM in response to mattrichards

Yes this did it for me as well. The solution was to:


- boot into Recovery mode

- open Terminal

- mount the primary hard disk volume (http://osxdaily.com/2013/05/13/mount-unmount-drives-from-the-command-line-in-mac -os-x/)


- cd to the /Volumes/Macintosh HD/Library/Audio/Plug-Ins/HAL/ folder per above


- remove the Razer folder and all its contents (https://stackoverflow.com/questions/2642147/how-to-remove-files-and-directories- quickly-via-terminal-bash-shell)


- restart

Oct 20, 2018 9:17 PM in response to mattrichards

I am facing the same problem right after upgrading to Mojave in my early 2015 MacBook Pro. Additionally, the audio and video are also stalling and if I press the volume up button it takes me to the login screen again. Called Apple couple of times. Reinstalling OS and running on Safe Mode failed too. I have been told that Apple has escalated the problem to its technical team and I am awaiting for their solution for the last 3 weeks.

Oct 24, 2018 6:48 AM in response to DerDanie

Thank you so much! This helped me too and fixed this login issue. To the people struggling to find that folder/directory on terminal, some tips:

Cd .. = will take you to the previous directory

Ls = list all directories and files in the directory you are

Cd DIRECTORY NAME = take you to the directory name you indicate

When you go there and find by the LS command the Razer plugin directory, use the command rm -r NAMEOFRAZERDIRECTORY and that’s it.

Oct 26, 2018 4:52 PM in response to DerDanie

How does this work for everybody?

I type in EXACTLY the same thing in console it says no such file or directory.

Then I think I have to mount a drive from terminal which is already confusing.

And deleting the file from terminal is a whole different set of commands?

Can somebody just speak properly and more detailed into these steps because they dont make any sense!

Oct 28, 2018 12:31 PM in response to OliverMarcus

OliverMarcus,


I'm having the same error when trying to set the boot mode to both SAFE and VERBOSE. When I try to boot in SAFE mode on Mojave 10.14, it just sits forever once it fills the progress bar with the Apple logo. Apple support was unable to diagnose, of course. Did you ever figure out how not to get the iokit error or how to invoke bootargs correctly?


Thanks,

Jeff

Oct 29, 2018 3:22 PM in response to nalinfrommelbourne

Hi, im a newbie to the whole terminal and commands stuff, but i have managed to find some directries, although none of them contain any razer files...
once on the terminal, i used the command: ls /Library .this will show you what the other folders in the library, and using the same command, only adding the rest of the directory, for (example: ls /library/Audio) i was able to navigate to the provided by others on this page. my nly problem is that there are no razer files there.

Mojave Login Issues

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