My machine is Fedora 36 with dual boot win10. I rarely use win10 but I need it for some specific software, otherwise I use Fedora 99% of the time. The Fedora partition is encrypted and both fedora and win10 are installed via UEFI.
However every single time I boot into win10 (because I seldom use it - only once per week) it performs an update and without fail, 100% of the time, 100% repeatable, after it performs an update, my fedora does not boot up anymore but goes into emergency boot mode. Thus far I’ve had to re-install fedora again and again, even after trying various backup software which never seems to work in a real scenario (like timeshift), I’m now fed up with this problem and I really want to understand why this is happening and how to stop it from happening again. I know I’m not the only person with this problem and it should not be happening.
I’ve tried using timeshift to keep a complete backup (except the /home directory) thinking it would restore it okay, but unfortunately both through live usb or booting into emergency mode and going to root, then issuing a ‘timeshift --restore’ I get the following error on timeshift, after selecting all default options:
E. Failed to mount device ‘dev/dm-0’ at mount point ‘run/timeshift/restore’
E. mount: /run/timeshift/restore: mount(2) system call failed: No such file or directory.
dmesg(1) may have more information after failed mount system call.
My system has 3x SSDs and 1x SATA mechanical drive. The main drive (sda) is encrypted (luks) and paritioned into 3 partitions. Its nothing special, I didn’t create special parameters or a special paritioning scheme when I installed fedora, its just default auto created the paritioning scheme upon install. The only different thing I did was I used luks encryption which is just a click of a square during the installation process.
Here is the output of lsblk:
So my questions are:
1/ How to restore the boot partition without the need to re-install everything again?
2/ What is win10 doing to the partition that creates the scenario that fedora is then unable to mount the partition on reboot back into fedora?
3/ How to stop this from happening again in the future? (apart from not updating win10 but sometimes it automatically does it, even if you’ve turned off autoupdates).
I hope someone can help, this issue is really driving me crazy and having to re-install time and time again (which is around once per week) is wasting precious time, but this problem should not be happening.
Looking forward to any help.