New
#71
Can you post the command exactly how you are typing it in?
THank you for this - I'm not 100% clear on all of it though and I'd really rather not destroy my data (although I am backed up) so if anyone can answer the questions below in red I'd be grateful!
many thanks, David
diskpart
list disk
select disk # Note: Select the disk where you want to add the EFI System partition. [THIS IS THE NEW 1TB DRIVE WHERE THE CURRENT SYSTEM RESIDES BUT WITHOUT THE EFI PARTITION CORRECT? AND I GET THE DISK NUMBER FROM DISK MANAGEMENT CORRECT?]
list partition
select partition # Note: Select the Windows OS partition (# number) or your data partition. [IS THIS THE OLD SYSTEM DRIVE WHERE THE EFI PARTITION CURRENTLY RESIDES? THIS IS CONFUSING TO ME!]
shrink desired=100
create partition efi size=100
format quick fs=fat32
assign letter=s [I'm ASSIGNING s to the new DRIVE?]
list partition
list volume Note: Note the volume letter where the Windows OS is installed. [I'M NOT CLEAR ON WHAT THEY'RE SAYING HERE]
exit
bcdboot X:\windows /s S:
Note: Replace "X" with the volume letter of the Windows OS partition. [THIS IS MY C DRIVE CORRECT?]
Welcome to the Forums dkaplowitz.
See explanation on the commands above.
On a UEFI-GPT boot able drive you should have a EFI partition where the boot managers are (you can have one or more boot managers if you have multi boot).
If you have another UEFI-GPT boot able drive and you don't disconnect while you installing Win (7, 8.x, 10 or 11) on a NEW drive, the installation wizard will find a EFI partition on the OLD drive and install the boot manager of the NEW drive on the EFI partition of the OLD drive. The consequence is that the NEW drive isn't self boot able as you need the OLD drive to boot the NEW one.
The solution is to create a EFI - 100M Fat32 partition and load it with the boot manager.
Last edited by Megahertz; 06 Sep 2023 at 13:46.
diskpart
list disk
select disk # Note: Select the disk where you want to add the EFI System partition. [THIS IS THE NEW 1TB DRIVE WHERE THE CURRENT SYSTEM RESIDES BUT WITHOUT THE EFI PARTITION CORRECT? AND I GET THE DISK NUMBER FROM DISK MANAGEMENT CORRECT?] Yes the Disk Number as shown in above command that corresponds with the new 1TB Drive
list partition
select partition # Note: Select the Windows OS partition (# number) or your data partition. [IS THIS THE OLD SYSTEM DRIVE WHERE THE EFI PARTITION CURRENTLY RESIDES? THIS IS CONFUSING TO ME!] select the OS Partition Number as found on the new 1TB Drive
shrink desired=100
create partition efi size=100
format quick fs=fat32
assign letter=s [I'm ASSIGNING s to the new DRIVE?]No, But to the Newly created EFI "Partition"
list partition
list volume Note: Note the volume letter where the Windows OS is installed. [I'M NOT CLEAR ON WHAT THEY'RE SAYING HERE] Again the Volume (Drive) Letter with the OS on the Now Reconfigured 1TB Drive
exit
bcdboot X:\windows /s S:
Note: Replace "X" with the volume letter of the Windows OS partition. [THIS IS MY C DRIVE CORRECT?]The volume may list as any Drive letter - depending on number of listed drives... Do not assume it is C
You created a EFI partition and S was assigned to that EFI Partition - the Volume Drive letter is the Windows OS that you want to make Bootable via that EFI Partition - this will make the New 1TB Drive contain its own Bootable Partition - and it should be set as the Primary (First) Boot Drive in the BIOS
In this video, i will show you how to create EFI partition from within Windows Recovery Environment.
thanks for the replies - I'm about to do this hopefully today. I can't really mess up my current system drive so if there's anything crucial I need to watch out for here that might render my current system drive unusable for example please let me know!! thanks again for all your help
- - - Updated - - -
and I just want to triple check that this will not affect the OS or data on the 1TB drive with the missing EFI partition
(Note: Select the disk where you want to add the EFI System partition. [THIS IS THE NEW 1TB DRIVE WHERE THE CURRENT SYSTEM RESIDES BUT WITHOUT THE EFI PARTITION CORRECT? AND I GET THE DISK NUMBER FROM DISK MANAGEMENT CORRECT?] Yes the Disk Number as shown in above command that corresponds with the new 1TB Drive)
It is always a good practice to make a disk image backup before you begin to play with the drives.
thanks - I'm sorry to have so many questions but on this:
select partition m (replace m by the Windows partition number obtained with list partition).
I get
Reserved 1
Primary 2
Recovery 3
So I assume m=2 ? I really don't want to have to deal with restoring rom a backup here so just being absolutely sure - many thanks!
David