Skip to content

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?

24 points18 comments
Open on Reddit
About this post
Posted
Archived
Score
24 · 92% up
Kind
Text
ID
nm94o9

Author

44
posts
30
comments
13
media
View profile

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.

10 points

Double check fast startup isn't enabled on windows. This can cause similar issues.

4 points

Have you tried installing grub as bootx64.efi? Some UEFI implementations are a bit buggy.

4 points

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.

4 points

I'm absolutely speculating but lt sounds bios config related, have you looked through your settings?

3 points
unknown author1 hidden

Deleted before we saved it.

2 points

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?

3 points

LGA 1150 / DDR3

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.

2 points
unknown author3 hidden

Deleted before we saved it.

1 points

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.

3 points
unknown author2 hidden

Deleted before we saved it.

2 points
unknown author

Deleted before we saved it.

1 points

Maybe it's just hibernating when you push the button on the PC.

2 points
unknown author

Deleted before we saved it.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.