I just installed Linux Mint 18 on a laptop that previously had Windows 10 booting in UEFI mode. The laptop is a Lenovo g40-80.
Before, with Mint 17.3, I couldn't install Mint (it would install but wouldn't boot). Now I installed Mint 18 correctly and it works fine, but when I boot into Windows 10 I get an error saying something like.
The Boot Configuration Data for your PC is missing or contains errors
Here's the error:
Windows failed to start. A recent hardware or software change might be the
cause. To fix the problem:
1. Insert your Windows installation disc and restart your computer.
2. Choose your language settings, and then click "Next."
3. Click "Repair your computer."
If you do not have this disc, contact your system administrator or computer
manufacturer for assistance.
File: \Boot\BCD
Status: 0xc000000e
Info: The Boot Configuration Data for your PC is missing or contains
errors.
I tried logging into Mint (which, again, logs fine) and do a update-grub
but it didn't do anything.
Since this is the manufacturer's Windows 10 install and I don't have a product key to install fresh, I tried the embedded recovery. This also didn't work! Although I got no error messages.
Right now, if I start the computer with the Windows boot manager (by pressing the a small button on the side instead of the main power button, then choosing the Boot Menu option, then the Windows boot manager) it logs on Windows, but I'd like the normal dual-boot to work, since Windows is important for work.
Anything else I should try?
EDIT
Might be related to this question
EDIT2
I tried boot-repair
and it told me that the current session is in Legacy mode! Which is weird, because I'm sure that I booted Mint in UEFI mode when I started the Mint installation. Now I think this might be related to my problem but I'm still not sure how to fix this.
Since this is the manufacturer's Windows 10 install and I don't have a product key to install fresh
There are tools that can read out the used key. You should be able to reinstall Windows from scratch with a downloaded iso using that key if the activation isn't linked to your hardware anyway and activates automatically. First thing I always did with OEM machines was formatting everything and doing a clean install.