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

3 Weeks Ago   #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
.
3 Weeks Ago   #22
Vineet Garg

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

@goopy : Greets,

Warning :
1. If you are having two or more disks connected, make sure that you fill & apply the correct volume letters checked by command prompt!
2. If you decide to detach any disks, detach them before proceeding because the volume letters can change on disconnection


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.

(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 ?

4. The command : bcdboot c:\windows /s s:
For me the working command is bcdboot d:\windows /s z:
Because I have d: showing as the OS partition in command prompt & z: is the letter I assigned to the EFI System Partition.

[[[ Preparation : Boot Into an Win 7/8/10 Installation Media ( Preferably UEFI+GPT here!) & Launch Command prompt from there. You can also do that from Kyhi Sir's Win 10 PESE.]]]

(i)In command prompt, make sure what's the volume letter for the OS in concern on the concern disk.

Diskpart
List Volume

( Note down the volume letter for the Main OS partition. Take care: it will list volumes/partitions from all the disks! For me its D:)

EXIT

(ii) Assigning Drive letter to EFI System Partition : It's not assigned a letter by itself! So, we have to assign a letter to it. So that the command can recognize the EFI System Partition. I am assigning z:.

Diskpart
List disk
Select Disk 1


(The disk for me is 1 )

List partition
Select Partition 1


(for me the EFI System partition is mentioned as 1 )

assign letter=z
Exit


(iii) bcdboot c:\windows /s s:
For me :
bcdboot d:\windows /s z:
EXIT

(iv) Now Restart the PC, launch one time boot menu & select the disk to boot from.

Its done!

5. Once all done well , Remove the letter assigned to EFI System Partition :
Normally, the assigned letter ( z: for me ) is automatically dropped/unassigned on the next boot but make sure that it's done so!

(i) Checking If EFI System Partition still has a drive letter :

Diskpart
List Volume

( It will be showing as FAT32 formatted [B] partition. (for me its showing as Volume 6)Take care: it will list volumes/partitions from all the disks! )

EXIT

(ii) Remove the letter if its still there!

Diskpart
Select Volume 6

(Volume 6 for me)

Remove Letter=z

( Z: for me )

EXIT
EXIT

Let me know.

Thanks & Regards. ...
My System SpecsSystem Spec
3 Weeks Ago   #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
.

3 Weeks Ago   #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: )
( Explanation : Last Post )

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. & Volume letters / Partitions ( checked from Command Prompt )

Thanks & Regards. ...
My System SpecsSystem Spec
3 Weeks Ago   #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
3 Weeks Ago   #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. I think it won't 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.

4. My Friend, It seems you have not figured out : how to do the migration. I will suggest to start afresh, with a step by step guide in the evening.

Thanks & Regards. ...
My System SpecsSystem Spec
3 Weeks Ago   #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
.
1 Day 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
22 Hours 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.

Right now, I don't know how to create / write Recovery Environment to an internal disk. So, i can't help you with that. Do you want to check it with sir @SIW2 & others ?

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 21:38.
Twitter Facebook