Nothing is lost. The operating system is intact and so, almost certainly, are its boot files — what you have lost is the firmware boot entry, which is a small record in the motherboard's NVRAM that says "there is a bootloader at this path on this disk". Recreating it takes about ten minutes from a live USB.
What removes it. In rough order of likelihood:
- A firmware update. Updating the BIOS or UEFI firmware very often clears NVRAM, which wipes every custom boot entry. Windows recreates its own entry automatically on the next boot; Linux does not, because nothing is running to do it. This is by far the most common cause of "it worked for a year and then one day it did not".
- A CMOS reset or a flat backup battery. Same effect, same reason.
- A Windows feature update. Less common than the internet claims, but it does happen, and Windows will happily set itself first in the boot order even when it does not delete anything.
- Fast Startup. This one does not delete the entry, but it produces a machine that appears to boot straight to Windows regardless of what you choose, because Windows was never actually shut down — it hibernated. Rule it out early because it is the cheapest to check.
Getting it back.
- Turn off Fast Startup in Windows first, before anything else. If that was the cause you are done. If it was not, you still want it off, because with it on the Windows partition is left in a hibernated state and anything else touching the disk is risky.
- Boot a live USB of the same distribution family. You may need to disable Secure Boot temporarily to do it — note whether you did, because you will want to consider turning it back on afterwards.
- Mount your existing root partition, mount the EFI system partition at its usual place inside that, bind-mount the pseudo-filesystems, and chroot in.
- Reinstall the bootloader to the EFI system partition and regenerate its configuration.
- Reboot into the firmware and confirm the entry now exists, and that it is above Windows in the boot order.
The step people get wrong is number three, specifically which EFI system partition. On a machine that has had more than one install, or that shipped with a vendor recovery partition, there can be more than one, and installing the bootloader into the wrong one produces a bootloader nothing ever reads. Identify it by looking for the small FAT32 partition flagged as the ESP that already contains the Windows boot files — the two operating systems share one ESP on a normal dual-boot setup, and that shared one is the right target.
If the entry keeps disappearing after every reboot, that is a different and rarer fault: some firmware aggressively prunes entries it does not recognise. The workaround is to place the bootloader at the default fallback path on the ESP, which the firmware will boot without needing an entry at all.