Macrium Reflect restore to new device.

Discussion in 'backup, imaging & disk mgmt' started by nix30101, May 25, 2024.

  1. nix30101

    nix30101 Registered Member

    Joined:
    May 25, 2024
    Posts:
    13
    Location:
    30101
    I am running diskrestore to restore an image to a new device. I can get it to restore the image from the GUI and both drives are GPT. when I try to run the diskrestore.exe from the cmd line from my script it throws the error Failed to update the MBR on the target disk.
     
  2. TheRollbackFrog

    TheRollbackFrog Imaging Specialist

    Joined:
    Mar 1, 2011
    Posts:
    4,997
    Location:
    The Pond - USA
    If it works from the GUI, why do you need to try and use the Command Line to go beyond that?
     
  3. nix30101

    nix30101 Registered Member

    Joined:
    May 25, 2024
    Posts:
    13
    Location:
    30101
    i am calling diskrestore.exe from the cmd line in my imaging script on winpe. it is a customized GUI. built for non-IT workers to use
     
    Last edited: May 25, 2024
  4. Stupendous Man

    Stupendous Man Registered Member

    Joined:
    Aug 1, 2010
    Posts:
    2,898
    Location:
    the Netherlands
    If your drives are GPT, it seems odd that you get an error "Failed to update the MBR". Is there any chance there could be an error in your script regarding GPT and MBR?
    That's the only thought I can offer, as I have no experience with Macrium Reflect.
     
  5. nix30101

    nix30101 Registered Member

    Joined:
    May 25, 2024
    Posts:
    13
    Location:
    30101
    I thought it might be because the device I am restoring to uses a UFS drive as I had some trouble booting to my WINpe because of it but I can image other devices with the same script. Yes both drives are GPT as well.I run diskpart clean before the restore as well.
     
    Last edited: May 25, 2024
  6. nix30101

    nix30101 Registered Member

    Joined:
    May 25, 2024
    Posts:
    13
    Location:
    30101
    just tried a simple Powershell script that calls the diskrestore.exe and points towards the restore image same result."intializing Failed to update MBR "
     
  7. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,281
    Location:
    NSW, Australia
    After doing Diskpart clean, do you create a GPT disk prior to running your restore script?
     
  8. nix30101

    nix30101 Registered Member

    Joined:
    May 25, 2024
    Posts:
    13
    Location:
    30101
    Indeed as well as primary partition and efi partition
     
  9. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,281
    Location:
    NSW, Australia
  10. nix30101

    nix30101 Registered Member

    Joined:
    May 25, 2024
    Posts:
    13
    Location:
    30101
    tried everything mentioned on that page lots of good information but no dice still failed to update the MBR on the target disk. These are all GPT disk as well..ran diskpart clean so even diskid were 00000000. I'm at a loss the GUI work perfectly well to restore
     
    Last edited: May 26, 2024
  11. nix30101

    nix30101 Registered Member

    Joined:
    May 25, 2024
    Posts:
    13
    Location:
    30101
    Any input would be appreciated thanks.
     
  12. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,281
    Location:
    NSW, Australia
    Strange message as the MBR plays no part in a UEFI system. You can zero the Disk Signature and the partition drive letters don't change. You can zero half the MBR boot code and the OS still boots.
     
  13. nix30101

    nix30101 Registered Member

    Joined:
    May 25, 2024
    Posts:
    13
    Location:
    30101
    yes indeed..I've run diskpart clean formated the drive to GPT assigned a letter so it had a specific diskID pointed diskrestore to that specific diskID still get the error.
     
  14. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,281
    Location:
    NSW, Australia
    Does diskrestore.exe let you restore to a blank disk? A disk where you have just run "clean".
     
  15. nix30101

    nix30101 Registered Member

    Joined:
    May 25, 2024
    Posts:
    13
    Location:
    30101
    No Sir ..ran the diskpart clean still have the same error :(
     
  16. nix30101

    nix30101 Registered Member

    Joined:
    May 25, 2024
    Posts:
    13
    Location:
    30101
    would the issue be because the image was taken from a 4k drive and the target is 512 possibly? although it does run in the GUI perfectly fine.
     
  17. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,281
    Location:
    NSW, Australia
  18. nix30101

    nix30101 Registered Member

    Joined:
    May 25, 2024
    Posts:
    13
    Location:
    30101
    Mercy going down the rabbit hole..the reflect.exe GUI work fine at least
     
  19. nix30101

    nix30101 Registered Member

    Joined:
    May 25, 2024
    Posts:
    13
    Location:
    30101
    Update: update might have figure this one out using diskrestore.exe and the xml files for autorestore in my script. It was the sector sizes being different on the UFS drive image as related to a nvme image. 4k vs 512. In the GUI this translation I assume is run in the background..in the diskrestore.exe with xml file it needs to be implemented manually thru a script. Start with a 512 image and convert the sectors to be available to the 4k drive using the parameters in the XML file.
     
  20. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,281
    Location:
    NSW, Australia
    Are the sectors 4K native or 4K Advanced format?
     
  21. nix30101

    nix30101 Registered Member

    Joined:
    May 25, 2024
    Posts:
    13
    Location:
    30101
    I believe they are 4k AF
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.