How to determine offset for creating new EFI partition?

Page 1 of 2 12 LastLast

  1. Posts : 12
    Windows 10
       #1

    How to determine offset for creating new EFI partition?


    Ok, so, here's the whole story. I did a new clean install of windows 10 pro a few weeks ago, and I installed the newest version at the time, 1809 build 17763.316. However, now there is a newer version, 17763.348. And I've been getting the update KB4482887 from windows update, but every time it fails with error 0x800F0922. I've tried many different things - sfc /scannow, dism restore health, disabling secure boot, disabling all security software including my firewall, making sure my efi system partition has enough space (currently 83 mb free out of 96 shown in explorer), downloading the kb installation file from microsoft's catalog directly, making sure I have .net framework activated from optional features, I tried .net framework repair tool, cleaning the software distribution and catroot2 folders (even tho I don't think this should matter when using the catalog installation file), deleting registry keys as shown here Full Fix: Update error 0x800f0922 on Windows 10, 8.1, 7 and restoring them after it failed, cleaning my temp folder. I have the latest servicing update KB44704788 installed as well, so Idk what to do anymore... I read that extending the system partition might solve it, mine is only 100 mb, shows as 96 mb in explorer. Then I searched how to do that, and since I use GPT and UEFI, turns out it's a bit harder, I found this How do I restore w10 bootloader? dual boot with ubuntu on separate hdd Solved - Page 3 - Windows 10 Forums and there it says that if I have unallocated space, which I must have if I want to make a bigger efi partition right? then I need to set an offset for the new efi partition, but it doesn't say how big that offset must be and how to determine it, my current offsets are like this:

    How to determine offset for creating new EFI partition?-123.png

    And this is my unallocated space:

    How to determine offset for creating new EFI partition?-1234.png

    Anyone can help me with what to do, other that clean install again?
    Attached Thumbnails Attached Thumbnails How to determine offset for creating new EFI partition?-image.png  
      My Computer


  2. Posts : 30,192
    Windows 11 Pro x64 Version 23H2
       #2

    Hi Joe. Welcome to the TenForums @Joe123456

    Very much doubt your EFI partition is at fault. Lots of free space. Mine is only 100MB and has a second boot option.

    Think I would start with a Windows update reset.

    Download file, disconnect from internet, run file, restart and reconnect to internet.

    Reset Windows Update in Windows 10


    Ken
      My Computer


  3. Posts : 12
    Windows 10
    Thread Starter
       #3

    Ok, so I downloaded the bat, disabled my ethernet network adapter, it's the only one I use, that disconnects me from the internet, then I ran the bat file as admin, restarted pc, turned on internet again, ran the update again, same thing as everytime, "working on updates" reaches 93% complete, then says "we couldn't complete the updates, undoing changes" with error 0x800F0922
      My Computer


  4. Posts : 8,111
    windows 10
       #4

    Method 2. Run Windows 10 Update troubleshooter to fix error code
    1. Click Windows icon and press W to open search function;
    2. Type: troubleshooting and press Enter;
    3. Select view all when the troubleshooting window opens, select Windows update;
    4. Select advanced and choose run as administrator;
    5. Click Next and follow the onscreen prompts.
    Method 3. Run DISM(Deployment Image Serving and Management) tool
    1. Press Windows + X and select command prompt admin;
    2. Type: exe /online /cleanup-image /scanhealth and press Enter;
    Wait patiently. When the scan is complete, a message "the operation completed successfully" will pop up.
    3. Type: dism.exe /online /cleanup-image /restorehealth and hit Enter;
    This will take a while to run completely, but it will restore any missing or corrupted files necessary for the Microsoft Windows 10 update.
    4. Restart PC again and retry
      My Computer


  5. Posts : 30,192
    Windows 11 Pro x64 Version 23H2
       #5

    Yikes.

    Make a data backup even though this is a non - destructive process.

    Repair Install Windows 10 with an In-place Upgrade

    If you are using an AV other than Defender please uninstall until you get update in. (Not disable)
      My Computer


  6. Posts : 18,432
    Windows 11 Pro
       #6

    If you want to try to create a 500MB EFI system partition, you do not need the offset value. Here's how to do it. You need to open a command prompt (Admin) [or right click command prompt and select run as administrator]. It might also work in Powershell (Admin), I don't know for sure. Then:

    Code:
    Microsoft Windows [Version 10.0.17763.316]
    (c) 2018 Microsoft Corporation. All rights reserved.
    
    C:\Windows\system32>diskpart
    
    Microsoft DiskPart version 10.0.17763.1
    
    Copyright (C) Microsoft Corporation.
    On computer: JOHN-DESKTOP
    
    DISKPART> sel dis 1
    
    Disk 1 is now the selected disk.
    
    DISKPART> cre par pri size=500
    
    DiskPart succeeded in creating the specified partition.
    
    DISKPART> for fs=fat32 quick
    
      100 percent completed
    
    DiskPart successfully formatted the volume.
    
    DISKPART> assign letter=t
    
    DiskPart successfully assigned the drive letter or mount point.
    
    DISKPART> exit
    
    Leaving DiskPart...
    
    C:\Windows\system32>bcdboot C:\Windows /s T:
    Boot files successfully created.
    
    C:\Windows\system32>diskpart
    
    Microsoft DiskPart version 10.0.17763.1
    
    Copyright (C) Microsoft Corporation.
    On computer: JOHN-DESKTOP
    
    DISKPART> sel vol t:
    
    Volume 7 is the selected volume.
    
    DISKPART> set id=c12a7328-f81f-11d2-ba4b-00a0c93ec93b override
    
    DiskPart successfully set the partition ID.
    
    DISKPART> lis par
    
      Partition ###  Type              Size     Offset
      -------------  ----------------  -------  -------
      Partition 1    Recovery           499 MB  1024 KB
      Partition 2    System             100 MB   500 MB
      Partition 3    Reserved            16 MB   600 MB
      Partition 4    Primary            236 GB   616 MB
    * Partition 5    System             500 MB   237 GB
    
    DISKPART> sel par 2
    
    Partition 2 is now the selected partition.
    
    DISKPART> set id=ebd0a0a2-b9e5-4433-87c0-68b6b72699c7 override
    
    DiskPart successfully set the partition ID.
    
    DISKPART>Exit
    
    C:\Windows\system32>Exit
    Now for the tricky part - restart the computer and when it starts, keep pressing the key for your boot override menu, it's probably F12. Then you get to the boot override menu, pick the entry that looks like your new EFI system partition. When Windows restarts, open a command prompt (Admin) again and try to delete the old EFI System Partition (Which is no longer tagged as a system partition, it is just a plain data partition now):
    diskpart
    sel dis 1
    sel par 2
    del par override

    If the delete partition command fails, it's because you picked the wrong partition to boot from in the boot override menu - you picked the original EFI system partition, not the new one.

    You will be left with a drive that looks like this (my disk 3 will be your disk 1):

    How to determine offset for creating new EFI partition?-capture.jpg
      My Computer


  7. Posts : 12
    Windows 10
    Thread Starter
       #7

    Ok, so I ran the troubleshooter, clicking on advanced only says "apply repairs automatically", then after I click next it says "troubleshooter couldn't identify the problem", on view detailed information it says "Windows Update, no issues detected"

    I ran dism.exe /online /cleanup-image /scanhealth, result says:[==========================100.0%==========================] No component store corruption detected.The operation completed successfully.

    Then I ran dism.exe /online /cleanup-image /restorehealth, result says:[==========================100.0%==========================] The restore operation completed successfully.The operation completed successfully.

    Then I restarted my pc, ran the update again, same thing... Reaches 93% complete then undoing changes...

    I'm not too sure about repairing, in the link you gave me there is a video, in the video the person selects "Keep personal files, apps, and windows settings" at the "Choose what to keep" window, what does that mean, will something else be deleted? Cuz if it said "keep everything" that would mean I'm not gonna lose anything, but since it says specifically keep this and this and that, it makes me think that something is gonna get deleted, other than the windows updates which is said in the link...

    I'm gonna try extending my efi system partition later, nothing to lose I guess, maybe it works...
      My Computer


  8. Posts : 30,192
    Windows 11 Pro x64 Version 23H2
       #8

    Okay.

    Keeping personal files and apps keeps everything. It is supposed to be a non destructive process. I suggest a data backup as this is Windows. Might be an idea to get a system image with a tool like Macrium.

    Post back after your EFI expansion.


    I would also recommend before trying you get a complete system image.

    Backup and Restore with Macrium Reflect


    Create and test boot media for the tool of your choosing.
      My Computer


  9. Posts : 30,192
    Windows 11 Pro x64 Version 23H2
       #9

    How did you make out with the EFI expansion, did it resolve issue?

    In this thread the member has a 1GB EFI.

    Cannot install Windows 10 Cumulative Update, error 0x800f0922
      My Computer


  10. Posts : 12
    Windows 10
    Thread Starter
       #10

    I decided not to update for now, because of this https://www.pcgamer.com/a-recent-win...ing-with-mice/

    I'll try the in-place upgrade and the EFI extend-ion when the next update that fixes it is ready
      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 02:40.
Find Us




Windows 10 Forums