An open community 
of Macintosh users,
for Macintosh users.

FineTunedMac Dashboard widget now available! Download Here

Previous Thread
Next Thread
Print Thread
Safe Boot question
#21794 05/05/12 01:16 PM
Joined: Aug 2009
Likes: 15
OP Online

Joined: Aug 2009
Likes: 15
Mac OS X: Starting up in Safe Mode (Last Modified: November 19, 2011) specifies

Originally Posted By: Apple
To start up into Safe Mode (to Safe Boot), do this:

1. Be sure your Mac is shut down.

but I forgot to shut down the other day and, seemingly successfully, booted into Safe Mode from a restart (OS X 10.6.8), and I'm wondering whether that somehow compromised the Safe Boot functionality (if such a thing is actually possible)?

Thanks.


The new Great Equalizer is the SEND button.

In Memory of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire
Re: Safe Boot question
artie505 #21795 05/05/12 02:11 PM
Joined: Aug 2009
Likes: 4
Offline

Joined: Aug 2009
Likes: 4
I don't know if it's of any help, but when one boots into Safe Boot mode in Lion, the words Safe Boot in red appear on the screen.

Re: Safe Boot question
grelber #21796 05/05/12 02:26 PM
Joined: Aug 2009
Likes: 15
OP Online

Joined: Aug 2009
Likes: 15
Thanks, but no help...perhaps because I was a bit unclear.

"Seemingly successfully" meant that the boot went (apparently) according to Hoyle...progress bar, "SAFE BOOT," and all, except that it started at the wrong square-one, so I was wondering whether that particular aspect compromised the entire exercise?


The new Great Equalizer is the SEND button.

In Memory of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire
Re: Safe Boot question
artie505 #21801 05/05/12 11:20 PM
Joined: Aug 2009
Offline

Joined: Aug 2009
Safe boot from a restart is just fine.

Apple's how-to documents don't list every possible way to do something; just one way that's sure to work. They're striving for clarity and brevity, rather than exhaustive completeness.

For all practical purposes, restart is exactly the same as shutdown/power-on, and Apple's use of the word "shutdown" in this case clearly meant to encompass Restart as one kind of shutdown. (Some early Macintoshes would do a RAM check on power up, but skip the RAM check on a restart. Modern Macs have too much RAM to check quickly, so there's no longer a RAM check either way. I don't know that there was ever any other difference between a "cold start" and a "warm start".)

When Apple decides to do extra checking of this nature on some boots, the test now is based on whether you are doing a Safe Boot and/or did not shutdown/restart cleanly, not on whether you are booting from a full power down.)

Well, there is one other difference when booting from a shutdown: when you shut down your computer, power is removed from all devices and busses. Some peripherals may conceivably treat this differently than the reset signal they get as part of any boot. Any such difference, though, will be due to the loss of power, not to whether there's a Safe Boot in the picture.

Re: Safe Boot question
ganbustein #21802 05/05/12 11:42 PM
Joined: Aug 2009
Likes: 15
OP Online

Joined: Aug 2009
Likes: 15
Nice explanation; thanks.

My question was based on having heard that (in the context of troubleshooting) logging out/in does not do as much as restarting, which does not do as much as shutting down and starting up, but I've got no real idea of what "as much" may mean literally, just a suspicion that it has something to do with diagnostics and/or cache clearing and/or..., but I guess that's just another myth debunked, not that it won't always be lurking in the back of my head waiting to jump out and holler "Gimme a shot!


The new Great Equalizer is the SEND button.

In Memory of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire
Re: Safe Boot question
artie505 #21803 05/06/12 01:44 AM
Joined: Aug 2009
Offline

Joined: Aug 2009
Some system software code is cached in RAM and re-used in a restart. There is no problem with doing that, provided the cached code is not corrupted. A boot from a cold start replaces everything in RAM.


MicroMat Inc
Makers of TechTool
Re: Safe Boot question
MicroMatTech3 #21807 05/06/12 06:07 AM
Joined: Aug 2009
Likes: 15
OP Online

Joined: Aug 2009
Likes: 15
So there is at least a bit of difference between shutting down and just restarting.

Thanks for pointing it out.


The new Great Equalizer is the SEND button.

In Memory of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire
Re: Safe Boot question
ganbustein #21812 05/06/12 05:56 PM
Joined: Aug 2009
Likes: 3
Moderator
Online
Moderator

Joined: Aug 2009
Likes: 3

Quote:
...Apple's use of the word "shutdown" in this case clearly meant to encompass Restart as one kind of shutdown.

Seems odd, then, that in Mac OS X 10.6 Help: Starting up in safe mode, they say

Quote:

1. Shut down your computer and wait 10 seconds.

2. Press the power button.




dkmarsh—member, FineTunedMac Co-op Board of Directors
Re: Safe Boot question
dkmarsh #21813 05/06/12 06:37 PM
Joined: Aug 2009
Likes: 15
OP Online

Joined: Aug 2009
Likes: 15
The doc to which I linked in my original post doesn't specify a 10 wait.


The new Great Equalizer is the SEND button.

In Memory of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire
Re: Safe Boot question
artie505 #21816 05/06/12 07:35 PM
Joined: Aug 2009
Likes: 3
Moderator
Online
Moderator

Joined: Aug 2009
Likes: 3

My point is that the 10 second wait specified in the document I linked to tends to support an interpretation of "be sure your Mac is shut down" to mean something other than "a restart is fine; we're just trying to keep it simple."



dkmarsh—member, FineTunedMac Co-op Board of Directors
Re: Safe Boot question
MicroMatTech3 #21817 05/06/12 08:13 PM
Joined: Aug 2009
Offline

Joined: Aug 2009
Originally Posted By: MicroMatTech3
Some system software code is cached in RAM and re-used in a restart. There is no problem with doing that, provided the cached code is not corrupted. A boot from a cold start replaces everything in RAM.

Kernel extensions can take a small but noticeable time to load, so the result of loading them is cached (along with some other stuff) on disk in /System/Library/Caches/, to speed up the next restart. One of the things Safe Boot does is discard all your startup caches, including this one. (Font caches are also discarded.) Your kernel extensions are loaded the slow but sure way, this time and on your next normal boot. (Since a Safe Boot also alters which kernel extensions load, it would be pointless to rewrite the kext cache until after a normal boot reloads the normal set of extensions.)

But that cache-flushing is because of the Safe Boot, not because of the power down. Nothing in RAM is preserved across a restart. (Even if it could be preserved, a Safe Boot wouldn't trust RAM, and wouldn't use any left-over garbage in it.) On the flip side, even after a shutdown, a normal boot will load a cached kernel from disk into RAM, and use it.

I'm sure suggestions to "power down and wait 10 seconds" and the like come in the spirit of "as long as you want to forcibly reset the state of the OS, you may as well forcibly reset all your peripherals too."

Which isn't necessarily bad advice. I'm just saying that failing to shut down won't make a Safe Boot "not take", which was the original concern.

Re: Safe Boot question
dkmarsh #21828 05/07/12 04:55 PM
Joined: Aug 2009
Likes: 15
OP Online

Joined: Aug 2009
Likes: 15
Originally Posted By: dkmarsh
My point is that the 10 second wait specified in the document I linked to tends to support an interpretation of "be sure your Mac is shut down" to mean something other than "a restart is fine; we're just trying to keep it simple."

Your point wasn't lost on me; I guess the "required" 10 second wait is for a complete power drain, and it does appear to support your position.

I was pointing out, though, that Apple's own position on the issue is inconsistent, and a coupl'a second looks give me the impression that my linked doc is more recent than yours, because the former was updated on Nov. 19, 2011 and mentions Lion, whereas the latter is strictly a Snow Leopard doc.


The new Great Equalizer is the SEND button.

In Memory of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire

Moderated by  alternaut, dkmarsh, joemikeb 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.4.33 Page Time: 0.023s Queries: 38 (0.017s) Memory: 0.6285 MB (Peak: 0.7290 MB) Data Comp: Zlib Server Time: 2024-03-28 19:20:56 UTC
Valid HTML 5 and Valid CSS