Okay, gentlemen, this happened to me today, despite the fact that I haven't entered my Windows partition in over a month. So, it doesn't make a lot of sense to blame Windows for this (try as I might). Somewhere, Mint must have had something silly going on, and I do shake my head at the developers sometimes. I can never discount the ability of Windows to wreck a system. I also have zero faith in the Mint people's understanding of grub, secure boot, or encryption, and this is the third elementary error I've caught over the past many months that they've let through.
Basically, when I restarted today, it went straight to Windows. My grub is set to default to Mint if I let it sit there, not to Windows. Well, no grub menu, no nothing, straight to Windows. In the BIOS, all the devices were still there, and nothing reverted with respect to secure boot; legacy boot was still enabled.
I don't know if this will help people who are having Windows 10 issues with dual boot. If a partition happens to be ruined, my solution is useless. If the booting is the only issue, this should work, and I'd ask our resident experts to vet my work here.
First, you're going to have to get into Mint (or whatever) manually by bringing up the boot screen, since it's going to want to go into stupid Windows immediately, which won't help one iota. From there, get yourself into a command line.
Code:
sudo update-grub
That may not be necessary, but I'd make sure that's done at first, just to be sure.
Code:
sudo efibootmgr
If it's showing the Windows boot manager at hex 0000, that is going to be your problem; at least it was for me.
Code:
sudo efibootmgr -b 0000 -B
If the Windows boot manager is a different hex number, substitute that for the 0000. Upon reboot, my grub menu was back in order, and it wasn't trying to fling me straight into Windows. Hopefully, this remains persistent, or it's back to the drawing board.
Basically, when I restarted today, it went straight to Windows. My grub is set to default to Mint if I let it sit there, not to Windows. Well, no grub menu, no nothing, straight to Windows. In the BIOS, all the devices were still there, and nothing reverted with respect to secure boot; legacy boot was still enabled.
I don't know if this will help people who are having Windows 10 issues with dual boot. If a partition happens to be ruined, my solution is useless. If the booting is the only issue, this should work, and I'd ask our resident experts to vet my work here.
First, you're going to have to get into Mint (or whatever) manually by bringing up the boot screen, since it's going to want to go into stupid Windows immediately, which won't help one iota. From there, get yourself into a command line.
Code:
sudo update-grub
That may not be necessary, but I'd make sure that's done at first, just to be sure.
Code:
sudo efibootmgr
If it's showing the Windows boot manager at hex 0000, that is going to be your problem; at least it was for me.
Code:
sudo efibootmgr -b 0000 -B
If the Windows boot manager is a different hex number, substitute that for the 0000. Upon reboot, my grub menu was back in order, and it wasn't trying to fling me straight into Windows. Hopefully, this remains persistent, or it's back to the drawing board.