Yoga 13 System Image Restore Fails Due To Excluded Disk

Hello:
I am trying to execute a restore from a system image disc created shortly after I installed my principal programs without destroying the OKR partition or files.  However, I  do not want to go all the way back to factory condition at this time.  The issue is that when I attempt to follow the reimage instructions in win 8.1, I am presented with a dialog box that has two check boxes.  The first asks "Format and repartition disk" and the second asks "only restore system drives".  
Based on everything I've read about preserving the C:/ and D:/ drive partitions, I would have expected to check the second box and not the first.  But the system will not let me make this choice.  Instead, the first box is automatically checked, and greyed out, with a second dialogue asking me if there are any disks I want to exclude from repartitioning.  When following this second dialogue I am asked if I want to exclude Disk 0 (Samsung MZMTD128HAfV -00l1) which has 119Gb of capacity.  If I try to exclude this disk, the operation fails with following error:   "Restore failed because a disk that was critical at backup is excluded"  My question is, if I do not exclude this disk, will the restore operation still leave the D:/ partition intact so I can use OKR in the future.
I have read quite a bit of imformation here and elsewhere about restoring system images and OKR, but have not seen any discussion about this disalogue, or the fact that I am being forced to reformat and repartition the disk without excluding the d:/ drive.  Other posters have stated that retsoringa  system image will only restore C;? drive, but this dialogue seems to conflict with those statements.  Anyone else have any experience with this operation?
Thank you,

Hello:
I am trying to execute a restore from a system image disc created shortly after I installed my principal programs without destroying the OKR partition or files.  However, I  do not want to go all the way back to factory condition at this time.  The issue is that when I attempt to follow the reimage instructions in win 8.1, I am presented with a dialog box that has two check boxes.  The first asks "Format and repartition disk" and the second asks "only restore system drives".  
Based on everything I've read about preserving the C:/ and D:/ drive partitions, I would have expected to check the second box and not the first.  But the system will not let me make this choice.  Instead, the first box is automatically checked, and greyed out, with a second dialogue asking me if there are any disks I want to exclude from repartitioning.  When following this second dialogue I am asked if I want to exclude Disk 0 (Samsung MZMTD128HAfV -00l1) which has 119Gb of capacity.  If I try to exclude this disk, the operation fails with following error:   "Restore failed because a disk that was critical at backup is excluded"  My question is, if I do not exclude this disk, will the restore operation still leave the D:/ partition intact so I can use OKR in the future.
I have read quite a bit of imformation here and elsewhere about restoring system images and OKR, but have not seen any discussion about this disalogue, or the fact that I am being forced to reformat and repartition the disk without excluding the d:/ drive.  Other posters have stated that retsoringa  system image will only restore C;? drive, but this dialogue seems to conflict with those statements.  Anyone else have any experience with this operation?
Thank you,

Similar Messages

  • System Image Restore Fails "No disk that can be used for recovering the system disk can be found"

    Greetings    
                                        - Our critical server image backup Fails on one
    server -
    Two 2008 R2 servers. Both do a nightly "Windows Server Backup" of Bare Metal Recovery, System State, C:, System Reserved partition, to another storage hard drive on the same machine as the source. Active Directory is on the C: The much larger D: data
    partition on each source hard drive is not included.
    Test recovery by disconnecting 500G System drive, booting from 2008R2 Install DVD, recovering to a new 500G SATA hard drive.
    Server A good.
    Server B fails. It finds the backed-up image, & then we can select the date we want. As soon as the image restore is beginning and the timeline appears, it bombs with "The system image restore failed. No disk that can be used for recovering the system
    disk can be found." There is a wordy Details message but none of it seems relevant (we are not using USB etc).
    At some point after this, in one (or two?) of the scenarios below, (I forget exactly where) we also got :
    "The system image restore failed. (0x80042403)"
    The destination drive is Not "Excluded".
    Used   diskpart clean   to remove volumes from destination drive. Recovery still errored.
    Tried a second restore-to drive, same make/model Seagate ST3500418AS, fails.
    Tried the earliest dated B image rather than the most recent, fail.
    The Server B backups show as "Success" each night.
    Copied image from B to the same storage drive on A where the A backup image is kept, and used the A hardware to attempt restore. Now only the latest backup date is available (as would occur normally if we had originally saved the backup to a network location).
    Restore still fails.         It looks like its to do with the image rather than with the hardware.
    Tried unticking "automatically check and update disk error info", still fail.
    Server A  SRP 100MB  C: 50.6GB on Seagate ST3500418AS 465.76GB  Microsoft driver 6.1.7600.16385   write cache off
    Server B  SRP 100MB  C: 102GB  on Seagate ST3500418AS 465.76GB  Microsoft driver 6.1.7600.16385   write cache off
    Restore-to hard drive is also Seagate ST3500418AS.
    http://social.answers.microsoft.com/Forums/en-US/w7repair/thread/e855ee43-186d-4200-a032-23d214d3d524      Some people report success after diskpart clean, but not us.
    http://social.technet.microsoft.com/Forums/en-US/windowsbackup/thread/31595afd-396f-4084-b5fc-f80b6f40dbeb
    "If your destination disk has a lower capacity than the source disk, you need to go into the disk manager and shrink each partition on the source disk before restoring."  Doesnt apply here.
    http://benchmarkreviews.com/index.php?option=com_content&task=view&id=439&Itemid=38&limit=1&limitstart=4
    for 0x80042403 says "The solution is really quite simple: the destination drive is of a lower capacity than the image's source drive." I cant see that here.
    Thank you so much.

    Hello,
    1. While recovering the OS to the new Hard disk, please don't keep the original boot disk attached to the System. There is a Disk signature for each hard disk. The signature will collide if the original boot disk signature is assigned to the new disk.
    You may attach the older disk after recovering the OS. If you want to recover data to the older disk then they should be attached as they were during backup.
    2. Make sure that the new boot disk is attached as the First Boot disk in hardware (IDE/SATA port 0/master) and is the first disk in boot order priority.
    3. In Windows Recovery Env (WinRE) check the Boot disk using: Cmd prompt -> Diskpart.exe -> Select Disk = System. This will show the disk where OS restore will be attempted. If the disk is different than the intended 2 TB disk then swap the disks in
    correct order in the hardware.
    4. Please make sure that the OS is always recovered to the System disk. (Due to an issue: BMR might recover the OS to some other disk if System disk is small in size. Here the OS won't boot. If you belive this is the case, then you should attach the
    bigger sized disk as System disk and/or exclude other disks from recovery). Disk exclusion is provided in System Image Restore/Complete PC Restore UI/cmdline. 
    5. Make sure that Number and Size of disks during restore match the backup config. Apart from boot volumes, some other volumes are also considered critical if there are services/roles installed on them. These disks will be marked critical for recovery and
    should be present with minimum size requirement.
    6. Some other requirements are discussed in following newsgroup threads:
    http://social.technet.microsoft.com/Forums/en-US/windowsbackup/thread/871a0216-fbaf-4a0c-83aa-1e02ae90dbe4
    http://social.technet.microsoft.com/Forums/en-US/windowsbackup/thread/9a082b90-bd7c-46f8-9eb3-9581f9d5efdd
    http://social.technet.microsoft.com/Forums/en-US/windowsbackup/thread/11d8c552-a841-49ac-ab2e-445e6f95e704
    Regards,
    Vikas Ranjan [MSFT]
    ------- This information is provided as-is without any warranties, implicit or explicit.-------

  • Folio13 Windows 7 pro 64, system image, restore fails

    I have (10) HP Folio13, running Windows 7 pro 64, I have used the Windows 7 system tools, to create a system image onto a USB 2.0 external Seagate harddrive. It created fine.. to test it I tried to restore the image onto a different HP Folio13.
    I hooked up an external USB cd-rom/dvd reader/write to either USB ports, and the USB Seagate hard drive to the other free USB port, thats on the HP Folio13. and I'm using a Windows 7 system restore disc.  If the USB cd/dvd write is hooked up to the USB port on the left hand side, it crashes stating it can't find the x:\sources\recovery\tools\hp recovery manager.exe this application has request the runtime to terminate it in an unsual way please contact the application support team for more infomation, if i shutdown and place the cd/dvd drive into the USB port on the right hand side. it works.. and boots correctly but can't find the Windows system image, that exists on the USB external harddrive.  I know that the USB windows system image is valid.. I was able to restore it too a differnet HP laptop a 8560w.. with the same boot disk, but since the HP 8560w has a built in cd reader.. all works well.  I have updated the BIOS to the lastest as of today (F.18) I have updated the USB drivers, I have tired using F11 on the HP Folio and tried to restore it from that, but what comes up, does not support a system image restore, F11 only works for system restores..  I need some aid.. I have a valid Windows 7 system image on a external USB 2.0 hard drive. I would like to restore it to a HP Folio13.

    Hello canadianguy2,
    Your Folio13 is a Business model.  Your issue would be best answered on the HP Enterprise Business Community Forum
    Good luck!
    ↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓

  • System image restore process failed - WSE2012

    I need some help. My system drive failed and I'm forced to attempt a recovery using the server backup located on my backup volume. Using a bootable USB stick, I successfully boot in to the installation media, navigate to the repair screen, and select System
    Restore. The software attempts to find a suitable backup, which it does and recommends the backup dated 2/5/2013 (about a week ago). I click NEXT, select the EXCLUDE drives to exclude those drives that are part of my storage pool (I've also not selected anything
    to exclude. Here's my selection:
    Disk 4 - USB STICK w/Install Media
    Disk 5 - NEW REPLACEMENT DRIVE (fresh)
    Disk 6 - Storage Space
    Disk 7 - Storage Space
    It reports that Disk 3 is automatically excluded because it contains the backup. So far all this seems in order.
    I proceed to click NEXT to get to the final recovery options page. In addition to the server name and date of the backup, I'm presented with the following:
    \\?\Volume{824f6b2f-3b3a-11e2-93ed-806e6f6e6963}, C:
    Upon clicking FINISH and receiving the warning that all drives will be reformatted and partitioned, I'm presented with a dialog box in about 5 seconds that states the following:
    The system image restore failed
    An error occurred while performing the recovery operation. Details (link)
    Clicking the link presents me with another dialog box that shows various options for ensuring the drive is connected (which it is, Disk 5) and it asks that all USB drives are removed. However, if you remove the installation media, you can't continue anyway.
    Here are my questions:
    What on in the name of Microsoft is going on here -- has anyone run into this problem before? According to the instructions, this should be super easy. I've reviewed the following: http://technet.microsoft.com/en-us/library/jj593197.aspx
    Should I disconnect the Storage Space drives all together, leaving the new system drive, the backup drive and the USB stick and try again?
    Should I install a new copy of Windows Server (with storage drives unplugged) and then attempt to restore.
    If the backup was corrupt, wouldn't I get a different error message?
    What other options can I try?
    I've already made a simple volume on the NEW drive as I read elsewhere that solved someone with a Windows 7 recovery that sounded the same. This did not work for me. I've tried to remove the USB drive, and then process complains and says it can't find the
    path to the install media.
    My server is headless and DVD-less, so USB is the only way I'm going to get this to install. I've also already tried moving my USB stick into just about every USB port available.
    Finally, this is a Gigabyte  UEFI motherboard.
    Someone smarter than me please step up and show me the light! I can't believe the restore process is failing like this.

    A brief update since my last post. I've left all the drives plugged in and decided to replace the bootable USB stick method with the tried-and-true external USB DVD drive. Upon boot, I again attempted the recovery option outlined before. However, this time,
    I receive the following message:
    Windows cannot restore a system image to a computer that has a different firmware. The system image was created on a computer using BIOS and this computer is using EFI.
    I don't believe this is true, but to test the error, I proceeded to configure my BIOS for legacy BIOS support and turned OFF all UEFI support. I again booted to the system and proceeded to attempt the recovery option outlined before. This time, it appeared
    to start working, but then resulted in the same exact error message I reported previously just a short 30 seconds later. I attribute this problem to the slower speed of the USB DVD drive.
    I reconfigured my system again for UEFI and installed a fresh copy of the WSE2012. This seemed to go without any trouble. Once in the new instance of WSE2012, I attempted to recover from the original backup. At this time, I can only attempt to replace folders
    and files and not the entire drive. Needless to say, the process did not complete correctly and I have a half baked of new and my original drive, complete with Dashboard plugins that don't work. The next thing I'm going to try is to install fresh again and
    from within WSE2012 attempt to restore from the image again. However, I doubtful that the result will be positive. Stay tuned, more to come.

  • Windows Backup fails to complete and System shows 29 Restore Points all titled "System Image restore point" but none will work.

    Problems both seemed to appear about the same time and may be related.
    Had backups on an  external drive prior to the problem and appeared to be working. I have since cleaned the external drive in an attempt to start a new backup series but it continues to stop and report backup has failed.
    The System restore was working fine and one day it had changed all the existing Restore Points to "System Image restore point"
    but still showed all the different dates.  In the System Properties window it indicates that there are 0 bytes in "current usages",
    which I assume they are all empty but I can't create any new ones. I get Error code 0x80042308. 
    I have tried the Clean Boot with no results. I use MS Security Essentials for virus protection.
    I have no other symptoms or problems on the PC.
    About ready for a Recovery and start all over.
    George M1

    Hi,
    Your first step should be to run chkdsk /r /f on all the drives in that computer. Shadow copy errors are often caused by disk problems (usually minor) which chkdsk will find and correct.
    Also, this issue can be caused that VSS dlls are corrupted.
    Re-install the VSS dlls by following these steps:
    a. Using command prompt, CD to the WINDOWS\system32 directory
    b. Stop the Volume Shadow Copy service by executing the command "net stop vss"
    c. Register the following DLLs and services by executing these commands:
    regsvr32 ole32.dll
    regsvr32 vss_ps.dll
    Vssvc /Register
    regsvr32 /i swprv.dll
    regsvr32 /i eventcls.dll
    regsvr32 es.dll
    regsvr32 stdprov.dll
    regsvr32 vssui.dll
    regsvr32 msxml.dll
    regsvr32 msxml3.dll
    regsvr32 msxml4.dll
    Hope these could be helpful.
    Kate Li
    TechNet Community Support

  • System image restore new hard drive

    Hard drive failed. Brought new one and are trying to do a system image restore. Boot using Win 7 repair disk. Start image recovery. Runs for a min or two and give me the following error.
    Windows back up failed to extend or mount the file system on the recovered volume. (0x80780124) , I don't have win 7 disk as it did not come with the computer, I did create  a repair disk and several system images as back up but am now stuck.
    Help !
    This question was solved.
    View Solution.

    I feel your pain, I went through several installs of a Samsung SSD. First SSD died within several months, the second one  did too (refurbished btw, Samsung won't give ya a new one) and had to do it again. Myself I keep debating whether to worry over the data I have and just do a complete clean install each time. This last go round I did a 'clone' of the HP provided OS with all the bloatware and junk on it and since have found that there is a way to do a windows only install using ABR(autobackupand restore)utility that'll record all your proprietery data like COA key so when you do an install you won't have to keep verifying it every 90 days...BTDT. Found that one on this forum as a good way to do an OS install and keep the original code applied to the new install. 
    All the really important (to me) stuff I keep on an external hdd or big thumb drive, speaking of which theres a 64 gb 3.0 usb on Amazon for under 30 bucks including shipping, ya can't beat that. All my games and stuff I have on seperate HDDs with none of that RAID business. 
    Found out the hard way in order to use the HP recovery discs the pc has to be put back in its original form. I had put in another drive (solid state) and a better graphics card and better RAM sticks only to find that I had to go back and put all that out of the box stuff back in to get the discs to work....they were giving me red alerts in Command Prompts or CMD.  I had never seen Red CMD it was one of those **bleep** moments,  spending half a day googling led to to someone who had been there and done that (btdt) HP won't let you put their OS on another Hard Drive which I think is stupid..the disc knows if the drive is different therefore the bright red CMD window that blinks in your face and doesn't have the courtesy to tell you to change equipment.Oh well time to quit blathering.

  • Faulty Windows after 'successful' System Image restore to new hard drive.

    This question posted as ' Cut down Win 7 after System Image restore to new HDD'  in the community but no satisfactory answer.  Please may I ask here.
    Win reported a successful System Image creation of C: on my E: drive.  C was replaced with a new 2TB drive (previously 1.5Tb) and the image restored.  Win reported 'successful' restoration of C: immediately followed by the common 'You must restart
    your computer to apply these changes...' which I assumed was just Win taking note of the new drive.
    On running, everything seems fine at first but you start to notice faults.  Most importantly Win doesn't seem to recognise itself.  If you start some of the functions in control panel (eg System Manager) you get a message from User Account
    Control  'Do you want to allow the following program from an unknown publisher to make changes to this computer?'.
    Windows Live Mail won't work.  You get a message 'Windows Live Mail could not be started.  Closing Windows Live Mail.  Your calendar contains corrupt data that is forcing Windows Live Mail to close (0x8E5E0247).'  I have never used the
    calendar function so there shouldn't be any data there.
    Browsing history in IE is there on very first opening but is immediately lost and never recovered.  Favourites are intact but all login details are lost.  All your internet feeds are lost.  Message 'The feed download was interrupted.....' 
    Trying to create new feeds is unsuccessful.     When you try and download something the usual IE message 'Do you want to run or save ... ' comes up at the bottom of the screen but the buttons do not work so you cannot get any downloads.
    Installed non-Windows applications do seem to run OK though I usually switch back to the original drive pretty quick.
    2 x Dell Precision T5500 desktops, both reasonably high spec and more or less identical though one is nearly 3 years old and the other approaching 4.  Both Win7 x64.  The fault identical on both machines.  I have had these drives in and out
    so many times trying to solve this there is a real risk of damaging the disk or lead.  Can anyone suggest what might be wrong or how Win could be fixed??  I assume 2Tb is ok.  Is it normal to get a restart message after a 'Successful' image
    restore message.  I've tried cloning the drive as well but got exactly the same messages and faults.  Next I was going to try creating the image after running something like EndItAll and  then seeing if the image would restore more successfully
    to a different 1.5Tb drive though I don't see this should make any difference.  'Clutching at straws' comes to mind.
    Thanks.

    Hello,  thanks for your interest.
    Yes, principally it's the Windows features which are faulty.  It's not that they don't work at all (except for win live mail which gives that message about being forced to shutdown), rather that there are faulty features.
    All of the functions in control panel, for example, work OK. But when you select them there is this message from user account control ' Do you want to allow the following program from an unknown publisher to make changes to this computer'.   It
    then goes on to give details the oddity being that the publisher is listed as 'Unknown'.  This is the standard User Account Control dialogue but the strange thing is that it is not recognising the functions coming with windows.    If you
    click yes it goes on to open device manager or whichever one it was that you wanted and the function works quite normally.  
    Non windows applications (including Microsoft Office) run normally without the user account control dialogue.  The only oddity I noticed today was that one program seemed to have lost it's licencing information and gave a message that the
    month trial period was up with an invitation to licence.
    Today I tried to restore an image to a replacement 1.5TB disc. (i.e. the same size as the image was made from). The whole process went quite smoothly and Windows seemed to be working without the faults on the replacement drive.     So
    having shown that the image must be OK I tried swapping the 1.5 drive for the 2Tb drive and repeating the restore from the same image.   Immediately on running, Windows gave me the message 'You must restart the computer to apply these changes....
    (which it had not done for the 1.5Tb restoration) and all the old faults were back.   The message might be quite innocent and simply indicate that Windows is taking note or the different size drive but it seems to be associated with the arrival of
    the faults. (The new drive is formatted as for the 1.5Tb with C: and Recovery partitions and the extra space left unallocated).
    No, I have not tried Reinstalling Windows Live Mail yet. Today I was working on the newer machine and my mail is on the older one. It is odd that both machines show exactly the same problem. It must be something to do with the move to a different size disk.   I
    guess I would have to reinstall IE as well as that was the other application that was really faulty.
    Yes, that is the thread I tried in the community but I didn't get any solution.

  • Restore failed due to iTunes being corrupt

    Attempting to restore from a 'successful' backup got a warning message the restore failed due to a iTunes being corrupt.  Found the following log
    2013-06-19 13:14:14.979 [8216:f38]: restore library built Dec 21 2012 at 16:17:03
    2013-06-19 13:14:14.979 [8216:f38]: iTunes: iTunes 11.0.4.4
    2013-06-19 13:14:15.041 [8216:f38]: iTunes: Current software version: 10B329
    2013-06-19 13:14:15.042 [8216:f38]: iTunes: Software payload version: 10B329
    2013-06-19 13:14:15.042 [8216:f38]: iTunes: Using iTunes state machine
    2013-06-19 13:14:15.636 [8216:f38]: iTunes: Restore error -34
    The SAD thing is not only is all my data gone but the phone is not usable it is stuck on a setup screen.
    Please help – What has happened to Apple????????????????????

    Well I found a article that may help you.
    Error 34:
    These errors typically occur when security software interferes with the restore and update process. Follow Troubleshooting security software issues to resolve this issue. In rare cases, these errors may be a hardware issue. If the errors persist on another computer, the device may need service.
    Also, check your hosts file to verify that it's not blocking iTunes from communicating with the update server. See iTunes: Advanced iTunes Store troubleshooting—follow steps under the heading Blocked by configuration (Mac OS X / Windows) > Rebuild network information > Mac OS X > The hosts file may also be blocking the iTunes Store. If you have software used to perform unauthorized modifications to the iOS device, uninstall this software prior to editing the hosts file to prevent that software from automatically modifying the hosts file again on restart.
    http://support.apple.com/kb/TS3694

  • System Image Utility Failing Error 2 Yosemite

    I'm trying to create an net install image of the OS X Yosemite installer. It worked with 10.0, now on 10.0.1 I'm getting an error "System Image Utility Failing Error 2". I've tried it a few different ways but I get the same result every time. Has anyone been able to create a 10.0.1 image?

    After doing all that I described in my previous post three things happened:
    1. I need to proof read better mi writing (I am fluent in english but of course is not my native language).
    2. The NetInstall image I created did work!, but it failed at 99.99% verifying leaving a useless installation. I was able to bring back some computers by reinstalling only the system, but most of them had to be erased and reimaged again.
    And number 3:
    I found another solution that worked fine this time. !!!
    (well, it had a hiccup but not a show stopper)
    What is needed:
    - A known working NetInstall image.
    Steps:
    1. Copy the NetInstall.nbi folder to another location.
    2. Using Disk Utility convert the image file NetInstall.dmg (inside the NetInstall.nbi) to a read/write image, preferably to a sparse image.
    3. Mount the new image and locate the folder 'Packages' inside it (it is invisible in the Finder).
    4. Remove System.dmg
    5. Copy your source image on the same place and make sure it is named System.dmg and is of type read-only / compressed. (If the new image is bigger than the one before, it will be useful that the NetInstall.dmg be a sparse image.)
    6. If the source image was not previously scanned for ASR, do it now.
    7. Unmount the NetInstall disk
    8. Using Disk Utility convert your new NetInstall.dmg to read-only / compressed.
    9. Rename your NetInstall.nbi to YourNewNetInstall.nbi
    10. Edit the file NBImageInfo.plist (inside the YourNewNetInstall.nbi)  and locate the line with the old name of the .nbi and change it to the new one. Locate the "Index" and change it too (maybe simply add 1.) Also, change the line that mentions the System version and change it to the one that the new NetInstall contains (up to only the first decimal.)
    11. Move back YourNewNetInstall.nbi to the NetBootSP0 folder where it came from.
    12. In Server activate your new NetInstall source (you can change the index there too) and update the computers list it will be served to.
    Ready!
    Using this I could reinstall the computers without a problem this time.
    Ok, I said there were a hiccup:
    After finishing, the computers restarted to their recovery partition and a simple restart brought them back to it. Using Disk Utility and verifying the disk was enough to restart them properly.
    Hope this helps.
    Greetings from Mexico!
    Alex Ramos

  • System Image Restore in Window 8.1

    I have not been able to find a data migration application that works at cloning a Windows 8.1 hard drive to a new SSD.  With that in mind I want to go about moving the contents, data and operating system from my working C: to a new SSD.  I want
    to go about it as if I have backed up my system, my C: drive has failed so I need to install a new drive and restore my data and operating system to the new drive.  I can't seem to find any simple (this should be simple) straight forward way to do this
    nor can I find any form of written instruction on how to go about this. 
    I would love to have someone articulate this.  As it stands I have a fully operational intact C drive.  I have completed a disk image to a second separate hard drive.  I now want to restore that content to a third (SSD ) drive.
    Where do I begin? 

    There is a system backup tool called System Image Backup, follow these steps to conduct this:
    Swipe in from the right edge of the screen, and then tap Search.
    (If you're using a mouse, point to the upper-right corner of the screen, move the mouse pointer down, and then click Search.)
    Enter File History in the search box, tap or click File History, and then click System Image Backup at the left part.
    See the screenshot as below, you can backup it on local machine or a DVD or a network share folder:
    Besides, I need to point out that this backup method will generate a vhd file, if you want to restore the system you need an DVD installation midia.
    You cannot just restore a vhd file directly to the hard drive.
    regards
    v-yamliu

  • System image utility fails "Unknown error has occurred"

    Hi,
    I can create disk images from 10.8.3 clients but when i'm putting them through system utility on the 10.8 server it fails after hours of running.
    The log is set to debug and shows the image creates upto 83% then jumps to 100% and later shows unknown errors and failed to create image from restore souce.
    I've created several disk images and saved them to different locations on the server as the source and final image.
    Below i've put in the debug log. Someone please help!!
    Workflow Started (2012-01-02 13:56:58 +0000)
    OS X Server 10.8.3 (12D78), System Image Utility 10.8.3 (624)
    Starting action: Define Image Source (1.4)
    Finished running action: Define Image Source
    Starting action: Create Image (1.7.2)
    Starting image creation process...
    Create NetRestore Image
    Initiating NetRestore from installed volume.
    progressPrefix="_progress"
    ++ progressPrefix=_progress
    scriptsDebugKey="DEBUG"
    ++ scriptsDebugKey=DEBUG
    imageIsUDIFKey="1"
    ++ imageIsUDIFKey=1
    imageFormatKey="UDZO"
    ++ imageFormatKey=UDZO
    mountPoint=""
    ++ mountPoint=
    ownershipInfoKey="501:20"
    ++ ownershipInfoKey=501:20
    blockCopyDeviceKey="0"
    ++ blockCopyDeviceKey=0
    dmgTarget="NetInstall"
    ++ dmgTarget=NetInstall
    potentialRecoveryDevice="disk3s3"
    ++ potentialRecoveryDevice=disk3s3
    asrSource="ASRInstall.pkg"
    ++ asrSource=ASRInstall.pkg
    destPath="/Volumes/Macintosh HD/Library/NetBoot/NetBootSP0/NetRestore of Macintosh 10-8_2.nbi"
    ++ destPath='/Volumes/Macintosh HD/Library/NetBoot/NetBootSP0/NetRestore of Macintosh 10-8_2.nbi'
    skipReorderingKey="0"
    ++ skipReorderingKey=0
    sourceVol="/Volumes/Macintosh HD 1"
    ++ sourceVol='/Volumes/Macintosh HD 1'
    postInstallHelperKey="1"
    ++ postInstallHelperKey=1
    . "${1}/createCommon.sh"
    + . /tmp/niutemp.YPRmigsL/createCommon.sh
    # createCommon.sh
    # Common functionality for the Image creation process.
    # sourced in by the various SIU scripts
    # Copyright © 2007-2012 Apple Inc. All rights reserved.
    # Using dscl, create a user account
    AddLocalUser()
    # $1 volume whose local node database to modify
    # $2 long name
    # $3 short name
    # $4 isAdminUser key
    # $5 password data
    # $6 password hint
    # $7 user picture path
    # $8 Language string
    local databasePath="/Local/Default/Users/${3}"
    local targetVol="${1}"
    # Find a free UID between 501 and 599
    for ((i=501; i<600; i++)); do
    output=`/usr/bin/dscl -f "${targetVol}/var/db/dslocal/nodes/Default" localonly -search /Local/Default/Users UniqueID $i`
    # If there is already an account dscl returns it, so we're looking for an empty return value.
    if [ "$output" == "" ]; then
    break
    fi
    done
    # Create the user record
    /usr/bin/dscl -f "${targetVol}/var/db/dslocal/nodes/Default" localonly -create $databasePath
    if [ $? != 0 ]; then
    echo "Failed to create '${databasePath}'."
    return 1
    fi
    # Add long name
    /usr/bin/dscl -f "${targetVol}/var/db/dslocal/nodes/Default" localonly -append $databasePath RealName "${2}"
    if [ $? != 0 ]; then
    echo "Failed to set the RealName."
    return 1
    fi
    # Set up the users group information
    /usr/bin/dscl -f "${targetVol}/var/db/dslocal/nodes/Default" localonly -append $databasePath PrimaryGroupID 20
    if [ $? != 0 ]; then
    echo "Failed to set the PrimaryGroupID."
    return 1
    fi
    # Add some additional stuff if the user is an admin
    if [ "${4}" == 1 ]; then
    /usr/bin/dscl -f "${targetVol}/var/db/dslocal/nodes/Default" localonly -append "/Local/Default/Groups/admin" GroupMembership "${3}"
    if [ $? != 0 ]; then
    echo "Failed to add the user to the admin group."
    return 1
    fi
    /usr/bin/dscl -f "${targetVol}/var/db/dslocal/nodes/Default" localonly -append "/Local/Default/Groups/_appserveradm" GroupMembership "${3}"
    if [ $? != 0 ]; then
    echo "Failed to add the user to the _appserveradm group."
    return 1
    fi
    /usr/bin/dscl -f "${targetVol}/var/db/dslocal/nodes/Default" localonly -append "/Local/Default/Groups/_appserverusr" GroupMembership "${3}"
    if [ $? != 0 ]; then
    echo "Failed to add the user to the _appserverusr group."
    return 1
    fi
    fi
    # Add UniqueID
    /usr/bin/dscl -f "${targetVol}/var/db/dslocal/nodes/Default" localonly -append $databasePath UniqueID ${i}
    if [ $? != 0 ]; then
    echo "Failed to set the UniqueID."
    return 1
    fi
    # Add Home Directory entry
    /usr/bin/dscl -f "${targetVol}/var/db/dslocal/nodes/Default" localonly -append $databasePath NFSHomeDirectory /Users/${3}
    if [ $? != 0 ]; then
    echo "Failed to set the NFSHomeDirectory."
    fi
    if [ "${6}" != "" ]; then
    /usr/bin/dscl -f "${targetVol}/var/db/dslocal/nodes/Default" localonly -append $databasePath AuthenticationHint "${6}"
    if [ $? != 0 ]; then
    echo "Failed to set the AuthenticationHint."
    return 1
    fi
    fi
    /usr/bin/dscl -f "${targetVol}/var/db/dslocal/nodes/Default" localonly -append $databasePath picture "${7}"
    if [ $? != 0 ]; then
    echo "Failed to set the picture."
    return 1
    fi
    /usr/bin/dscl -f "${targetVol}/var/db/dslocal/nodes/Default" localonly -passwd $databasePath "${5}"
    if [ $? != 0 ]; then
    echo "Failed to set the passwd."
    return 1
    fi
    # Add shell
    /usr/bin/dscl -f "${targetVol}/var/db/dslocal/nodes/Default" localonly -append $databasePath UserShell "/bin/bash"
    if [ $? != 0 ]; then
    echo "Failed to set the UserShell."
    return 1
    fi
    # Create Home directory
    if [ -e "/System/Library/User Template/${8}.lproj/" ]; then
    /usr/bin/ditto "/System/Library/User Template/${8}.lproj/" "${targetVol}/Users/${3}"
    else
    /usr/bin/ditto "/System/Library/User Template/English.lproj/" "${targetVol}/Users/${3}"
    fi
    if [ $? != 0 ]; then
    echo "Failed to copy the User Template."
    return 1
    fi
    /usr/sbin/chown -R $i:$i "${targetVol}/Users/${3}"
    if [ $? != 0 ]; then
    echo "Failed to set ownership on the User folder."
    return 1
    fi
    # Copies a list of files (full paths contained in the file at $1) from source to the path specified in $2
    CopyEntriesFromFileToPath()
    local theFile="$1"
    local theDest="$2"
    local opt=""
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    opt="-v"
    fi
    while read FILE
    do
    if [ -e "${FILE}" ]; then
    local leafName=`basename "${FILE}"`
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Copying ${FILE}."
    fi
    /usr/bin/ditto $opt "${FILE}" "${theDest}/${leafName}" || return 1
    fi
    done < "${theFile}"
    return 0
    # Copies a list of packages (full path, destination pairs contained in the file at $1) from source to .../System/Installation/Packages/
    CopyPackagesWithDestinationsFromFile()
    local theFile="$1"
    local opt=""
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    opt="-v"
    fi
    while read FILE
    do
    if [ -e "${FILE}" ]; then
    local leafName=`basename "${FILE}"`
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Copying ${FILE}."
    fi
    read SUB_PATH
    /usr/bin/ditto $opt "${FILE}" "${mountPoint}/Packages/${SUB_PATH}${leafName}" || return 1
    fi
    done < "${theFile}"
    return 0
    # Create an installer package in ${1} wrapping the supplied script ${2}
    CreateInstallPackageForScript()
    local tempDir="$1"
    local scriptPath="$2"
    local scriptName=`basename "${scriptPath}"`
    local entryDir=`pwd`
    local opt=""
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Create installer for script ${scriptName}"
    opt="-v"
    fi
    # shouldn't exist on entry...
    if [ -e "${tempDir}/emptyDir" ]; then
    /bin/rm -rf "${tempDir}/emptyDir"
    fi
    # make some directories to work in
    /bin/mkdir $opt -p "${tempDir}/${scriptName}.pkg/Contents/Resources" || return 1
    /bin/mkdir $opt "${tempDir}/emptyDir" || return 1
    # Create Archive.pax.gz
    cd "${tempDir}/emptyDir"
    /bin/pax -w -x cpio -f "${tempDir}/${scriptName}.pkg/Contents/Archive.pax" .
    /usr/bin/gzip "${tempDir}/${scriptName}.pkg/Contents/Archive.pax"
    cd "${entryDir}"
    # Create the Archive.bom file
    /usr/bin/mkbom "${tempDir}/emptyDir/" "${tempDir}/${scriptName}.pkg/Contents/Archive.bom" || return 1
    # Create the Info.plist
    /bin/cat > "${tempDir}/${scriptName}.pkg/Contents/Info.plist" << END
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>CFBundleIdentifier</key>
    <string>com.apple.SystemImageUtility.${scriptName}</string>
    <key>CFBundleShortVersionString</key>
    <string>1</string>
    <key>IFMajorVersion</key>
    <integer>1</integer>
    <key>IFMinorVersion</key>
    <integer>0</integer>
    <key>IFPkgFlagDefaultLocation</key>
    <string>/tmp</string>
    <key>IFPkgFlagInstallFat</key>
    <false/>
    <key>IFPkgFlagIsRequired</key>
    <false/>
    <key>IFPkgFormatVersion</key>
    <real>0.10000000149011612</real>
    </dict>
    </plist>
    END
    echo "pkmkrpkg1" > "${tempDir}/${scriptName}.pkg/Contents/PkgInfo"
    echo "major: 1\nminor: 0" > "${tempDir}/${scriptName}.pkg/Contents/Resources/package_version"
    # Copy the script
    /bin/cp "$scriptPath" "${tempDir}/${scriptName}.pkg/Contents/Resources/postflight"
    # clean up
    /bin/rm -r "${tempDir}/emptyDir"
    return 0
    # Validate or create the requested directory
    CreateOrValidatePath()
    local targetDir="$1"
    if [ ! -d "${targetDir}" ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Creating working path at ${targetDir}"
    fi
    /bin/mkdir -p "${targetDir}" || return 1
    fi
    # If any exist, apply any user accounts
    CreateUserAccounts()
    # $1 volume whose local node database to modify
    local count="${#userFullName[*]}"
    local targetVol="${1}"
    if [ $count -gt 0 ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Adding $count user account(s) to the image"
    fi
    for ((index=0; index<$count; index++)); do
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Adding user ${userFullName[$index]}"
    fi
    #lay down user here
    AddLocalUser "${targetVol}" "${userFullName[$index]}" "${userUnixName[$index]}" "${userIsAdmin[$index]}" "${userPassword[$index]}" "${userPassHint[$index]}" "${userImagePath[$index]}" "${userLanguage[$index]}"
    if [ $? != 0 ]; then
    echo "Failed to create the User '${userUnixName[$index]}'."
    return 1
    fi
    #suppress the Apple ID request
    DisableAppleIDRequestForUser "${targetVol}" "${userUnixName[$index]}"
    done
    # "touch"
    /usr/bin/touch "${targetVol}/private/var/db/.AppleSetupDone"
    /usr/bin/touch "${targetVol}/Library/Receipts/.SetupRegComplete"
    fi
    # retry the hdiutil detach until we either time out or it succeeds
    retry_hdiutil_detach()
    local mount_point="${1}"
    local tries=0
    local forceAt=0
    local limit=24
    local opt=""
    forceAt=$(($limit - 1))
    while [ $tries -lt $limit ]; do
    tries=$(( tries + 1 ))
    /bin/sleep 5
    echo "Attempting to detach the disk image again..."
    /usr/bin/hdiutil detach "${mount_point}" $opt
    if [ $? -ne 0 ]; then
    # Dump a list of any still open files on the mountPoint
    if [ "${scriptsDebugKey}" == "DEBUG" ]; then
    /usr/sbin/lsof +fg "${mount_point}"
    fi
    if [ $tries -eq $forceAt ]; then
    echo "Failed to detach disk image at '${mount_point}' normally, adding -force."
    opt="-force"
    fi
    if [ $tries -eq $limit ]; then
    echo "Failed to detach disk image at '${mount_point}'."
    exit 1
    fi
    else
    tries=$limit
    fi
    done
    # Create the dyld shared cache files
    DetachAndRemoveMount()
    local theMount="${1}"
    local mountLoc=`mount | grep "${theMount}"`
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Detaching disk image"
    # Dump a list of any still open files on the mountPoint
    if [ "${scriptsDebugKey}" == "DEBUG" ]; then
    /usr/sbin/lsof +fg "${theMount}"
    fi
    fi
    # Finally detach the mount (if it's actually mounted) and dispose the mountPoint directory
    if [ "${mountLoc}" != "" ]; then
    /usr/bin/hdiutil detach "${theMount}" || retry_hdiutil_detach "${theMount}" || return 1
    fi
    /bin/rmdir "${theMount}" || return 1
    return 0
    # Turn off the Apple ID request that happens on first boot after installing the OS
    DisableAppleIDRequestForUser()
    local targetUserLib="${1}/Users/${2}/Library"
    # Only do this if the file doesn't exist
    if [ ! -e "${targetUserLib}/Preferences/com.apple.SetupAssistant.plist" ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Disabling Apple ID request for user '${2}'"
    fi
    /usr/libexec/PlistBuddy -c "Add :DidSeeCloudSetup bool 1" "${targetUserLib}/Preferences/com.apple.SetupAssistant.plist" > /dev/null 2>&1
    /usr/libexec/PlistBuddy -c "Add :LastSeenCloudProductVersion string 10.8" "${targetUserLib}/Preferences/com.apple.SetupAssistant.plist" > /dev/null 2>&1
    fi
    return 0
    # If the pieces exist, enable remote access for the shell image
    EnableRemoteAccess()
    local srcVol="${1}"
    local opt=""
    if [ -e "${srcVol}/usr/lib/pam/pam_serialnumber.so.2" ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Enabling shell image remote access support"
    opt="-v"
    fi
    # install some things (again which aren't part of BaseSystem) needed for remote ASR installs
    /usr/bin/ditto $opt "${srcVol}/usr/lib/pam/pam_serialnumber.so.2" "${mountPoint}/usr/lib/pam/pam_serialnumber.so.2" || return 1
    if [ -e "${srcVol}/usr/sbin/installer" ]; then
    /usr/bin/ditto $opt "${srcVol}/usr/sbin/installer" "${mountPoint}/usr/sbin/installer" || return 1
    fi
    # copy the sshd config and add our keys to the end of it
    if [ -e "${srcVol}/etc/sshd_config" ]; then
    /bin/cat "${srcVol}/etc/sshd_config" - > "${mountPoint}/etc/sshd_config" << END
    HostKey /private/var/tmp/ssh_host_key
    HostKey /private/var/tmp/ssh_host_rsa_key
    HostKey /private/var/tmp/ssh_host_dsa_key
    END
    fi
    fi
    return 0
    # If it exists, install the sharing names and/or directory binding support to the install image
    HandleNetBootClientHelper()
    local tempDir="${1}"
    local targetVol="${2}"
    local opt=""
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    opt="-v"
    fi
    if [ -e  "${tempDir}/bindingNames.plist" ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Installing Directory Service binding information"
    fi
    /usr/bin/ditto $opt "${tempDir}/bindingNames.plist" "${targetVol}/etc/bindingNames.plist" || return 1
    /usr/sbin/chown root:wheel "${targetVol}/etc/bindingNames.plist"
    /bin/chmod 644 "${targetVol}/etc/bindingNames.plist"
    fi
    if [ -e  "${tempDir}/sharingNames.plist" ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Installing Sharing Names support"
    fi
    /usr/bin/ditto $opt "${tempDir}/sharingNames.plist" "${targetVol}/etc/sharingNames.plist" || return 1
    /usr/sbin/chown root:wheel "${targetVol}/etc/sharingNames.plist"
    /bin/chmod 644 "${targetVol}/etc/sharingNames.plist"
    fi
    if [ -e  "${tempDir}/NetBootClientHelper" ]; then
    /usr/bin/ditto $opt "${tempDir}/NetBootClientHelper" "${targetVol}/usr/sbin/NetBootClientHelper" || return 1
    /usr/sbin/chown root:wheel "${targetVol}/usr/sbin/NetBootClientHelper"
    /bin/chmod 555 "${targetVol}/usr/sbin/NetBootClientHelper"
    /usr/bin/ditto $opt "${tempDir}/com.apple.NetBootClientHelper.plist" "${targetVol}/System/Library/LaunchDaemons/com.apple.NetBootClientHelper.plist" || return 1
    /usr/sbin/chown root:wheel "${targetVol}/System/Library/LaunchDaemons/com.apple.NetBootClientHelper.plist"
    /bin/chmod 644 "${targetVol}/System/Library/LaunchDaemons/com.apple.NetBootClientHelper.plist"
    # finally, make sure it isn't disabled...
    /usr/libexec/PlistBuddy -c "Delete :com.apple.NetBootClientHelper" "${targetVol}/var/db/launchd.db/com.apple.launchd/overrides.plist" > /dev/null 2>&1
    fi
    return 0
    # If any exist, install configuration profiles to the install image
    InstallConfigurationProfiles()
    local tempDir="${1}"
    local targetVol="${2}"
    local profilesDir="${targetVol}/var/db/ConfigurationProfiles"
    if [ -e  "${tempDir}/configProfiles.txt" ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Installing Configuration Profiles"
    fi
    /bin/mkdir -p "${profilesDir}/Setup" || return 1
    # Make sure the perms are correct
    /usr/sbin/chown root:wheel "${profilesDir}"
    /bin/chmod 755 "${profilesDir}"
    /usr/sbin/chown root:wheel "${profilesDir}/Setup"
    /bin/chmod 755 "${profilesDir}/Setup"
    /usr/bin/touch "${profilesDir}/.profilesAreInstalled"
    CopyEntriesFromFileToPath "${tempDir}/configProfiles.txt" "${profilesDir}/Setup" || return 1
    # Enable MCX debugging
    if [ 1 == 1 ]; then
    if [ -e  "${targetVol}/Library/Preferences/com.apple.MCXDebug.plist" ]; then
    /usr/libexec/PlistBuddy -c "Delete :debugOutput" "${targetVol}/Library/Preferences/com.apple.MCXDebug.plist" > /dev/null 2>&1
    /usr/libexec/PlistBuddy -c "Delete :collateLogs" "${targetVol}/Library/Preferences/com.apple.MCXDebug.plist" > /dev/null 2>&1
    fi
    /usr/libexec/PlistBuddy -c "Add :debugOutput string -2" "${targetVol}/Library/Preferences/com.apple.MCXDebug.plist" > /dev/null 2>&1
    /usr/libexec/PlistBuddy -c "Add :collateLogs string 1" "${targetVol}/Library/Preferences/com.apple.MCXDebug.plist" > /dev/null 2>&1
    fi
    fi
    # Converts a list of scripts (full paths contained in the file at $1) into packages in $3
    InstallScriptsFromFile()
    local tempDir="${1}"
    local theFile="${2}"
    local targetDir="${3}"
    local opt=""
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Converting scripts into install packages"
    opt="-v"
    fi
    while read FILE
    do
    if [ -e "${FILE}" ]; then
    # make an installer package out of the script
    CreateInstallPackageForScript "$tempDir" "${FILE}" || return 1
    # copy the resulting package to the Packages directory
    local leafName=`basename "${FILE}"`
    /usr/bin/ditto $opt "${tempDir}/${leafName}.pkg" "${targetDir}/${leafName}.pkg" || return 1
    # clean up
    /bin/rm -r "${tempDir}/${leafName}.pkg"
    fi
    done < "${theFile}"
    return 0
    # Prepare the source by deleting stuff we don't want to copy if sourcing a volume
    PostFlightDestination()
    local tempDir="${1}"
    local destDir="${2}"
    local opt=""
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Performing post install cleanup"
    opt="-v"
    fi
    # delete the DS indices to force reindexing...
    if [ -e "${mountPoint}/var/db/dslocal/indices/Default/index" ]; then
    /bin/rm $opt "${mountPoint}/var/db/dslocal/indices/Default/index"
    fi
    # detach the disk and remove the mount folder
    DetachAndRemoveMount "${mountPoint}"
    if [ $? != 0 ]; then
    echo "Failed to detach and clean up the mount at '${mountPoint}'."
    return 1
    fi
    echo "Correcting permissions. ${ownershipInfoKey} $destDir"
    /usr/sbin/chown -R "${ownershipInfoKey}" "$destDir"
    # Prepare the source by deleting stuff we don't want to copy if sourcing a volume
    PreCleanSource()
    local srcVol="$1"
    local opt=""
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    opt="-v"
    fi
    if [ -e "$srcVol/private/var/vm/swapfile*" ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Removing swapfiles on $1"
    fi
    /bin/rm $opt "$srcVol/private/var/vm/swapfile*"
    fi
    if [ -e "$srcVol/private/var/vm/sleepimage" ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Removing sleepimage on $1"
    fi
    /bin/rm $opt "$srcVol/private/var/vm/sleepimage"
    fi
    if [ -d "$srcVol/private/tmp" ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Cleaning out /private/tmp on $1"
    fi
    /bin/rm -r $opt "$srcVol/private/tmp/*" > /dev/null 2>&1
    fi
    if [ -d "$srcVol/private/var/tmp" ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Cleaning out /private/var/tmp on $1"
    fi
    /bin/rm -r $opt "$srcVol/private/var/tmp/*" > /dev/null 2>&1
    fi
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Cleaning out devices and volumes on $1"
    fi
    if [ -d "$srcVol/Volumes" ]; then
    /bin/rm -r $opt "$srcVol/Volumes/*" > /dev/null 2>&1
    fi
    if [ -d "$srcVol/dev" ]; then
    /bin/rm $opt "$srcVol/dev/*" > /dev/null 2>&1
    fi
    if [ -d "$srcVol/private/var/run" ]; then
    /bin/rm -r $opt "$srcVol/private/var/run/*" > /dev/null 2>&1
    fi
    # Copy kernel and build the kext cache on the boot image
    PrepareKernelAndKextCache()
    local srcDir="$1"
    local destDir="$2"
    local opt=""
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Preparing the kernel and kext cache for the boot image"
    opt="-v"
    fi
    # Insure the kext cache on our source volume (the boot shell) is up to date
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Updating kext cache on source volume"
    fi
    /usr/sbin/kextcache -update-volume "${srcDir}" || return 1
    # Copy the i386 and, if it exists, the x86_64 architecture
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Installing the kext cache to the boot image"
    fi
    # make sure this doesn't exist
    if [ -e "${destDir}/i386" ]; then
    /bin/rm -rf "${destDir}/i386"
    fi
    # Install kextcaches to the nbi folder
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Creating a kernelcache for the boot shell"
    fi
    /bin/mkdir -p $opt "${destDir}/i386/x86_64" || return 1
    /usr/sbin/kextcache -arch x86_64 -L -N -S -z -K "${srcDir}/mach_kernel" -c "${destDir}/i386/x86_64/kernelcache" "${srcDir}/System/Library/Extensions" || return 1

    I am seeing a very similar output trying to make a netrestore image of a 10.8.4 Macbook Air on a 10.8.4 Mac Mini running OSX Server.  Gets to 84% and then shows the -1 progress and then just hangs until I cancel it (I haven't tried leaving it over night but left it that way for hours).
    Did you ever figure out what was going on or have a workaround to create an image?
    Thanks!

  • System Image Utility Failing Error 2

    I've built my 10.9.4 gold image on a Macbook Pro, created the image with SIU and deployed successfully to the other Macbooks.   When I went to deploy to the iMacs we have I get the error OSX Could not be installed on your computer.  Did some research and found I needed to install the Combo update if I wanted to deploy to multiple hardware, so installed OSXUpdCombo10.9.4  into the gold machine. Now I can no longer import that with System Image Utility.
    System Image log looks like:
    "/Library/NetBoot/NetBootSP0/IMG-OXL-1094-All.nbi/System.dmg"
    created: /Library/NetBoot/NetBootSP0/IMG-OXL-1094-All.nbi/NetInstall.dmg
    ditto: can't get real path for source '/tmp/mnt_bs.aLkzKL2z/System/Library/CoreServices/PlatformSupport.plist'
    Execution of 'createRestoreFromSources.sh' failed. Cleaning up.
    "disk5" unmounted.
    "disk5" ejected.
    Failed to create image from restore source.
    The operation couldn’t be completed. (System Image Utility error 2.)
    Looks like this can happen if the version of Mavericks on the server and client don't match.  So I've installed the combo updater on the server for good measure.  Still getting the same error.
    Server reports it is running 10.9.4 (13E28),client says the same.
    Any idea where to look next?

    Went back through my notes, I read that you should run the 10.6 combo updater before trying to image, and somehow decided that meant 10.9 :/
    Thanks for the info, that makes sense.  I've had to make separate images for each model this round, but I'll add that info to my notes and do it right next time
    Jase

  • System Image Backup Failed During Backup

    I have a 2 year old HP pavilion g series notebook.  I was doing a system image backup onto dvd+r disks. It was nearly finished when on disk #99 I got this message "The Backup Failed. The system cannot find the path specified (0x80070003)  
    My computer is out of warranty and I'm out $60 in disks if they can't be used.  I need to know it there is a way to salvage what I saved and restart Image backup from where it left off?  
    Product: A6Z59UA #ABA
    Model: g61d60us
    This question was solved.
    View Solution.

    Hi CherylLyme,
    Welcome to the HP Forums!
    I would like to take a moment and thank you for using the forum, it is a great place to find answers.
    For you to have the best experience in the HP forum, I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
    I understand that you were doing an image backup and when it was nearly finished you received  the error (0x80070003).  Here is a link to a Microsoft answer to assist you. Windows backup error 0x80070003 ( Answered by Vinod N)
    I am unsure if you would be able to start again and pick up on disk 99, as once you have repaired it, it will have changed from when you first ran the backup.  The disk you used were not read, writeable, so you would not be able to reuse them.  You may find that an external drive would be a more economical way to do your backups. The data would be in one place and easier to store.  If you decide to use a USB stick it must not be more then 32GB and will not say Windows 8 on it.
    You can most likely purchase an External drive for about the cost of replacing the disks.  Here is a link to HP Shopping External storage , but you can purchase one at many places, computer shops, Staples,Walmart, and Office Depot are just a few.  I hope this helps.
    Sparkles1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

  • System Image Utility fails to create boot image

    I am not able to successfully build a boot image with the System Image Utility. The build starts and runs for about 1 minute and then I get 100's of ditto messages saying "No space left on device". There's plenty of space left on the device. Eventually I get a GUI message stating the there was an error creating the image. The image is of course unusable. This only happens on a Boot image. I have no problem making an install image from the same source. Is it just me??
    Xserve G5 Dual   Mac OS X (10.4.5)  

    I had simililar problems with much headscratching as the result.
    I found that whenever I tried to create a boot image with System Image Utility (SIU) using an image file of my existing system as the source SIU would fail with the annoying "No space left on device" message everytime. I did a little investigating and found that SIU always created a 400 MB disk image file to copy to. So the error message was correct as my source was way over 4 GB.
    I checked the manual and found the embarrasingly simple solution. It's not mentioned directly, rather it is stated that when you want to create an boot image from an existing system you should boot the machine containing the desired system on disk from an alternate source and the run SIU on that machine. The "trick" is that you're running SIU with the existing system mounted as a disk.
    So I went back to my Xserve, mounted the image so it appeared on the desktop. Ran SIU and chose the mounted volume as the source instead of the image file, and hey presto!
    MacBook Pro, Xserve, eMac, iMac... any Mac I can get my hands on   Mac OS X (10.4.6)  

  • System Image Restore can't see USB hard drive

    Hi
    I've just spent a day taking System Image backup images of three different hard drives. Well ok I didn't just sit and watch the bar move across the screen although it did hold up my computer. Anyway, what a waste of a day from my PC because
    when I try to restore using System Image backup from my USB drive, the USB drive cannot be found. I have followed the procedure on page 750 of Configuring Windows 7, 70-680 precisely.  I tried booting from an OS DVD and a Windows Repair
    DVD, but no USB drive.  I tried using a blank usb stick and that can't be found either. The USB drive can be seen when I logon to Windows to get the images on it. Might this be more to do with hardware such as adjusting BIOS boot settings,
    or updating BIOS firmware. There seems to be others with unresolved problems like this. Should I join them and buy Acronis instead?
    Tx

    Hi,
    Could you please check the following newsgroup posts for your answer. The posts lists different scenarios that might work for you.
    http://social.technet.microsoft.com/Forums/en-US/windowsbackup/thread/9a082b90-bd7c-46f8-9eb3-9581f9d5efdd
    http://social.technet.microsoft.com/Forums/en-US/windowsbackup/thread/11d8c552-a841-49ac-ab2e-445e6f95e704
    http://social.technet.microsoft.com/Forums/en-US/windowsbackup/thread/9a082b90-bd7c-46f8-9eb3-9581f9d5efdd
    Best Regards,
    Kim Zhou
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Thanks for sending me these links and I will check them out. I think I came across most of the answer on the following link although doubts are raised: 
    http://answers.microsoft.com/en-us/windows/forum/windows_7-system/windows-7-restore-from-image-wont-recognize/ce8e3d0a-236d-4eff-8370-c171d2dfa555?tm=1333929198413&page=1#footer
    Basically, I should have had three files on the external drive as follows:
    a.      A file named: MediaID.bin
    b.      A file that has the same named as your computer name (this is where the .zip files are located).
    c.      The 'System Image' folder named 'WindowsImageBackup'.
    By moving my backups into a folder out of the way and doing a fresh backup I prevented some confusion in the system. After this I could at last see the external drive and backup when doing a system image recovery. But how is
    it be possible to store more than one backup of hard drives on an external disk? The only way I know is by moving backups in and out of a folder which will take ages to do. Maybe I can rename the unused backups but this will get confusing
    because there are thee files to a backup and I think files are overwritten when doing backups if left in the route of the external drive. I is too easy to overwrite a backup of another drive by accident.

Maybe you are looking for

  • Is there a way to put the cursor at a specific location in a RichTextBox?

    Is there a way to put the cursor at a specific location in a RichTextBox? The following code places the cursor at the start of a RichTextBox:     RichTextBox RTbx     RTbx.Focus();     TextPointer tp = RTbx.CaretPosition;     tp = tp.DocumentStart;  

  • Fail to install ORACLE 8.1.6 on NT

    I am currently installing ORACLE 8.1.6 on NT4 SP6. Everything goes fine and start to install. At 11%, the installer locks showing the last file copied: "refcur.vbp" which have been copied to "samples" directory. The last lines written in the log file

  • Srm 70 BRF deadline monitoring BUS2201

    Dear SDN-ers, We are using SRM70 process controlled workflow. In my project we would like to use deadline monitoring on PO approval workitems. When we check the customising for deadline for events Business object BUS2201 does not contain any usable e

  • Hide Ribbon Bar for anonymous User

    how to  hide the ribbon bar from anonymous user 

  • Switching between 9i and 11g clients in Windows 7

    Is it possible to have both a 9i home and 11g home on Windows 7? I need to connect to a legacy 8i server with the 9i client. What I attempted: 1. I installed 9i, then installed 11g. 2. My connections to servers using the 11g home worked great. Connec