Apple Event: May 7th at 7 am PT

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

Why does my iMac boot in linux some of the time instead of Mac OS?

I first encountered this problem in os 10.8 and when I installed 10.8.1 I thought it had been fixed because I booted 10 times without the problem occurring. However, it's back.

iMac10,1

Posted on Aug 24, 2012 5:52 PM

Reply
62 replies

Aug 28, 2012 1:11 PM in response to WZZZ

I'm not sure it is Linux. The only reason I suspect that is that what is displayed looks like what I remember some of linux console messages were like. Also, the whoami command works which is unix/linux but not necessarily exclusive to them. Maybe I should try some others that I can dredge up from memory. Also, it's my understanding that mac os is built on top of linux. But on the other hand I do see a message that says "Single user boot." So, it certainly could be that as well. Still have had time to check out your links, unfortunately. Maybe Kenneth can get to it before me.

Aug 28, 2012 2:41 PM in response to BDAqua

Indeed that's what I do, BDAqua. Thanks for the note regardless. Actually, I haven't tried mac-boot, but I have used exit and reboot. Either of these gets the mac os going. But I shouldn't and don't want to have to do that. I want the machine to simply boot up into the mac os every time without all that single-user or linux or whatever-it-is stuff holding it up and making me wonder if something serious is wrong.

Aug 28, 2012 3:04 PM in response to Fred Ochs

OK, try this in Terminal...



To return to a normal startup, execute this command in Terminal or the command line:



sudo nvram boot-args=""

It'll ask for an admin PW that won't be echoed, carefully type the PW & hit enter

Actually not sure that still works on IntelMacs.

Have you done a PRAM reset, CMD+Option+p+r...


http://support.apple.com/kb/HT1379


In fact, do 3 in a row, takes a bit of time.

Aug 28, 2012 5:05 PM in response to BDAqua

Actually not sure that still works on IntelMacs.

Hi BD. If it doesn't work, he should try this, from the already linked article.


One of these settings is a boot arguments option that is passed to the OS kernel, similar to when keyboard hot keys are used. These can be set for verbose and safe modes using the following commands in the OS X Terminal:


sudo nvram boot-args="-v"


sudo nvram boot-args="-s"

Sounds like it's booting to single user, so I'd try the last one.

Aug 29, 2012 2:15 PM in response to WZZZ

I'm pretty sure those sudo commands cause verbose and safe modes to be used - not reset. So, I think they will just make the "problem" happen all the time. If I'm wrong, please let me know and I will try it out. But in reading the article referenced above by WZZZ, I did play around with sudo nvram. First I listed all the arguments and boot-args was not listed. I believe that means it has not been set and so that will not be the problem. I also tried to list it individually with "sudo nvram boot-args" and it was not found. I'm inferring from all this that boot-args is not the problem.

Why does my iMac boot in linux some of the time instead of Mac OS?

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