There are a few ways you can resolve the Boot BCD error 0xc0000242 and it requires you to use Windows in-built Recovery Tools or a Windows Installation Media. Use the ...
If there are multiple drives installed in the computer, then it can create confusion as to which drive has a Bootloader. This scenario usually happens when Master Boot Record is on the wrong drive.