Windows 10: Convert Windows 10 from Legacy BIOS to UEFI without Data Loss

Discus and support Convert Windows 10 from Legacy BIOS to UEFI without Data Loss in Windows 10 Tutorials to solve the problem; How to: Convert Windows 10 from Legacy BIOS to UEFI without Data Loss How to Convert Windows 10 from Legacy BIOS to UEFI without Data Loss... Discussion in 'Windows 10 Tutorials' started by simrick, Apr 10, 2017.

  1. simrick Win User

    Convert Windows 10 from Legacy BIOS to UEFI without Data Loss


    How to: Convert Windows 10 from Legacy BIOS to UEFI without Data Loss

    How to Convert Windows 10 from Legacy BIOS to UEFI without Data Loss


    Starting in Windows 10 clean install Windows 10 or modifying or deleting data on the disk. The tool is designed to be run from a Windows Preinstallation Environment (Windows PE) command prompt, but can also be run from the full Windows 10 operating system (OS).

    If your PC or motherboard supports UEFI, then you could use the MBR2GPT tool to switch from a Legacy BIOS to UEFI Windows 10 installation without data loss.

    This tutorial will show you how to convert a Legacy BIOS Windows 10 installation using a MBR disk to a UEFI Windows 10 installation using a GPT disk without data loss.

    You will only be able to convert a UEFI firmware (BIOS) enabled.



    MBR2GPT syntax and options:

    MBR2GPT /validate|convert [/disk:<diskNumber>] [/logs:<logDirectory>] [/map:<source>=<destination>] [/allowFullOS]

    [table][tr]Option Description [/tr] [tr][td]/validate[/td] [td]Instructs MBR2GPT.exe to perform only the disk validation steps and report whether the disk is eligible for conversion.[/td] [/tr] [tr][td]/convert[/td] [td]Instructs MBR2GPT.exe to perform the disk validation and to proceed with the conversion if all validation tests pass.[/td] [/tr] [tr][td]/disk:<diskNumber>[/td] [td]Specifies the disk number of the disk to be converted to GPT. If not specified, the system disk is used. The mechanism used is the same as that used by the diskpart.exe tool SELECT DISK SYSTEM command.[/td] [/tr] [tr][td]/logs:<logDirectory>[/td] [td]Specifies the directory where MBR2GPT.exe logs should be written. If not specified, %windir% is used. If specified, the directory must already exist, it will not be automatically created or overwritten. The log file names are: diagerr.xml, diagwrn.xml, setuperr.log, and setupact.log.[/td] [/tr] [tr][td]/map:<source>=<destination>[/td] [td]Specifies additional partition type mappings between MBR and GPT. The MBR partition number is specified in decimal notation, not hexidecimal. The GPT GUID can contain brackets, for example: /map:42={af9b60a0-1431-4f62-bc68-3311714a69ad}. Multiple /map options can be specified if multiple mappings are required.[/td] [/tr] [tr][td]/allowFullOS[/td] [td]By default, MBR2GPT.exe is blocked unless it is run from Windows PE. This option overrides this block and enables disk conversion while running in the full Windows environment.[/td] [/tr] [/table]

    MBR2GPT Return Codes:

    [table][tr]Return Code Description [/tr] [tr][td]0[/td] [td]Conversion completed successfully.[/td] [/tr] [tr][td]1[/td] [td]Conversion was canceled by the user.[/td] [/tr] [tr][td]2[/td] [td]Conversion failed due to an internal error.[/td] [/tr] [tr][td]3[/td] [td]Conversion failed due to an initialization error.[/td] [/tr] [tr][td]4[/td] [td]Conversion failed due to invalid command-line parameters.[/td] [/tr] [tr][td]5[/td] [td]Conversion failed due to error reading the geometry and layout of the selected disk.[/td] [/tr] [tr][td]6[/td] [td]Conversion failed because one or more volumes on the disk is encrypted.[/td] [/tr] [tr][td]7[/td] [td]Conversion failed because the geometry and layout of the selected disk do not meet requirements.[/td] [/tr] [tr][td]8[/td] [td]Conversion failed due to error while creating the EFI system partition.[/td] [/tr] [tr][td]9[/td] [td]Conversion failed due to error installing boot files.[/td] [/tr] [tr][td]10[/td] [td]Conversion failed due to error while applying GPT layout.[/td] [/tr] [tr][td]100[/td] [td]Conversion to GPT layout succeeded, but some boot configuration data entries could not be restored.[/td] [/tr] [/table]

    If you dual boot Windows 10 with any other operating system, then do not use this tutorial. This tutorial is only meant for a standalone Windows 10 installation on a PC.

    If your Windows 10 OS disk is encrypted by BitLocker, then you will need to decrypt the OS disk before conversion. You will be able to encrypt the OS disk again after the conversion.
    The MBR2GPT tool can convert operating system disks that have earlier versions of Windows 10 installed, such as versions 1507, 1511, and 1607. However, you must run the tool while booted into Windows 10 version 1703 or later, and perform an offline conversion. It is recommended to update to the latest version (ex: 1703) version of Windows 10 instead, then perform the conversion.

    Offline conversion of system disks with earlier versions of Windows installed, such as Windows 7, 8, or 8.1 are not officially supported. The recommended method to convert these disks is to upgrade the operating system to Windows 10 first, then perform the conversion.

    Although disks configured with MBR-style partition can have up to four primary partitions, for this process to work the disk you want to convert can't have more than three partitions, because one allocation is needed to create the new UEFI system partition.


    Contents
    • Option One: To Convert Windows 10 from Legacy BIOS to UEFI in Windows 10
    • Option Two: To Convert Windows 10 from Legacy BIOS to UEFI at Boot


    Video: Shifting from BIOS to UEFI with the Windows 10 Creators Update MBR2GPT disk conversion tool








    OPTION ONE [/i] To Convert Windows 10 from Legacy BIOS to UEFI in Windows 10
    1 Open an elevated command prompt.

    2 Copy and past the mbr2gpt /convert /allowfullOS command into the elevated command prompt, and press Enter. (see screenshot below)

    3 When the conversion has successfully completed, you will need to boot to UEFI firmware settings, and switch the firmware to boot to UEFI mode instead of Legacy BIOS (CSM).

    You may need to read your PC's or motherboard's manual for its specific instructions on how to change this setting.



    Convert Windows 10 from Legacy BIOS to UEFI without Data Loss [​IMG]






    OPTION TWO [/i] To Convert Windows 10 from Legacy BIOS to UEFI at Boot
    1 Open a command prompt at boot.

    2 Copy and paste the mbr2gpt /convert command into the command prompt at boot, and press Enter. (see screenshot below)

    3 When the conversion has successfully completed, you will need to boot to UEFI firmware settings, and switch the firmware to boot to UEFI mode instead of Legacy BIOS (CSM).

    You may need to read your PC's or motherboard's manual for its specific instructions on how to change this setting.



    Convert Windows 10 from Legacy BIOS to UEFI without Data Loss [​IMG]


    That's it,
    Shawn


    Related Tutorials

    :)
     
    simrick, Apr 10, 2017
    #1

  2. Unsupported disk layout for UEFI firmware

    Yes. Windows now includes a utility to convert your MBR disk to GPT (which is what UEFI requires) without data loss.



    MBR2GPT.EXE is part of Windows 10 version 1703, which came out in Spring 2017. What version of Windows are you running now? It sounds like you are currently running in Legacy BIOS mode on a PC that is capable of UEFI BIOS mode.

    MBR2GPT
     
    Don Cuthbert, Apr 10, 2017
    #2
  3. Unsupported disk layout for UEFI firmware

    I will let him tell us the details, but it sounds to me like he is running setup.exe to upgrade Windows 10 from within running Windows. If he was running Legacy BIOS mode, he could not boot UEFI media and if he has switched to UEFI BIOS mode, his existing
    Windows 10 would not boot. If he is booting Windows install media and wants to upgrade, setup will say to run it from within Windows instead. I think that sometimes Windows setup detects a UEFI-capable PC, running in Legacy BIOS mode, and tries to force
    a switch to UEFI mode.

    In any event, he can run MBR2GPT to convert the drive without formatting or losing data. If he does not yet have version 1703 or greater of Windows 10, he can probably still boot with version 1709 install media and convert the disk to GPT using MBR2GPT.EXE.

    Even prior to the release of MBR2GPT, there were ways to convert back and forth, such as by booting a Ubuntu Live USB and running Gparted. I once made the mistake of converting my old Dell Legacy BIOS laptop hard drive to GPT and had to switch it back before
    I could boot Windows again. Gparted worked to fix that without losing anything.
     
    Don Cuthbert, Apr 10, 2017
    #3
  4. gdc88 Win User

    Convert Windows 10 from Legacy BIOS to UEFI without Data Loss

    hello, i'm getting this:

    Microsoft Windows [Version 10.0.15063]
    (c) 2017 Microsoft Corporation. All rights reserved.
    C:\WINDOWS\system32>MBR2GPT /validate /allowFullOS
    MBR2GPT: Attempting to validate disk 0
    MBR2GPT: Retrieving layout of disk
    MBR2GPT: Validating layout, disk sector size is: 512 bytes
    Cannot find OS partition(s) for disk 0
    please help
     
    gdc88, Apr 11, 2017
    #4
  5. Brink
    Brink New Member
    Brink, Apr 11, 2017
    #5
  6. gdc88 Win User
    gdc88, Apr 11, 2017
    #6
  7. Brink
    Brink New Member
    Brink, Apr 11, 2017
    #7
  8. gdc88 Win User

    Convert Windows 10 from Legacy BIOS to UEFI without Data Loss

    Startup Repair diagnosis and repair log---------------------------Last successful boot time: ‎4/‎12/‎2017 3:22:16 PM (GMT)Number of repair attempts: 2Session details---------------------------System Disk = \Device\Harddisk0Windows directory = H:\WINDOWSAutoChk Run = 0Number of root causes = 1Test Performed: ---------------------------Name: Check for updatesResult: Completed successfully. Error code = 0x0Time taken = 0 msTest Performed: ---------------------------Name: System disk testResult: Completed successfully. Error code = 0x0Time taken = 0 msTest Performed: ---------------------------Name: Disk failure diagnosisResult: Completed successfully. Error code = 0x0Time taken = 16 msTest Performed: ---------------------------Name: Disk metadata testResult: Completed successfully. Error code = 0x0Time taken = 0 msTest Performed: ---------------------------Name: Target OS testResult: Completed successfully. Error code = 0x0Time taken = 297 msTest Performed: ---------------------------Name: Volume content checkResult: Completed successfully. Error code = 0x0Time taken = 0 msTest Performed: ---------------------------Name: Boot manager diagnosisResult: Completed successfully. Error code = 0x0Time taken = 0 msTest Performed: ---------------------------Name: System boot log diagnosisResult: Completed successfully. Error code = 0x0Time taken = 0 msTest Performed: ---------------------------Name: Event log diagnosisResult: Completed successfully. Error code = 0x0Time taken = 16 msTest Performed: ---------------------------Name: Internal state checkResult: Completed successfully. Error code = 0x0Time taken = 0 msTest Performed: ---------------------------Name: Check for pending package installResult: Completed successfully. Error code = 0x0Time taken = 1281 msTest Performed: ---------------------------Name: Boot status testResult: Completed successfully. Error code = 0x0Time taken = 0 msRoot cause found: ---------------------------Boot status indicates that the OS booted successfully.------------------------------------------------------Session details---------------------------System Disk = \Device\Harddisk0Windows directory = H:\WINDOWSAutoChk Run = 0Number of root causes = 1Test Performed: ---------------------------Name: Check for updatesResult: Completed successfully. Error code = 0x0Time taken = 0 msTest Performed: ---------------------------Name: System disk testResult: Completed successfully. Error code = 0x0Time taken = 0 msTest Performed: ---------------------------Name: Disk failure diagnosisResult: Completed successfully. Error code = 0x0Time taken = 0 msTest Performed: ---------------------------Name: Disk metadata testResult: Completed successfully. Error code = 0x0Time taken = 0 msTest Performed: ---------------------------Name: Target OS testResult: Completed successfully. Error code = 0x0Time taken = 281 msTest Performed: ---------------------------Name: Volume content checkResult: Completed successfully. Error code = 0x0Time taken = 250 msTest Performed: ---------------------------Name: Boot manager diagnosisResult: Completed successfully. Error code = 0x0Time taken = 0 msTest Performed: ---------------------------Name: System boot log diagnosisResult: Completed successfully. Error code = 0x0Time taken = 0 msTest Performed: ---------------------------Name: Event log diagnosisResult: Completed successfully. Error code = 0x0Time taken = 16 msTest Performed: ---------------------------Name: Internal state checkResult: Completed successfully. Error code = 0x0Time taken = 0 msTest Performed: ---------------------------Name: Check for pending package installResult: Completed successfully. Error code = 0x0Time taken = 1484 msTest Performed: ---------------------------Name: Boot status testResult: Completed successfully. Error code = 0x0Time taken = 0 msRoot cause found: ---------------------------Boot status indicates that the OS booted successfully.------------------------------------------------------
     
    gdc88, Apr 11, 2017
    #8
  9. gdc88 Win User
    in addition, i had to start the diagnostic through usb - in my troubleshot doesn't appear "Startup Repair"

    thank you
     
    gdc88, Apr 11, 2017
    #9
  10. Brink
    Brink New Member
    It looks like the issue is that you not have a working recovery partition. That would also be why "Startup Repair" wasn't available unless you booted from the Windows 10 installation USB.
     
    Brink, Apr 11, 2017
    #10
  11. gdc88 Win User
    is there any way to recover it?

    * already tried backup restore from my laptop - but it didn't work
     
    gdc88, Apr 11, 2017
    #11
  12. Brink
    Brink New Member
    Short of doing a clean install, I'm not sure. *Sad
     
    Brink, Apr 11, 2017
    #12
  13. simrick Win User

    Convert Windows 10 from Legacy BIOS to UEFI without Data Loss

    There might be a way:
    Do a Macrium image of your C partition (verified).
    Clean install Windows.
    Boot to Macrium and copy the image of C back over the clean install C partition.
    That will get your partitions back to where they need to be.

    What do you think Brink?
     
    simrick, Apr 11, 2017
    #13
  14. gdc88 Win User
    tried with acronis - backup ed the recovery partition and restored

    took it from my fujitsu lifebook - everything work on it

    on my pc not*Sad
     
    gdc88, Apr 11, 2017
    #14
  15. Brink
    Brink New Member
    Brink, Apr 11, 2017
    #15
Thema:

Convert Windows 10 from Legacy BIOS to UEFI without Data Loss

Loading...
  1. Convert Windows 10 from Legacy BIOS to UEFI without Data Loss - Similar Threads - Convert Legacy BIOS

  2. Convert Mid-2011 iMac from UEFI to Legacy BIOS.

    in Windows 10 Drivers and Hardware
    Convert Mid-2011 iMac from UEFI to Legacy BIOS.: Hello! I have a mid-2011 iMac with which I am dual booting windows 10 and macOS high sierra. Since it is not compatible with bootcamp, I made a bootable usb drive and used that instead. This all worked very well except for that Windows does not recognize my sound card. I...
  3. BIOS mode as Legacy or UEFI?

    in Windows 10 Installation and Upgrade
    BIOS mode as Legacy or UEFI?: My Windows 10 says its BIOS mode is Legacy with C drive partition as MBR. Is it worth switching to UEFI mode with C drive as GPT partition? Why does it seem so difficult to install to UEFI mode with GPT partition? You do not get an option to choose when you install windows 10...
  4. Changing from Legacy Bios to UEFI, settings in bios and Windows 10

    in Windows 10 Installation and Upgrade
    Changing from Legacy Bios to UEFI, settings in bios and Windows 10: I used the Windows converting program MBR2GPT.exe to convert my SSD to GPT and it reported it had done it. I then rebooted and entered the bios and changed one setting from Legacy ROM to EFI Compatible ROM and another setting called 'UEFI Boot' from Disabled to Enabled and...
  5. Convert legacy bios to uefi on old fashioned install

    in Windows 10 Installation and Upgrade
    Convert legacy bios to uefi on old fashioned install: I know to convert legacy bios to uefi using mbr2gpt IF the legacy bios has a separate system partition but it does not work for old fashioned legacy bios installs where there is not a separate partition. I also know how to do it the older way with Macrium Reflect i.e. image...
  6. Convert legacy bios to uefi on old fashioned install

    in Windows 10 Support
    Convert legacy bios to uefi on old fashioned install: I know to convert legacy bios to uefi using mbr2gpt IF the legacy bios has a separate system partition but it does not work for old fashioned legacy bios installs where there is not a separate partition. I also know how to do it the older way with Macrium Reflect i.e. image...
  7. EFI, UEFI, Legacy BIOS.......

    in Windows 10 Installation and Upgrade
    EFI, UEFI, Legacy BIOS.......: This weekend I will try to do a clean install of Win 10 again, from Win 7. Have to try som new methods to see if I can get my computer running flawlessly with Windows 10. I will use the clean install tutorials from this forum. I hav two options, with or without UEFI...
  8. Converting an mbr install to UEFI without loss of data.

    in Windows 10 Installation and Upgrade
    Converting an mbr install to UEFI without loss of data.: Just seen a well presented video that shows how to convert an mbr based installation of windows to a UEFI based install without reinstalling OS and losing data. Convert Windows 7/8/10 Installation from Legacy to UEFI Without Data Loss (Simpler Method) - YouTube...
  9. Convert FAT32 to NTFS without Data Loss in Windows

    in Windows 10 Tutorials
    Convert FAT32 to NTFS without Data Loss in Windows: How to: Convert FAT32 to NTFS without Data Loss in Windows How to Convert FAT32 to NTFS without Data Loss in Windows [img] Information FAT32 (File Address Table 32) and NTFS (New Technology File System) are two different file systems that can be used to format a...
  10. Convert NTFS to FAT32 without Data Loss in Windows

    in Windows 10 Tutorials
    Convert NTFS to FAT32 without Data Loss in Windows: How to: Convert NTFS to FAT32 without Data Loss in Windows How to Convert NTFS to FAT32 without Data Loss in Windows [img] Information FAT32 (File Address Table 32) and NTFS (New Technology File System) are two different file systems that can be used to format a...

Users found this page by searching for:

  1. convert legacy to uefi windows 10 without data loss

    ,
  2. lenovo convert to efi bios without losing any data

    ,
  3. how to convert from uefi to legacy without losing data

    ,
  4. legacy to uefi without data loss