Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: System migration from MBR to UEFI

27 Oct 2019   #21
goopy

Windows 7 Ultimate x86
 
 

Quote   Quote: Originally Posted by Vineet Garg View Post
Greetings Vineet Garg. Thanks for the link.

1. Were you able to get bcdboot working under W7?
Code:
bcdboot c:\windows /s s: /f UEFI
A number of users commented this could not be executed under W7. Is this true?

2. Did you get a chance to try the gptgen tool mentioned in the post? How reliable is it?
gptgen download | SourceForge.net

Many thanks and best regards,


My System SpecsSystem Spec
.
28 Oct 2019   #22
Vineet Garg

Windows 7 Ultimate x32 With Sp1 + Vista Ultimate x32 with Sp1 & Sp2 !!
 
 

@goopy : Greets,

1.
Quote:
Did you get a chance to try the gptgen tool mentioned in the post?
Sorry, Can't say anything, Its just an M$ link for me as for you.

2.
Quote:
Were you able to get bcdboot working under W7?
Code:
bcdboot c:\windows /s s: /f UEFI
(i) I assume that the Main OS Partition is already applied to the disk & It has the BCD-Template file i.e. %WINDIR%\System32\Config\BCD-Template file. For me its D:\Windows\System32\Config\BCD-Template file. Please check if its there. It seems bcdboot looks for it.

(ii) It will definitely work. Both bcdboot c:\windows /s s: & bcdboot c:\windows /s s: /f UEFI will work.

3. Why you want to run bcdboot ? Are you not able to boot into the OS ? or you have recreated the EFI partition & want to add boot data to it ? or you want to change the disk the boot data & entry is picked from ?

Let me know.

Thanks & Regards. ...
My System SpecsSystem Spec
28 Oct 2019   #23
goopy

Windows 7 Ultimate x86
 
 

Quote   Quote: Originally Posted by Vineet Garg View Post
....
(ii) It will definitely work. Both bcdboot c:\windows /s s: & bcdboot c:\windows /s s: /f UEFI will work.
...
Greetings Vineet Garg.
So you managed to run bcdboot successfully in W7?
My System SpecsSystem Spec
.

28 Oct 2019   #24
Vineet Garg

Windows 7 Ultimate x32 With Sp1 + Vista Ultimate x32 with Sp1 & Sp2 !!
 
 

Quote   Quote: Originally Posted by goopy View Post
So you managed to run bcdboot successfully in W7?
@goopy :

1. Yes it worked for me. I booted into the Win 7 SP1 x64 UEFI+GPT Pen drive Installation Media, Launched Command Prompt ( Repair Your Computer ) from there & Ran bcdboot c:\windows /s s: ( for me : bcdboot d:\windows /s z: )

2. I assume that you are not booted in the Win 7 disk ( where you are planning the changes ) & trying that from there!

3.You can also do that from the Win 10 ( already installed on your system on another disk!) supplying correct Disk no., etc. ( preferably checked from Command Prompt )

Thanks & Regards. ...
My System SpecsSystem Spec
29 Oct 2019   #25
goopy

Windows 7 Ultimate x86
 
 

Quote   Quote: Originally Posted by Vineet Garg View Post
.....
1.Yes it worked for me. I booted into the Win 7 SP1 x64 UEFI+GPT Pen drive Installation Media, Launched Command Prompt ( Repair Your Computer ) from there & Ran bcdboot c:\windows /s s: ( for me : bcdboot d:\windows /s z: ). ...
Greetings Vineet Garg.
Just run bcdboot from W7, not form installation media.
You can make an empty EFI partition on a blank GPT disk and assign letter S:. Then run the following and see if it works.
Code:
bcdboot c:\windows /s s:
Many thanks and best regards,
My System SpecsSystem Spec
29 Oct 2019   #26
Vineet Garg

Windows 7 Ultimate x32 With Sp1 + Vista Ultimate x32 with Sp1 & Sp2 !!
 
 

@goopy: Greets,

1.
Quote:
Just run bcdboot from W7, not from installation media.
Anyway you run, The idea is to sit outside of the disk, you want to apply changes on! Not that booted into the same disk & trying to apply the changes on it.

2.
Quote:
You can make an empty EFI partition on a blank GPT disk and assign letter S:
(i) I agree you can assign S: but the thing is to make sure that EFI System Partition is assigned a drive letter. It will not matter whether you assign S: or Z:
(ii) Once the boot data is kept on it & all is well, It should drop the drive letter on the next boot or has to be made so manually.
(iii)but... what do you mean by blank GPT disk ? I assume that the GPT disk has the OS partition! Otherwise you will be adding boot menu to the empty GPT drive for an OS partition which is existing on some other disk!

3.
Quote:
Then run the following and see if it works. bcdboot c:\windows /s s:
I assume that c: has been replaced by the proper volume letter of the OS in concern. Ideally, c: would be referring to the OS, you are booted in.

Thanks & Regards. ...
My System SpecsSystem Spec
29 Oct 2019   #27
Vineet Garg

Windows 7 Ultimate x32 With Sp1 + Vista Ultimate x32 with Sp1 & Sp2 !!
 
 

@goopy : Greets,

It's getting very difficult to help you without Disks view from MiniTool Partition Wizard. I hope you understand.

Thanks & Regards. ...
My System SpecsSystem Spec
.
2 Weeks Ago   #28
goopy

Windows 7 Ultimate x86
 
 

Greetings.

MBR/GPT conversion: a summary

1. In place conversion
There are 2 tools that claim to perform in place conversion of MBR system to UEFI, mbr2gpt and gptgen. However, due to lack of endorsements from forum members, it is suggested the safer method of system migration to a new drive be used.


2. System migration
The idea is simple: prepare the desired partition layout on the target drive, restore the system image to the target partition, and add a boot entry.

(2a) Here are two MS guides to help you with MBR/GPT partition layout creation on a blank drive. In this example, the target system partition is assigned the letter S, and target OS partition W.

BIOS/MBR-based hard drive partitions | Microsoft Docs
UEFI/GPT-based hard drive partitions | Microsoft Docs

(2b) Use the tool of your choice to backup the source OS partition, and restore the image to the blank W partition. Remember not to enable any option to restore boot entry.

(2c) Run the following using elevated command prompt:
Code:
bcdboot W:\Windows /s S:
The W7 version of bcdboot tool is deprecated so you'll need the W10 version. It can be found in the latest 1909 ISO.

3. DISM++
If playing with bcdboot is not your cup of tea, DISM++ is a versatile tool that combines system image backup/restoration/boot entry creation, and more, in a single package. Highly recommended.

4. Anything else?
Well, there's no Recovery Environment on the new drive. SIW is the man to go to if you need to find out more. Or better still, if you know how it is done, your contribution here would be much appreciated.

Many thanks and best regards,
My System SpecsSystem Spec
2 Weeks Ago   #29
Vineet Garg

Windows 7 Ultimate x32 With Sp1 + Vista Ultimate x32 with Sp1 & Sp2 !!
 
 

@goopy
Greets,
Thanks for the wonderful write up!
Glad to know that you have resolved the problems on your own.

I don't know how to create / write Recovery Environment to an internal disk. So, i can't help you with that right now.

To All

There are somethings to mention :

1. The desired GPT partition layout for win 7 & 8 is mentioned here

2. GPT partition layout for Win 7 & 8 :

(i) The default config is :

System migration from MBR to UEFI-gpt-default-config.png

It is the configuration that is made / achieved by a normal installation, begun on an unallocated GPT drive.

(ii) but the recommended is :

System migration from MBR to UEFI-gpt-recommended-config.png

It is supplied by OEMs & needs some extra steps to be made so.

3. To avoid any problems, the drive letter assigned to EFI partition, is dropped automatically after Boot data is written to it. If not, it should be done so manually.

4. If one is not easy with command line options,

(i) he can use "DiskGenius" to make EFI, MSR & OS partitions. It can create EFI and/ or MSR partitions straight away!

(ii) After making the partitions, one can apply the disk image of C: ( the main OS partition ) to the planned GPT OS partition. I like to use Macrium Reflect for that.

(iii) Then he can boot into a Win 7/8/8.1 UEFI + GPT Installation / System repair disk & run Startup Repair consecutively for three times. It will automatically write the boot data to EFI partition & make the OS bootable.

5. Well, there's no Recovery Environment on the new drive.

Thanks for the info. I suppose you are talking about MBR's OEM Recovery Partition. It will need some extra steps.

Thanks & Regards. ...


My System SpecsSystem Spec
Reply

 System migration from MBR to UEFI




Thread Tools




Similar help and support threads
Thread Forum
Random BSODs after system migration to new case
Hello all, I just moved the components of my rig into a new case (Phanteks Enthoo Evolv ATX), and have now begun to experience BSODs randomly. BlueScreenView seems to suggest that hal.dll is somehow responsible, which I doubt. Anyway, the system worked well before the migration, so I thinking the...
BSOD Help and Support
Cloning System Reserved Partition to Samsung SSD - Migration Software
Greetings, Has anyone got a Samsung SSD contact email or help forum? I am about to clone my Windows 7 HDD to Samsung SDD EVO 850. I cannot find any info how to cope woth two Windows existing partitions - System Reserved and the main one - C:. Does Samsung Migration software clone...
Hardware & Devices
WLM 2012 Migration to new system from HD image
I am looking for the best route to do a Windows Live Mail 2012 from "windows essentials," migration of email, contacts and accounts. First, NO "live messenger" login is used, so all this stuff is resident on the old disk image. No part of the "live/online/cloud" portion of this is used. It...
Browsers & Mail
Changing a Legacy system to UEFI
Say I install Windows as Legacy, can I later change it to UEFI? Or doing so will require another clean install? Thanks.
Installation & Setup
Hibernate/volmgr/crashdump disk problem after migration to new system
I recently migrated from my aged old box to a shiny new system, but though most of the migration went flawlessly there's two glaring and possibly related problems: crash dumps appear to be broken and I cannot hibernate. The computer is a little confused about its capabilities according to...
Hardware & Devices


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 23:52.
Twitter Facebook