Grub disappears afters using PC restart or shutdown switch. Grub is persistant if I use software shutdown or restart.
I am using the MSI krait motherboard (https://us.msi.com/Motherboard/Z97S-SLI-Krait-Edition.html) and have grub installed onto my NVME drive. Windows is persistant after a shutdown or restart or power outage.
I have to reinstall grub in order to relog into my linux system. It is really annoying and I have probably reinstalled grub about 4-5 times now. I am taking care to ensure no power outage goes on or I do not need to use the hardware switches. But if my system crashes and I need to click shutdown on the pc, Im kindof fucked. Is there something I need to do in grub?
About this post
- Posted
- Archived
- Score
- 24 · 92% up
- Kind
- Text
- ID
- nm94o9
19 comments
You could try to install GRUB with the removable argument so it installs on the fallback path, this is needed for some MSI boards if you search around.
https://wiki.archlinux.org/title/Grub#Default/fallback_boot_path
Although the whole clean shutdown thing is a bit weird, when this happens with MSI people generally can't never boot it until they install it on the fallback path.
Double check fast startup isn't enabled on windows. This can cause similar issues.
Have you tried installing grub as bootx64.efi? Some UEFI implementations are a bit buggy.
This. To be complete, as
\EFI\BOOT\BOOTX64.EFI. That's quite a coincidence as I've fixed an issue that way just 10 minutes ago because of a Dell EFI which didn't take into account the actual path used by Debian (\EFI\DEBIAN\GRUBX64.EFI).Another (close) reason could be that the custom EFI settings are lost because they are stored in CMOS RAM (not all motherboards) and the CMOS battery is dead. In that case, using the default name could also work, but another solution would be to replace the CMOS battery.
Deleted before we saved it.
https://wiki.archlinux.org/title/GRUB#Default/fallback_boot_path
I'm absolutely speculating but lt sounds bios config related, have you looked through your settings?
Deleted before we saved it.
I have a board with dual bios that is toggled on the board itself with a switch. Maybe a different bios profile is loading if you use the button instead of the shutdown command?
How long have you had this mobo?
Might simply be a CMOS battery change that's needed.
CR2032 is the type of battery you'll want, they're available basically everywhere.
Check the manual to find where it is located on the mobo, and look up a video on how to swap it out if you're in anyway unsure.
Deleted before we saved it.
Oh, I thought I was posting to /r/techsupport, sorry for putting it a little oversimplified. Though before you start running around getting batteries and ripping the guts out of your PC... are you getting any messages saying that the time and date got reset at POST? are you losing BIOS settings?
I had the same thing happen to me, power outages or an actual shutdown would just take me to a black screen with 'GRUB' in the top left on the next boot (I have no Windows partition) and I'd have to boot into the Arch install USB and reinstall grub.
I would also have to go into BIOS and re-enable my onboard sound card (I have another one for headphones, which disabled the onboard by default when detected)
If you aren't losing the time/date or BIOS settings, then I may be wrong.
Deleted before we saved it.
Deleted before we saved it.
if nothing helps, maybe open an issue.
Maybe it's just hibernating when you push the button on the PC.
Deleted before we saved it.