"Fixed it! It is amazing to me that one tiny config file can bring down the whole system! I followed the instructions of someone else in the replies (forgot the name) and Mohave installed without a hitch. Here are the instructions:
If you're also seeing symptoms like networking failing, bluetooth devices not connecting, etc, and you have been using the mac for a while (or restored it from another machine using migration or time machine), then it's due to an old, out of date system configuration file: /etc/sysctl.conf
This file doesn't even exist on new macs, so if you have it, it will cause problems. (At least with the upgrade to macOS 10.14.)
A. If you can log in (even if slow), or you're still on High Sierra, and have not yet upgraded, follow these instructions:
1. Start the terminal app from Applications/Utilities
2. Check if the file exists, by typing
ls -l /etc/sysctl.conf
If this returns a result like the following, then the file exists. (If it does not, then your issues are caused by something else.)
(You could also just go to the Mojave boot drive's etc folder, and rename the sysctl.conf file (i.e. to sysctl.bak). You'll need the admin password to rename it.)
-rw-r--r-- 1 root wheel 136 24 Nov 2013 /etc/sysctl.conf
3. Remove the file: (actually this command will simply rename it, so you can restore it if you really want to...)
You'll be prompted for your password.
sudo mv /etc/sysctl.conf /etc/sysctl.conf.bak
4. Restart your computer, and you should be all set, or if you've rolled back to High Sierra, you should be good to attempt the Mojave upgrade again.
B. IF you are unable to successfully log in at all (usually those who are running encrypted disks), then you're going to have to do a couple of steps first.
- Reboot in to 'recovery mode' by holding Command-R when you power on the computer until you see the apple logo.
- You'll be presented by a menu with the 4 recovery options. One of them is 'disk utility'. Click on it to load disk utility.
- Disk utility displays a list of the drives/partitions on your computer. One of these will be called something like 'Macintosh HD'. Select it. Next, On the top right hand corner of the disk utility window is a series of icons, one of which is called 'Mount'. Click on this. If you disk is encrypted, it may ask you to type in your password to unlock it. Do so.
- Quit the disk utility app. This should take you back to the recovery menu.
- Launch the Terminal app as follows: In the top main menu bar is a menu called 'Utilities'. Open this menu, and you should see 'terminal'. Click on it to launch.
- From terminal, rename the troublesome file: mv /etc/sysctl.conf /etc/sysctl.conf.bak
- Exit terminal, and restart your mac. You should be able to log in successfully."
That fixed it for many, but if the