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

How to prevent Mountain Lion from going into sleep mode while creating image with disk utility?

Hi,


I have newly and succesfully installed Mountain Lion 10.8.1 on my Mac Pro mid 2010. As usually, as a second back-up option beside Time Machine, I would like to create a disk image of my Mac's hard disk on an external hard drive.


When I boot from the Mountain Lion install USB stick, start Disk Utility and follow the procedure to create a disk image, the process starts, but after 10-15 min the computer goes into sleep mode. I even set the time for going into sleep mode in ML's systems preference to "never", but to no avail, as this was setting was ignored when booting from the USB stick.


How can I prevent the machine from going into sleep mode this and finish creating the disk image? On older OS X versions the same procedure worked flawlessly.


Any suggestions are most welcome!


Thanks for your support,

Greetings from Germany,

Peter

Mac Pro, OS X Mountain Lion (10.8.1)

Posted on Aug 31, 2012 12:06 PM

Reply
18 replies

Oct 1, 2012 4:15 AM in response to Pekett

i have the exact same problem. "Csound1"'s suggestion works fine for a fully booted system, however the problem that Pekett and I are describing is when booting from a thumb drive, which is a bare bones install system, and does NOT offer the Energy Saver control panel. When trying to run diskutility to do a big disk backup, it halts part way through due to the system going to sleep. This is a serious problem.

Apr 18, 2013 4:17 PM in response to Pekett

Having this exact same issue -- trying to do a big drive backup after booting to a USB stick, but the entire system goes to sleep after 10-15 minutes. Ridiculous that I have to babysit the mouse and keep it awake to complete a backup. Nearly an impossible task for a +1TB drive. Anyone find a solution to this yet?

Jul 31, 2013 7:24 AM in response to QQ007

i found a somewhat idiotic manual workaround. It's almost embarrassingly simple, but shame on Apple that I had to resort to this:

Find a heavy object (i use one of those big scotch tape dispensers) and wedge it over the keyboard so that it is leaning on the Space key so that the system thinks you are constantly using the keyboard. The system won't go to sleep, and constantly hitting the Space key seems to have no negative impact on the backup.

Oct 31, 2013 12:15 AM in response to Pekett

I have been having this issue with my new Late 2012 27" iMac - since day one. It's currently on 10.8.5 and soon to be upgraded to Mavericks. Disk Utility is not preventing the Mac from sleeping while creating a disk image via the recovery partition and it is necessary to babysit the process to ensure that it runs to completion. This is very frustrating


I just submitted a bug report to Apple regarding this issue. The typical Mac user may not ever notice this problem because they would not likely be using disk utility to create system images on a regular basis. I will report back when I hear somthing from Apple.


~Scott

Nov 3, 2013 9:45 AM in response to Greg Wishart

I have not heard back from Apple on my bug report. In the meantime I have found an acceptable and easy solution to this issue. It seems the problem is with disk utility not telling the system "not" to sleep during disk image creation - yet during a Scan Image for Restore - it does keep the system awake.


When you boot into the recovery partition - by default the sleep parameters are going to be set to Display Sleep 10, System Sleep 10 and Disk Sleep 10 (minutes).


Before using disk utility from the recovery menu - click on utilities and open a terminal window. At the prompt type the following command (no need to elevate privileges):


pmset -a sleep 0 displaysleep 0


Quit terminal - and return to recovery menu - and then open disk utility. The system and display will stay awake indefinitely. Until you reboot.


The pmset -a sleep 0 displaysleep 0 - tells power management to disable the system sleep timer and display sleep timer. These settings are being made in the recovery partition - but unfortunately they will not persist and will be reset back to 10 minutes the next time you boot into the recovery partition.


Hopefully this helps everyone - it is working great for me.


~Scott

Mar 25, 2014 11:39 AM in response to way9e0

To way9e0: You can use the following commands in recovery mode (instead of the heavy object on the spacebar).

Before using disk utility from the recovery menu - click on utilities and open a terminal window. At the prompt type the following command (no need to elevate privileges):


pmset -a sleep 0 displaysleep 0


Quit terminal - and return to recovery menu - and then open disk utility. The system and display will stay awake indefinitely. Until you reboot.


I think this was resolved in Mavericks 10.9.1 ir 10.9.2 (not sure - haven't had an opportunity to test fully) - but the pmset command above will solve all your problems.


~Scott

How to prevent Mountain Lion from going into sleep mode while creating image with disk utility?

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