You are not logged in.

#1 2024-05-01 15:57:53

zaxdan69
Member
Registered: 2016-06-04
Posts: 296

Grub doesn't boot windows bootloader any more

Because of a damaged disk I forecd to clone the disk to another one temporary(at this time all worked fine) and again to the new disk.
The problem is that now grub cannot detect windows while the bootloader is installed and I can boot into windows from bios boot menu.
-The disk has an EFI partition, archlinux partition and windows partition in this order.
-The efi partition is mounted in /boot/efi and windows partition is also mounted.
-The /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi file exists.
-Os prober is enabled in grub.cfg and it founds everything except the windows bootloader.
efibootmgr also finds it:

BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,0003,0007,0006,0002
Boot0000* arch	HD(1,GPT,a7ac8f9a-9b11-4df8-b170-4335be0625b9,0x800,0x100000)/\EFI\ARCH\GRUBX64.EFI
Boot0002* Hard Drive	BBS(HD,,0x0)0000474f00004e4fad000000010000007500500061007400720069006f0074002000500032003100300020003200350036004700420000000501090002000000007fff040002010c00d041030a0000000001010600020101010600010003120a000100ffff00007fff040001043e00ef47642dc93ba041ac194d51d01b4ce6320050003000310049004c004100430032003200300031003400300039003200350032002000390000007fff04000000424f00004e4fad00000001000000750053005400320030003000300044004d003000300038002d0032004600520031003000320000000501090002000000007fff040002010c00d041030a0000000001010600020101010600010003120a000200ffff00007fff040001043e00ef47642dc93ba041ac194d51d01b4ce62000200020002000200020002000200020002000200020004600570031004c005200500044004e0000007fff04000000424f00004e4fb10000000100000075005700440043002000570044003100300045005a0052005a002d0032003200480054004b004200300000000501090002000000007fff040002010c00d041030a0000000001010600020101010600010003120a000300ffff00007fff040001043e00ef47642dc93ba041ac194d51d01b4ce62000200020002000570020002d004400430057003400430037004a004c004400530031004600480000007fff04000000424f00004e4fad00000001000000750053005400310030003000300044004d003000300033002d0031005300420031003000430000000501090002000000007fff040002010c00d041030a0000000001010600020101010600010003120a000400ffff00007fff040001043e00ef47642dc93ba041ac194d51d01b4ce620002000200020002000200020002000200020002000200039005a00320041005a0035003600430000007fff04000000424f00004e4fb10000000100000075005700440043002000570044003100300045005a00520058002d0030003000410038004c004200300000000501090002000000007fff040002010c00d041030a0000000001010600020101010600010003120a000500ffff00007fff040001043e00ef47642dc93ba041ac194d51d01b4ce62000200020002000570020002d00440043005700310043003000550034003900370031003800320000007fff04000000424f00004e4fad000000010000007b005400450041004d00200054004d003800460050004400300030003100540000000501090002000000007fff040002010c00d041030a00000000010106000101010106000000031710000100000000000000305009197fff040001043e00ef47642dc93ba041ac194d51d01b4ce65400500042004600320033003000330030003100300030003300300035003000300039003100390000007fff04000000424f00004e4fb30000000100000075004b0049004e004700530054004f004e00200053004100340030003000530033003700340038003000470000000501090002000000007fff040002010c00d041030a0000000001010600020101010600010003120a000000ffff00007fff040001043e00ef47642dc93ba041ac194d51d01b4ce63000350032003000420036003600370036003800370038003500300039004400200020002000200000007fff04000000424f
Boot0003* Windows Boot Manager	HD(1,GPT,a7ac8f9a-9b11-4df8-b170-4335be0625b9,0x800,0x100000)/\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI0000424f
Boot0006* USB	BBS(USB,,0x0)0000474f00004e4fad000000010000006700480047005300540020004800540053003500340031003000310030004200370045003600310030002000300033002e00300000000501090005000000007fff040002010c00d041030a00000000010106000201010106000000030506000a000305060000007fff040001042e00ef47642dc93ba041ac194d51d01b4ce637003800300031004100360038003200340044003800430000007fff04000000424f
Boot0007* UEFI OS	HD(2,GPT,423a765b-e4a2-46a4-9a8c-3487a7b9a496,0x800,0x100000)/\EFI\BOOT\BOOTX64.EFI0000424f

I also tried to create an entry manually in 40_custom like this:

menuentry 'Windows Bootloader' {
   search.fs_uuid 1D0A-700B
   chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}

But while the entry shows it doesn't boot with an error:

hd0,gpt2 hd0,gpt2 hd1,gpt1 error fail to find /EFI/Microsoft/Boot/bootmgfw.efi

How to fix this(preferable without the need to use a custom entry)?

Offline

Board footer

Powered by FluxBB