Moving / recreating EFI partition

Page 8 of 10 FirstFirst ... 678910 LastLast

  1. Posts : 4
    Windows 10
       #71

    NavyLCDR said:
    You may need the firmware switch:
    Code:
    bcdboot C:\Windows /s S: /f UEFI
    And having the EFI System Partition on a separate SSD will not affect anything.

    Thanks again.
    I have already try to put UEFI, All etc to the line command but no success.

    But if you tell me that not have a impact on my performance on boot time i will be leave it like that. I'm on this since 5h and my head start to be hurting
      My Computer


  2. Posts : 18,443
    Windows 11 Pro
       #72

    Can you post the command exactly how you are typing it in?
      My Computer


  3. Posts : 4
    Windows 10
       #73

    NavyLCDR said:
    Can you post the command exactly how you are typing it in?
    Ok i find my issue. Strangly diskpart did not set a letter for the EFI partitin when i have created.
    I have set a letter again and now it's worked.

    Thanks anyway for your answers. And please forgive me to be so dumb.
      My Computer


  4. Posts : 9
    Windows 11
       #74

    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?]
      My Computer


  5. Posts : 6,494
    Windows 11 Pro - Windows 7 HP - Lubuntu
       #75

    dkaplowitz said:
    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 (it will list all drives. Identify the NEW drive number)
    select disk n (replace n by the NEW drive number obtained with list disk) This is to select the NEW drive that has no EFI partition
    list partition (will list all partitions on the NEW drive. Find out the Windows partition number m )
    select partition m (replace m by the Windows partition number obtained with list partition). You have selected the new drive with the select disk # command . This is to select the Windows partition on the NEW drive
    shrink desired=100 (this is to shrink the Windows partition in 100M to be able to create a new partition)
    create partition efi size=100 (this will create a EFI partition on the space created above)
    format quick fs=fat32 (will format the EFI partition created above as Fat32)
    assign letter=s To assign a letter S: to the EFI partition created above
    list partition (will list all partitions on the new drive. You should have now an EFI partition after the Windows partition)
    list volume Note: Note the volume letter where the Windows OS is installed. It will list all partitions with the corresponding letters on ALL drives. You have to find out what letter is assigned to the Windows on the NEW drive. If you're running Diskpart from Windows on the NEW drive, the Windows partition on the NEW drive will be C:. If you're running Diskpart from Windows on the OLD drive, the Windows on the NEW drive partition will be something other than C:.
    exit

    bcdboot X:\windows /s S: /f UEFI
    Note: Replace "X" with the volume letter of the Windows OS partition. [X is the drive letter of the Windows partition on the NEW drive fond above]
    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.
      My Computers


  6. Posts : 4,145
    Windows 3.1 to Windows 11
       #76

    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
      My Computer


  7. Posts : 5,379
    Windows 11 Pro 64-bit
       #77

    In this video, i will show you how to create EFI partition from within Windows Recovery Environment.

      My Computer


  8. Posts : 9
    Windows 11
       #78

    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)
      My Computer


  9. Posts : 6,494
    Windows 11 Pro - Windows 7 HP - Lubuntu
       #79

    It is always a good practice to make a disk image backup before you begin to play with the drives.
      My Computers


  10. Posts : 9
    Windows 11
       #80

    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
      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 13:20.
Find Us




Windows 10 Forums