Pekett

Q: 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:10 PM

Close

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

  • All replies
  • Helpful answers

Page 1 Next
  • by Csound1,

    Csound1 Csound1 Aug 31, 2012 12:22 PM in response to Pekett
    Level 9 (50,115 points)
    Desktops
    Aug 31, 2012 12:22 PM in response to Pekett

    Apple Menu>System Preferences>Energy Saver:

     

    Screen Shot 2012-08-31 at 2.21.38 PM.png

    Select Computer Sleep = Never.

  • by Pekett,

    Pekett Pekett Aug 31, 2012 12:25 PM in response to Pekett
    Level 1 (0 points)
    Aug 31, 2012 12:25 PM in response to Pekett

    Thanks for your really quick answer, but I tried this before and it did not solve the problem

  • by Csound1,

    Csound1 Csound1 Aug 31, 2012 12:40 PM in response to Pekett
    Level 9 (50,115 points)
    Desktops
    Aug 31, 2012 12:40 PM in response to Pekett

    Are you talking about the screen blanking during the install? if you are that is normal, the machine is not asleep, only the display and tapping the space bar will wake the screen.

  • by Pekett,

    Pekett Pekett Aug 31, 2012 2:31 PM in response to Csound1
    Level 1 (0 points)
    Aug 31, 2012 2:31 PM in response to Csound1

    No, it's not the screen saver or the screen only. Unfortunately the computer is really going into sleep mode: all drives are stopped, also the fan, the light is pulsating, etc..

  • by rex wilson,

    rex wilson rex wilson Oct 1, 2012 4:15 AM in response to Pekett
    Level 1 (75 points)
    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.

  • by SCLR46,

    SCLR46 SCLR46 Apr 18, 2013 4:17 PM in response to Pekett
    Level 1 (5 points)
    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?

  • by QQ007,

    QQ007 QQ007 Jul 31, 2013 7:18 AM in response to Pekett
    Level 1 (0 points)
    Jul 31, 2013 7:18 AM in response to Pekett

    I did not boot from USB but used Command-R, then launch Disk Utility to create disk image. Same issue that my MBA will go to sleep in 10 minutes. If I hit a key to wake it up, the image creation process will continue. Very frustrating.

     

    Appreciate any suggestion.

  • by rex wilson,

    rex wilson rex wilson Jul 31, 2013 7:24 AM in response to QQ007
    Level 1 (75 points)
    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.

  • by Lauriis2,

    Lauriis2 Lauriis2 Sep 10, 2013 4:52 PM in response to rex wilson
    Level 1 (0 points)
    Sep 10, 2013 4:52 PM in response to rex wilson

    rex wilsonI used your workaround as well and it really saved my day (another one was already gone). It was very annoying to press keys in the keyboard or move mouse every 10-15 minutes while backing up data, scanning image, etc. with 1TB HDD.

  • by Greg Wishart,

    Greg Wishart Greg Wishart Oct 7, 2013 8:39 PM in response to Pekett
    Level 1 (0 points)
    Oct 7, 2013 8:39 PM in response to Pekett

    I tied my wired mouse to an oscillating fan while doing a backup. That would slowly move the mouse back and forth over my mouse pad and keep the machine awake during the 8 hours it takes to do a backup.  I'll try putting a stapler on the space bar next time!

  • by SBeattie2,

    SBeattie2 SBeattie2 Oct 31, 2013 12:15 AM in response to Pekett
    Level 2 (172 points)
    Servers Enterprise
    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

  • by SBeattie2,

    SBeattie2 SBeattie2 Nov 3, 2013 9:45 AM in response to Greg Wishart
    Level 2 (172 points)
    Servers Enterprise
    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

  • by way9e0,

    way9e0 way9e0 Mar 25, 2014 7:32 AM in response to SBeattie2
    Level 1 (0 points)
    Mar 25, 2014 7:32 AM in response to SBeattie2

    Sounds like a nice elegant solution.

     

    The heavy object on the space bar is working for me at the moment. I'd forgotten about this problem until after I'd started the disk image creation process, so couldn't reset the power management parameters.

  • by SBeattie2,

    SBeattie2 SBeattie2 Mar 25, 2014 11:39 AM in response to way9e0
    Level 2 (172 points)
    Servers Enterprise
    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

Page 1 Next