Disk Utility - Restore Failure Invalid Argument

Discussion in 'Mac OS X Lion (10.7)' started by chenks, Jun 17, 2012.

  1. chenks, Jun 17, 2012
    Last edited: Jun 17, 2012

    macrumors 6502a

    chenks

    Joined:
    Oct 23, 2007
    Location:
    UK
    #1
    have downloaded my copy of Mountain Lion DP4 (yes i am part of the apple seed program). trying to burn the InstallESD.dmg to a USB stick to do a clean install.

    i'm using the same instructions i used for Lion - Disk Utility > create 1 partition with GUID > then restore the DMG to the USB stick.

    i keep getting the following error. any ideas why? (it's a 16GB USB stick).

    it fails at around 90%-ish of the way thru restoring.

    [​IMG]
     
  2. Mal
    macrumors 603

    Mal

    Joined:
    Jan 6, 2002
    Location:
    Orlando
    #2
    Mount the .dmg file first by double-clicking it, then drag the volume to the Source portion of that window, instead of the .dmg file itself.

    jW
     
  3. thread starter macrumors 6502a

    chenks

    Joined:
    Oct 23, 2007
    Location:
    UK
    #3
    hmmm... i've not done that with any other times i've used this process.
    as i said, it starts (saying it will take 30 minutes or so to complete), and fails with about 6 minutes left to go.
     
  4. Mal
    macrumors 603

    Mal

    Joined:
    Jan 6, 2002
    Location:
    Orlando
    #4
    It may not be necessary, but mounting the disk image will also force Disk Utility to verify it, in case it's corrupted. Did you try doing it that way?

    jW
     
  5. thread starter macrumors 6502a

    chenks

    Joined:
    Oct 23, 2007
    Location:
    UK
    #5
    it verifies fine as i can mount it and use it with no problems.
    it's only the restore process that fails.
     
  6. macrumors newbie

    Joined:
    Nov 1, 2006
  7. macrumors G3

    Joined:
    Jul 23, 2002
    Location:
    Sol III - Terra
    #7
  8. macrumors regular

    Joined:
    Oct 17, 2007
    Location:
    Portland, ME
    #8
    I am getting this same error. The USB stick and the ML image both verify fine. I'm stumped.
     
  9. macrumors regular

    Joined:
    Oct 17, 2007
    Location:
    Portland, ME
    #9
    Thanks! I tried this and it worked.
     
  10. macrumors 6502a

    clukas

    Joined:
    May 3, 2010
    #10
    I am also getting this error, will try this solution and report back.
     
  11. macrumors regular

    Joined:
    Feb 27, 2012
    Location:
    Long Island
    #11
  12. macrumors regular

    robpow

    Joined:
    Feb 10, 2007
    #12
    I had the same error and this fixed it, thanks!

    Matt
     
  13. macrumors regular

    Joined:
    Feb 27, 2012
    Location:
    Long Island
    #13
    Nice! I think when I get home from work I will try this method and see how it goes.
     
  14. macrumors 6502

    Joined:
    Jun 22, 2010
    #14
    I just ignored that. Try to boot from it. It should still work. I installed mine with no problems anyway.
     
  15. macrumors 6502a

    mac1984user

    Joined:
    Dec 10, 2009
    Location:
    United Kingdom
    #15
    Thanks for these instructions. I was getting so frustrated, but by mounting the image and restoring that to a partition on my external HDD, I now have a bootable version of Mountain Lion. Thanks.
     
  16. Mal
    macrumors 603

    Mal

    Joined:
    Jan 6, 2002
    Location:
    Orlando
    #16
    I'm glad that a simple tip can be so helpful to so many people.

    jW
     
  17. macrumors 6502

    Joined:
    Apr 3, 2012
    #17
    I used carbon copy cloner to do what the OP was doing. Works fine and free b
     
  18. macrumors regular

    Joined:
    Feb 27, 2012
    Location:
    Long Island
    #18
  19. macrumors member

    Joined:
    Sep 12, 2007
    #19
    Ignore the Restore Failure Error Message

    Just ignore the error message if you do the manual method. You will see that everything is fine on the USB drive.
     
  20. macrumors 6502

    Joined:
    Jan 3, 2008
    #20
    Genius! This worked for me too! Thanks!!
     
  21. macrumors newbie

    Joined:
    Dec 11, 2013
    #21
    try ownership status on usb stick...should work

    :cool:
     
  22. macrumors 65816

    Joined:
    Sep 3, 2006
    #22
    I have the same problem but I cannot make the above solution work for me(mavericks).
     
  23. macrumors P6

    Weaselboy

    Joined:
    Jan 23, 2005
    #23
    The solutions here won't work as Mavericks handles that installer differently.

    You can either manually make the installer in Terminal following this, or just use this utility to make your installer key.
     
  24. DamianPerera, Nov 16, 2014
    Last edited: Nov 16, 2014

    macrumors newbie

    Joined:
    Nov 16, 2014
    #24
    Possible Fix

    Unmount the partition of the USB stick first . Also make sure that the stick is formatted to 1 partition.

    Once unmounted, either use Disk Utility to restore the image or use Terminal and enter the following command;

    sudo dd if=/path/to/target.img of=/dev/rdiskN bs=1m

    * Drag and drop the image file to the Terminal after 'sudo dd if=' in order to automatically get the file path.
    * replace 'N' with the number assigned to your USB stick - can be found using Info in Disk Utility or by entering 'diskutil list' in the Terminal
    * If you get an error, replace bs=1m with bs=1M

    Another reason why you get the error might be because the .dmg image file was saved as either 'compressed' or 'read only'. In this instance you need to mount the .dmg image in Disk Utility, select 'Convert' and save the file as a read/write image. Afterwards highlight the new image file in Disk Utility, click on 'Images' and select 'Scan Image for Restore' - then try the normal recover procedure using Disk Utility.
     
  25. macrumors 68040

    tdhurst

    Joined:
    Dec 27, 2003
    Location:
    Portland, OR
    #25
    Yup

    Old thread I know, but I had this problem tonight and fixed it via the advice above.

    Thanks!
     

Share This Page