Power off question
I'm planning on using a Mac Mini in my car as Plex media server. It will be headless (no monitor, no keyboard/mouse). I have a Carnetix PSU that can "press the power button" but when I do so, OS X sits there in the dialog waiting for me to press enter. I don't want to use hibernationmode = 1 because I'm going to swap external drives when the Mac is powered down. So a clean start is preferred.
How is everybody here shutting down their Macs? Is there a way to make the Mac power off without confirmation when I press the power button?
Thanks a lot for any hint.
Hey there! Welcome to the Mac Car forums!
Interesting that you are using the mac as a media server with no monitor and such. As far as powering on/off the mac with the carnetix PSU, I have personally never tried that. I use momentary switches/buttons, one to control the regulator, the other to power on/off the mini. When I want it off, I would press (and hold) the power button until my mini shuts off. Perhaps the same philosophy might work in your situation.
Thinking about it some more, you can setup your mac (before removing monitor and keyboard) to bypass the welcome screen and go straight to the finder (or open an app at startup) through control panel. Now if you use the mini's power button, you would press and hold it until the mini turns off. Another alternative might be to wait for the regulator to power off, and 30 seconds to a minute later, the mini turns off as well. But to use the PSU to turn it off, if there's a way to create the same pause effect that occurs when pressing & holding the mini's power button, then that may work for you.
Sorry for the rambling. I'm in the midst of rewiring. I hope some of it helps you. If I do stumble on a better answer, you'll hear from me...
Thanks for the reply. I was under the impression that a hard power off of a Mac (or Windows PC) will corrupt the file system sooner or later, is that incorrect?
Anyway, it turns out that the power switch in a 2010/2011 Mac mini is easily accessible, so I just soldered some wires on there and let the PSU do a proper shut down (or better tell the Mac to go into Hibernation mode which won't display the shut down message on the screen). I changed the SD card to a 2nd internal drive to hold the media files, now I don't get an error anymore when the Mac wakes up from hibernation. It takes only a few seconds, way faster than booting the Cradlepoint and wait for Internet connectivity.
I changed the Carnetix 1290 to a DC-DC PSU (no fan, no spinning parts) too. I set the PSU to wait 15 min before"pressing" the power switch and wait another 60s before cutting all power. So far the Mac always went into hibernation in less than 60s, so no file corruption risk.
So far so good, if anybody is interested in more detail, just let me know.
Awesome! I've heard about hard power offs leading to file corruption as well; but for the few times I had to do it, there generally were no issues...
Nice to see the Carnetix 1290 working out on your new mini! How were you able to re-wire the power plug for it? Did it come with instructions? Or was it trial & error??