You are not logged in.
Pages: 1
For several months I had a working dual boot setup for windows and arch using refind as the manager. This computer is a Yoga 7i. A little while back I accidentally deleted the folder containing the windows install from my efi (I think this occured during a system upgrade). Fortunately, I had a backup which I was able to restore. However, when I try to start windows I get the error message:
File: \EFI\Microsoft\Boot\BCD
Status: 0xc000000f
Info: The Boot Configuration Data for your PC is missing or contains errors.
I know that this is because the BCD file is missing, but I'm not sure how to regenerate/restore it. My archlinux install works fine, so I'd appreciate it if someone could point me to a tool that I can run on linux that will produce a BCD file. I found a github repo that seems to do this, but it didn't have much documentation: https://github.com/U1F984/create_bcd. I found another repo that has better documentation, but it's over 10 years old so I'm concerned about using it: https://github.com/wodny/libbcd0. I also found a commercial product called EasyBCD. I'm not sure if this actually has a linux executable.
Lastly, there are a whole bunch of fsck****.REC files in my efi partition. I'm not sure if these will be of any use.
Offline
Did you have a copy of the Windows EFI at the default bootloader location? i.e. EFI/boot/bootx64.efi? Windows tends to put one there, so you might be able to boot that.
https://wiki.archlinux.org/title/Dual_b … _partition explains how to restore a deleted EFI partition, so the method there should be able to restore the config.
Last edited by cfr (2022-12-26 00:17:21)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Pages: 1