two similar computers, 1 MBR, 1 UEFI -- copy OS to EFI


  1. Posts : 11,247
    Windows / Linux : Arch Linux
       #1

    two similar computers, 1 MBR, 1 UEFI -- copy OS to EFI


    Hi folks
    Have a sony VAIO and HP laptop -- almost same hardware OK newer i5 processor on HP and USB3 support but about 95% of hardware is similar.

    Instead of clean install on the HP machine (it's activated with digital license so no piracy involved) I'd like to clone the Sony W10 to the HP machine.

    I've done quite a few of these between much more different hardware machines e.g from AMD with Radeon graphics to Intel with Intel graphics and usually all work --BUT that's from EFI---EFI machines.

    Is there an easy way to copy from MBR OS to EFI OS without having to re-install everything. I have the usual tools - Macrium, KYHI, Partition managers etc but can't seem to find any decent method of doing this.

    Help here appreciated

    (another reason for wanting to do this - have a few apps and accounts where I've totally lost passwords and activation keys so would get into a mess if I re-installed on target machine. Sony will then be wiped and donated to a local charity).

    thanks everybody

    Cheers
    jimbo
      My Computer


  2. Posts : 14,021
    Win10 Pro and Home, Win11 Pro and Home, Win7, Linux Mint
       #2

    The problem with the difference in the drives is the OS has to be installed to set the drive up unless you were using identical 'formatting', MBR to MBR or UEFI to UEFI. And the newer machine needs different drivers for the onboard/built-in devices. A clean install would be the most reliable way to go.
      My Computers


  3. Posts : 15,491
    Windows10
       #3

    Yeah dead easy - done it load of times.

    1) make Macrium image backup of mbr drive to a usb hard drive

    2) Boot from Macrium Rescue drive on UEFI pc, and select command prompt in corner

    3) run diskpart and type following

    diskpart

    list disk

    select disk n (n is number of drive - usually 0 if only drive)

    clean

    convert mbr

    exit

    exit

    3) Restore image to EUFI pc

    4) boot from a Windows 10 installation drive and run mbr2gpt

    Restrictions - mbr install must only have three primarypartitions and no logical partitions

    MBR2GPT | Microsoft Docs

    Convert Windows 10 from Legacy BIOS to UEFI without Data Loss | Windows 10 Tutorials

    5) If you have Macrium Reflect Home, I recommend you boot from MR again and run the redeploy option as well, and may need to run the "fix windows boot problems" option as well (can run this from Free as well)
    Last edited by cereberus; 01 Sep 2018 at 12:15.
      My Computer


  4. Posts : 18,432
    Windows 11 Pro
       #4

    @cereberus method is one way of doing it. It's also dead easy to make your own EFI System Partition. Booting from a Macrium Reflect rescue disk, open the command prompt.
    diskpart
    list disk
    select disk # <-replace # with the actual number of the new computer's internal drive, should be 0
    clean
    convert gpt
    create pri part size=100
    format fs=fat32 quick
    assign letter=T
    exit
    exit

    Then restore only the C: drive partition from the image to the remainder of the drive. Note which drive letter it gets assigned. We will say it gets assigned drive letter E:. Go back to command prompt:

    bcdboot E:\Windows /s T: /f UEFI
    exit

    That should be it.
      My Computer


  5. Posts : 11,247
    Windows / Linux : Arch Linux
    Thread Starter
       #5

    cereberus said:
    Yeah dead easy - done it load of times.

    1) make Macrium image backup of mbr drive to a usb hard drive

    2) Boot from Macrium Rescue drive on UEFI pc, and select command prompt in corner

    3) run diskpart and type following

    diskpart

    list disk

    select disk n (n is number of drive - usually 0 if only drive)

    clean

    convert mbr

    exit

    exit

    3) Restore image to EUFI pc

    4) boot from a Windows 10 installation drive and run mbr2gpt

    Restrictions - mbr install must only have primary partitions an no logical partitions

    MBR2GPT | Microsoft Docs

    Convert Windows 10 from Legacy BIOS to UEFI without Data Loss | Windows 10 Tutorials

    5) If you have Macrium Reflect Home, I recommend you boot from MR again and run the redeploy option as well, and may need to run the "fix windows boot problems" option as well (can run this from Free as well)
    Hi there
    thanks
    working an absolute treat

    Drivers etc aren't an issue I'm surprised people ever mention that any more as W10 is great at finding those -- and in this instance about 95% of components are identical !!! just in the HP slightly newer -- and I've done EFI-->EFI from widly dissimilar systems.

    Update

    Machine just booted up fine -- fast SSD's this stuff doesn't take long

    Thanks.

    @NavyLCDR - thanks also for that suggestion - always great to have more than 1 solution -- but already fixed now so marking this thread as solved

    Cheers
    jimbo
      My Computer


  6. Posts : 15,491
    Windows10
       #6

    NavyLCDR said:
    @cereberus method is one way of doing it. It's also dead easy to make your own EFI System Partition. Booting from a Macrium Reflect rescue disk, open the command prompt.
    diskpart
    list disk
    select disk # <-replace # with the actual number of the new computer's internal drive, should be 0
    clean
    convert gpt
    create pri part size=100
    format fs=fat32 quick
    assign letter=T
    exit
    exit

    Then restore only the C: drive partition from the image to the remainder of the drive. Note which drive letter it gets assigned. We will say it gets assigned drive letter E:. Go back to command prompt:

    bcdboot E:\Windows /s T: /f UEFI
    exit

    That should be it.
    I have used this as well but sometimes I find I have to run the Macrium "fix windows boot problems" afterwards. Never worked out why it work sometimes, and others not - guess it is in the "life's a B*t*h" category.
      My Computer


  7. Posts : 15,491
    Windows10
       #7

    jimbo45 said:
    Hi there
    thanks
    working an absolute treat

    Drivers etc aren't an issue I'm surprised people ever mention that any more as W10 is great at finding those -- and in this instance about 95% of components are identical !!! just in the HP slightly newer -- and I've done EFI-->EFI from widly dissimilar systems.

    Update

    Machine just booted up fine -- fast SSD's this stuff doesn't take long

    Thanks.

    @NavyLCDR - thanks also for that suggestion - always great to have more than 1 solution -- but already fixed now so marking this thread as solved

    Cheers
    jimbo
    Most of the time, this is true re. drivers but my laptop always hangs due to the standard SATA controller being installed, and for some reason my AMD PC throws a wobbler. Macrium Redeploy sorts it out.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 12:48.
Find Us




Windows 10 Forums