When rebooting from Gentoo Linux into Windows 11 through GRUB (I used os-prober to find Windows Boot Manager) I get the BSOD "KMODE_EXCEPTION_NOT_HANDLED" (Kernel failed to load). This happens at (what I think) random.
I use 2 different UEFI partitions for Linux and Windows bootloaders, and this seems to occur after mounting C:\ filesystem. I use an Acer Aspire A515-56. The address causing the BSOD seems to be ntoskrnl.exe+415b00
. Here is my partition layout for the computer:
I am currently unable to provide fdisk -l
output, but I can provide it if required.
My computer uses an NVME drive, if that is relevant.
If I boot from GRUB, without being in Linux first, Windows does not crash. When Windows does crash, a force reboot fixes it (It does not reboot automatically). I have already disabled Fast Startup in BIOS and Windows, but the BSOD still shows up.
Gentoo boots just fine, without issue. Windows also boots just fine from GRUB (secure boot disabled) unless I have first booted into Linux.
Hope to find an answer soon, and please note that I'm not always availiable to give further information (but I will gladly provide further information), and that this is my first question on StackExchange.
Secure boot is disabled, because I would not be able to boot into Gentoo Linux if I had it enabled. As far as I know, (and I don't know too much about UEFI) enabling it would end up making GRUB not work (and I kind of need it to boot into any OS, but I do have F12 boot selection enabled), and I don't think enabling it would fix my issue, because Secure boot only really checks if the OS to boot is signed, and if its valid, and it shouldn't affect OS operation (as far as I know). Secure boot is also disabled no matter if I go into Linux or Windows. So, I don't see how Secure boot may affect this issue.
Fast startup is already disabled.
The BSOD 1st parameter is a 0xC0000005: STATUS_ACCESS_VIOLATION.
It crashes on both a reboot from Windows to Linux and back and a shutdown > boot into Linux > boot into Windows.