Windows 10 can't find its own bootloader in dual-boot setup


  1. Posts : 2
    Windows 10, Manjaro Linux
       #1

    Windows 10 can't find its own bootloader in dual-boot setup


    Hello, so I have a pretty weird issue with my Manjaro Linux and Windows dual boot setup. I had a perfectly working setup on my 1TB SSD, where both Linux and Windows occupied half of the drive, UEFI was set to boot to Windows, but Windows bootloader was set to GRUB by bcdedit command. Everything was working well, I could update Windows normally. Then I wanted to resize Windows and Linux partitions to be 750/250 GB respectively, so I live booted to Linux live environment (Manjaro KDE from USB drive) and ran KDE Partition Manager. I resized both partitions, but the computer couldn't recognize either of bootloaders so it wouldn't load either system. To fix this, I live booted to Manjaro again and used testdisk command and it fixed my partition table. After this, I couldn't boot to Windows (even though EFI partition was intact), but I could boot to Linux. In Linux, update-grub command couldn't recognize my Windows installation so I booted my PC from Windows 10 installation disk. I had to rebuild my EFI partition through bcdboot command. I specified the path to be on /dev/sda7, the partition with Linux bootloader. This did help, but didn't fix every issue. I had two Windows entries in my UEFI boot menu, but only one of them (the new one) was working. Then I added Windows entry manually to GRUB and it's working somehow, but Windows doesn't recognize its own EFI partition ("The configuration data store could not be opened.") and now Windows Updates are broken ("Windows is reverting updates"). After that, I formatted the old 100 MB EFI partition and removed the old boot entry using efibootmgr command.
    So, summarizing:
    • After I turn on my PC, GRUB is loaded and I can either boot to Linux or chainload Windows 10 bootloader
    • I can boot to Windows via GRUB or UEFI boot menu
    • Even though Windows boots normally, it doesn't know where its bootloader is located
    • It's not possible to update Windows


    I'm attaching output of some commands to help troubleshoot the issue:

    Code:
    ➜ inxi -Dpuoxxz
    Drives:
      Local Storage: total: 931.51 GiB used: 744.47 GiB (79.9%) 
      ID-1: /dev/sda vendor: Samsung model: SSD 860 EVO 1TB size: 931.51 GiB 
      speed: 6.0 Gb/s serial: <filter> 
    Partition:
      ID-1: / size: 48.97 GiB used: 20.07 GiB (41.0%) fs: ext4 dev: /dev/sda4 
      uuid: 7c0e1cd4-81ea-46d6-9b16-da261d6935bb 
      ID-2: /boot/efi size: 511.7 MiB used: 44.0 MiB (8.6%) fs: vfat 
      dev: /dev/sda7 uuid: D093-E22B 
      ID-3: /home size: 114.26 GiB used: 62.88 GiB (55.0%) fs: ext4 dev: /dev/sda6 
      uuid: d0ebdbb2-1adc-4eb7-a45b-dca6a7f09b1d 
      ID-4: /run/media/user/6033-BCDD size: 95.0 MiB used: 8 KiB (0.0%) fs: vfat 
      dev: /dev/sda2 uuid: 6033-BCDD 
      ID-5: /run/media/user/8AF44A55F44A43A3 size: 731.79 GiB 
      used: 661.10 GiB (90.3%) fs: ntfs dev: /dev/sda3 uuid: 8AF44A55F44A43A3 
      ID-6: /run/media/user/Odzyskiwanie size: 529.0 MiB used: 388.7 MiB (73.5%) 
      fs: ntfs dev: /dev/sda1 uuid: BE6433A664335FF7 
      ID-7: swap-1 size: 32.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda5 
      uuid: aba575c2-e1c8-4f9f-a3dc-d1bf9c9dc572 
    Unmounted:
      Message: No unmounted partitions found.

    Code:
    ➜ efibootmgr -v
    BootCurrent: 0010
    Timeout: 1 seconds
    BootOrder: 0000,0010,0012,0001
    Boot0000* Manjaro       HD(7,GPT,3da5328e-d9d8-48cb-b8b4-fbede296b72b,0x74606800,0x10058f)/File(\EFI\MANJARO\GRUBX64.EFI)
    Boot0001* Hard Drive    BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0200)..GO..NO..........S.a.m.s.u.n.g. .S.S.D. .8.6.0. .E.V.O. .1.T.B...................\.,[email protected]=.X..........A.................................>..Gd-.;.A..MQ..L.3.S.9.Z.Y.N.M.0.2.5.4.0.5.0. .A. . . . ........BO
    Boot0010* UEFI OS       HD(7,GPT,3da5328e-d9d8-48cb-b8b4-fbede296b72b,0x74606800,0x10058f)/File(\EFI\BOOT\BOOTX64.EFI)..BO
    Boot0012* Windows Boot Manager  HD(7,GPT,3da5328e-d9d8-48cb-b8b4-fbede296b72b,0x74606800,0x10058f)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)..BO
    Code:
    ➜ lsblk -f     
    NAME   FSTYPE LABEL        UUID                                 FSAVAIL FSUSE% MOUNTPOINT
    sda                                                                            
    ├─sda1 ntfs   Odzyskiwanie BE6433A664335FF7                      140,3M    73% /run/media/pawel/Odzyskiwanie
    ├─sda2 vfat                6033-BCDD                                95M     0% /run/media/pawel/6033-BCDD
    ├─sda3 ntfs                8AF44A55F44A43A3                       70,7G    90% /run/media/pawel/8AF44A55F44A43A3
    ├─sda4 ext4                7c0e1cd4-81ea-46d6-9b16-da261d6935bb   26,4G    41% /
    ├─sda5 swap                aba575c2-e1c8-4f9f-a3dc-d1bf9c9dc572                [SWAP]
    ├─sda6 ext4                d0ebdbb2-1adc-4eb7-a45b-dca6a7f09b1d   45,5G    55% /home
    └─sda7 vfat                D093-E22B                             467,7M     9% /boot/efi

    Also, here's output from tree command of my dev/sda7 EFI partition:
    Code:
    .
    ├── Boot
    │   ├── BCD
    │   ├── BCD.LOG
    │   ├── BCD.LOG1
    │   ├── BCD.LOG2
    │   ├── bg-BG
    │   │   └── bootmgr.exe.mui
    │   ├── BOOTSTAT.DAT
    │   ├── bootuwf.dll
    │   ├── bootvhd.dll
    │   ├── cs-CZ
    │   │   ├── bootmgr.exe.mui
    │   │   └── memtest.exe.mui
    │   ├── da-DK
    │   │   ├── bootmgr.exe.mui
    │   │   └── memtest.exe.mui
    │   ├── de-DE
    │   │   ├── bootmgr.exe.mui
    │   │   └── memtest.exe.mui
    │   ├── el-GR
    │   │   ├── bootmgr.exe.mui
    │   │   └── memtest.exe.mui
    │   ├── en-GB
    │   │   └── bootmgr.exe.mui
    │   ├── en-US
    │   │   ├── bootmgr.exe.mui
    │   │   └── memtest.exe.mui
    │   ├── es-ES
    │   │   ├── bootmgr.exe.mui
    │   │   └── memtest.exe.mui
    │   ├── es-MX
    │   │   └── bootmgr.exe.mui
    │   ├── et-EE
    │   │   └── bootmgr.exe.mui
    │   ├── fi-FI
    │   │   ├── bootmgr.exe.mui
    │   │   └── memtest.exe.mui
    │   ├── Fonts
    │   │   ├── chs_boot.ttf
    │   │   ├── cht_boot.ttf
    │   │   ├── jpn_boot.ttf
    │   │   ├── kor_boot.ttf
    │   │   ├── malgun_boot.ttf
    │   │   ├── malgunn_boot.ttf
    │   │   ├── meiryo_boot.ttf
    │   │   ├── meiryon_boot.ttf
    │   │   ├── msjh_boot.ttf
    │   │   ├── msjhn_boot.ttf
    │   │   ├── msyh_boot.ttf
    │   │   ├── msyhn_boot.ttf
    │   │   ├── segmono_boot.ttf
    │   │   ├── segoen_slboot.ttf
    │   │   ├── segoe_slboot.ttf
    │   │   └── wgl4_boot.ttf
    │   ├── fr-CA
    │   │   └── bootmgr.exe.mui
    │   ├── fr-FR
    │   │   ├── bootmgr.exe.mui
    │   │   └── memtest.exe.mui
    │   ├── hr-HR
    │   │   └── bootmgr.exe.mui
    │   ├── hu-HU
    │   │   ├── bootmgr.exe.mui
    │   │   └── memtest.exe.mui
    │   ├── it-IT
    │   │   ├── bootmgr.exe.mui
    │   │   └── memtest.exe.mui
    │   ├── ja-JP
    │   │   ├── bootmgr.exe.mui
    │   │   └── memtest.exe.mui
    │   ├── ko-KR
    │   │   ├── bootmgr.exe.mui
    │   │   └── memtest.exe.mui
    │   ├── lt-LT
    │   │   └── bootmgr.exe.mui
    │   ├── lv-LV
    │   │   └── bootmgr.exe.mui
    │   ├── memtest.exe
    │   ├── nb-NO
    │   │   ├── bootmgr.exe.mui
    │   │   └── memtest.exe.mui
    │   ├── nl-NL
    │   │   ├── bootmgr.exe.mui
    │   │   └── memtest.exe.mui
    │   ├── pl-PL
    │   │   ├── bootmgr.exe.mui
    │   │   └── memtest.exe.mui
    │   ├── pt-BR
    │   │   ├── bootmgr.exe.mui
    │   │   └── memtest.exe.mui
    │   ├── pt-PT
    │   │   ├── bootmgr.exe.mui
    │   │   └── memtest.exe.mui
    │   ├── qps-ploc
    │   │   ├── bootmgr.exe.mui
    │   │   └── memtest.exe.mui
    │   ├── qps-plocm
    │   │   └── bootmgr.exe.mui
    │   ├── Resources
    │   │   ├── bootres.dll
    │   │   └── pl-PL
    │   │       └── bootres.dll.mui
    │   ├── ro-RO
    │   │   └── bootmgr.exe.mui
    │   ├── ru-RU
    │   │   ├── bootmgr.exe.mui
    │   │   └── memtest.exe.mui
    │   ├── sk-SK
    │   │   └── bootmgr.exe.mui
    │   ├── sl-SI
    │   │   └── bootmgr.exe.mui
    │   ├── sr-Latn-RS
    │   │   └── bootmgr.exe.mui
    │   ├── sv-SE
    │   │   ├── bootmgr.exe.mui
    │   │   └── memtest.exe.mui
    │   ├── tr-TR
    │   │   ├── bootmgr.exe.mui
    │   │   └── memtest.exe.mui
    │   ├── uk-UA
    │   │   └── bootmgr.exe.mui
    │   ├── zh-CN
    │   │   ├── bootmgr.exe.mui
    │   │   └── memtest.exe.mui
    │   └── zh-TW
    │       ├── bootmgr.exe.mui
    │       └── memtest.exe.mui
    ├── bootmgr
    ├── BOOTNXT
    ├── EFI
    │   ├── boot
    │   │   └── bootx64.efi
    │   ├── Manjaro
    │   │   └── grubx64.efi
    │   └── Microsoft
    │       ├── Boot
    │       │   ├── BCD
    │       │   ├── BCD.LOG
    │       │   ├── BCD.LOG1
    │       │   ├── BCD.LOG2
    │       │   ├── bg-BG
    │       │   │   ├── bootmgfw.efi.mui
    │       │   │   └── bootmgr.efi.mui
    │       │   ├── bootmgfw.efi
    │       │   ├── bootmgr.efi
    │       │   ├── BOOTSTAT.DAT
    │       │   ├── boot.stl
    │       │   ├── cs-CZ
    │       │   │   ├── bootmgfw.efi.mui
    │       │   │   ├── bootmgr.efi.mui
    │       │   │   └── memtest.efi.mui
    │       │   ├── da-DK
    │       │   │   ├── bootmgfw.efi.mui
    │       │   │   ├── bootmgr.efi.mui
    │       │   │   └── memtest.efi.mui
    │       │   ├── de-DE
    │       │   │   ├── bootmgfw.efi.mui
    │       │   │   ├── bootmgr.efi.mui
    │       │   │   └── memtest.efi.mui
    │       │   ├── el-GR
    │       │   │   ├── bootmgfw.efi.mui
    │       │   │   ├── bootmgr.efi.mui
    │       │   │   └── memtest.efi.mui
    │       │   ├── en-GB
    │       │   │   ├── bootmgfw.efi.mui
    │       │   │   └── bootmgr.efi.mui
    │       │   ├── en-US
    │       │   │   ├── bootmgfw.efi.mui
    │       │   │   ├── bootmgr.efi.mui
    │       │   │   └── memtest.efi.mui
    │       │   ├── es-ES
    │       │   │   ├── bootmgfw.efi.mui
    │       │   │   ├── bootmgr.efi.mui
    │       │   │   └── memtest.efi.mui
    │       │   ├── es-MX
    │       │   │   ├── bootmgfw.efi.mui
    │       │   │   └── bootmgr.efi.mui
    │       │   ├── et-EE
    │       │   │   ├── bootmgfw.efi.mui
    │       │   │   └── bootmgr.efi.mui
    │       │   ├── fi-FI
    │       │   │   ├── bootmgfw.efi.mui
    │       │   │   ├── bootmgr.efi.mui
    │       │   │   └── memtest.efi.mui
    │       │   ├── Fonts
    │       │   │   ├── chs_boot.ttf
    │       │   │   ├── cht_boot.ttf
    │       │   │   ├── jpn_boot.ttf
    │       │   │   ├── kor_boot.ttf
    │       │   │   ├── malgun_boot.ttf
    │       │   │   ├── malgunn_boot.ttf
    │       │   │   ├── meiryo_boot.ttf
    │       │   │   ├── meiryon_boot.ttf
    │       │   │   ├── msjh_boot.ttf
    │       │   │   ├── msjhn_boot.ttf
    │       │   │   ├── msyh_boot.ttf
    │       │   │   ├── msyhn_boot.ttf
    │       │   │   ├── segmono_boot.ttf
    │       │   │   ├── segoen_slboot.ttf
    │       │   │   ├── segoe_slboot.ttf
    │       │   │   └── wgl4_boot.ttf
    │       │   ├── fr-CA
    │       │   │   ├── bootmgfw.efi.mui
    │       │   │   └── bootmgr.efi.mui
    │       │   ├── fr-FR
    │       │   │   ├── bootmgfw.efi.mui
    │       │   │   ├── bootmgr.efi.mui
    │       │   │   └── memtest.efi.mui
    │       │   ├── hr-HR
    │       │   │   ├── bootmgfw.efi.mui
    │       │   │   └── bootmgr.efi.mui
    │       │   ├── hu-HU
    │       │   │   ├── bootmgfw.efi.mui
    │       │   │   ├── bootmgr.efi.mui
    │       │   │   └── memtest.efi.mui
    │       │   ├── it-IT
    │       │   │   ├── bootmgfw.efi.mui
    │       │   │   ├── bootmgr.efi.mui
    │       │   │   └── memtest.efi.mui
    │       │   ├── ja-JP
    │       │   │   ├── bootmgfw.efi.mui
    │       │   │   ├── bootmgr.efi.mui
    │       │   │   └── memtest.efi.mui
    │       │   ├── kd_02_10df.dll
    │       │   ├── kd_02_10ec.dll
    │       │   ├── kd_02_1137.dll
    │       │   ├── kd_02_14e4.dll
    │       │   ├── kd_02_15b3.dll
    │       │   ├── kd_02_1969.dll
    │       │   ├── kd_02_19a2.dll
    │       │   ├── kd_02_1af4.dll
    │       │   ├── kd_02_8086.dll
    │       │   ├── kd_07_1415.dll
    │       │   ├── kd_0C_8086.dll
    │       │   ├── kdstub.dll
    │       │   ├── ko-KR
    │       │   │   ├── bootmgfw.efi.mui
    │       │   │   ├── bootmgr.efi.mui
    │       │   │   └── memtest.efi.mui
    │       │   ├── lt-LT
    │       │   │   ├── bootmgfw.efi.mui
    │       │   │   └── bootmgr.efi.mui
    │       │   ├── lv-LV
    │       │   │   ├── bootmgfw.efi.mui
    │       │   │   └── bootmgr.efi.mui
    │       │   ├── memtest.efi
    │       │   ├── nb-NO
    │       │   │   ├── bootmgfw.efi.mui
    │       │   │   ├── bootmgr.efi.mui
    │       │   │   └── memtest.efi.mui
    │       │   ├── nl-NL
    │       │   │   ├── bootmgfw.efi.mui
    │       │   │   ├── bootmgr.efi.mui
    │       │   │   └── memtest.efi.mui
    │       │   ├── pl-PL
    │       │   │   ├── bootmgfw.efi.mui
    │       │   │   ├── bootmgr.efi.mui
    │       │   │   └── memtest.efi.mui
    │       │   ├── pt-BR
    │       │   │   ├── bootmgfw.efi.mui
    │       │   │   ├── bootmgr.efi.mui
    │       │   │   └── memtest.efi.mui
    │       │   ├── pt-PT
    │       │   │   ├── bootmgfw.efi.mui
    │       │   │   ├── bootmgr.efi.mui
    │       │   │   └── memtest.efi.mui
    │       │   ├── qps-ploc
    │       │   │   └── memtest.efi.mui
    │       │   ├── Resources
    │       │   │   ├── bootres.dll
    │       │   │   └── pl-PL
    │       │   │       └── bootres.dll.mui
    │       │   ├── ro-RO
    │       │   │   ├── bootmgfw.efi.mui
    │       │   │   └── bootmgr.efi.mui
    │       │   ├── ru-RU
    │       │   │   ├── bootmgfw.efi.mui
    │       │   │   ├── bootmgr.efi.mui
    │       │   │   └── memtest.efi.mui
    │       │   ├── sk-SK
    │       │   │   ├── bootmgfw.efi.mui
    │       │   │   └── bootmgr.efi.mui
    │       │   ├── sl-SI
    │       │   │   ├── bootmgfw.efi.mui
    │       │   │   └── bootmgr.efi.mui
    │       │   ├── sr-Latn-RS
    │       │   │   ├── bootmgfw.efi.mui
    │       │   │   └── bootmgr.efi.mui
    │       │   ├── sv-SE
    │       │   │   ├── bootmgfw.efi.mui
    │       │   │   ├── bootmgr.efi.mui
    │       │   │   └── memtest.efi.mui
    │       │   ├── tr-TR
    │       │   │   ├── bootmgfw.efi.mui
    │       │   │   ├── bootmgr.efi.mui
    │       │   │   └── memtest.efi.mui
    │       │   ├── uk-UA
    │       │   │   ├── bootmgfw.efi.mui
    │       │   │   └── bootmgr.efi.mui
    │       │   ├── winsipolicy.p7b
    │       │   ├── zh-CN
    │       │   │   ├── bootmgfw.efi.mui
    │       │   │   ├── bootmgr.efi.mui
    │       │   │   └── memtest.efi.mui
    │       │   └── zh-TW
    │       │       ├── bootmgfw.efi.mui
    │       │       ├── bootmgr.efi.mui
    │       │       └── memtest.efi.mui
    │       └── Recovery
    │           ├── BCD
    │           ├── BCD.LOG
    │           ├── BCD.LOG1
    │           └── BCD.LOG2
    └── System Volume Information
        ├── EDP
        │   └── Recovery
        ├── IndexerVolumeGuid
        └── WPSettings.dat
    
    89 directories, 229 files
    I hope it's possible to solve this issue without reinstalling both systems. Thank you in advance!
    Also, please tell me if you need to know output of some other command
      My Computer


  2. Posts : 4,071
    Windows 7 HP 64 - Windows 10 Pro - Lubuntu
       #2

    You have made it complicated.
    On a UEFI-GPT disk, both Windows and Linux boot loaders are on the EFI Fat32 partitions. They work independent (they are not chained) so you can boot using the boot menu.
    Linux install an option on grub to boot Windows (in mine it's disabled. I use boot menu during post to select Linux)
    As your Windows boot loader isn't working properly, boot from the Win 10 installation disk and do a boot repair.
      My Computers


  3. Posts : 29,075
    Windows 10 21H1 Build 19043.1023
       #3

    Try turning off Fast Startup.

    Kado897? told me to do that, and I stopped having problems with dual boot.
      My Computer


  4. Posts : 2
    Windows 10, Manjaro Linux
    Thread Starter
       #4

    I already tried to do a boot repair but Windows still doesn't know path to its bootloader and Windows Updates are still not working

    - - - Updated - - -

    I believe I have fast boot disabled, I'll check that later today
      My Computer


  5. Posts : 1,241
    Windows 10 Pro (Build 19043.1110)
       #5

    I have had good results in some completely baffling (to me) boot scenarios using the rescue USB stick you can make with the free Macrium Reflect. If you boot to the stick, under the 'restore' tab is an item 'fix windows boot issues'. It has been very useful to me - I dual boot and triple boot with multiple Linuxes and Windowses, and am pretty good with diskpart and fixboot and grub and all, but sometimes I just want to get back to the Windows boot manager, and this does the trick 9 times out of 10.
      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 06:01.
Find Us




Windows 10 Forums