Grub prompt after crash: I don't have grub installed, but systemd boot!

I am on EOS with Plasma, and have switched to systemd boot more than a year ago, and that with a fresh install, so Grub isn’t installed on my system, unless it is as a fallback or something i was unaware about.

I have been having odd and hard to pinpoint issues with monitor brightness, and sleep, suspend… ever since Plasma 6 was released, I update almost every night, so last night too.

Has anyone else had the issue, or have some clue how that could be? I did reboot and everything seems normal, but then again the crash itself is odd, and on reboot my NVIDIA card for the first time ever used my monitor on the display port to show it’s boot screen, not the one on it’s HDMI port, which it never did before.

Here is my setup"

Operating System: EndeavourOS
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Kernel Version: 6.9.8-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700X 8-Core Processor
Memory: 62.7 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1050/PCIe/SSE2

I used the default EOS NVIDIA install, not sure if it’s the Linux driver stack or NVIDIA’s proprietary one, which it may be due to it taking forever to install NVIDIA stuff (For 3 Kernels: Newest, stable as fallback and Zen for music production) with every kernel update.

Please tell me I am not loosing my mind!

How could you be getting a grub prompt if using systemd-boot?

efibootmgr -uv

1 Like

I don’t know, and why I clearly asked if anyone else does know. I can only speculate: a systemd message or prompt borrowed some grub code or just the prompt “Grub _” as a standby in development and never changed it to say systemd _ (a simple mistake), or grub got installed as a dependency (very unlikely).

What does the above command show?

1 Like

BootCurrent: 0006
Timeout: 1 seconds
BootOrder: 0006,0004,0005
Boot0004* Hard Drive BBS(HD,0x0)
dp: 05 01 09 00 02 00 00 00 00 / 7f ff 04 00
data: 00 00 47 4f 00 00 4e 4f b7 00 00 00 01 00 00 00 77 00 57 00 44 00 5f 00 42 00 4c 00 41 00 43 00 4b 00 20 00 53 00 4e 00 38 00 35 00 30 00 58 00 20 00 31 00 30 00 30 00 30 00 47 00 42 00 00 00 05 01 09 00 02 00 00 00 00 7f ff 04 00 02 01 0c 00 d0 41 03 0a 00 00 00 00 01 01 06 00 02 01 01 01 06 00 00 00 01 01 06 00 00 01 01 01 06 00 00 00 03 17 10 00 01 00 00 00 00 1b 44 8b 4e 79 78 f6 7f ff 04 00 01 04 2e 00 ef 47 64 2d c9 3b a0 41 ac 19 4d 51 d0 1b 4c e6 32 00 33 00 30 00 32 00 30 00 38 00 38 00 30 00 30 00 30 00 39 00 30 00 00 00 7f ff 04 00 00 00 42 4f 00 00 4e 4f b1 00 00 00 01 00 00 00 6b 00 57 00 44 00 5f 00 42 00 4c 00 41 00 43 00 4b 00 20 00 53 00 4e 00 38 00 35 00 30 00 58 00 20 00 48 00 53 00 20 00 31 00 30 00 30 00 30 00 47 00 42 00 00 00 05 01 09 00 02 00 00 00 00 7f ff 04 00 02 01 0c 00 d0 41 03 0a 00 00 00 00 01 01 06 00 01 01 01 01 06 00 00 00 03 17 10 00 01 00 00 00 00 1b 44 8b 4e cd 30 39 7f ff 04 00 01 04 2e 00 ef 47 64 2d c9 3b a0 41 ac 19 4d 51 d0 1b 4c e6 32 00 33 00 30 00 31 00 31 00 53 00 38 00 30 00 32 00 33 00 36 00 33 00 00 00 7f ff 04 00 00 00 42 4f 00 00 4e 4f bb 00 00 00 01 00 00 00 81 00 53 00 54 00 34 00 30 00 30 00 30 00 4e 00 4d 00 30 00 30 00 33 00 35 00 2d 00 31 00 56 00 34 00 31 00 30 00 37 00 00 00 05 01 09 00 02 00 00 00 00 7f ff 04 00 02 01 0c 00 d0 41 03 0a 00 00 00 00 01 01 06 00 02 01 01 01 06 00 00 00 01 01 06 00 00 09 01 01 06 00 00 00 03 12 0a 00 00 00 ff ff 00 00 7f ff 04 00 01 04 3e 00 ef 47 64 2d c9 3b a0 41 ac 19 4d 51 d0 1b 4c e6 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 43 00 5a 00 43 00 31 00 57 00 58 00 4e 00 54 00 00 00 7f ff 04 00 00 00 42 4f 00 00 4e 4f c3 00 00 00 01 00 00 00 81 00 53 00 61 00 6d 00 73 00 75 00 6e 00 67 00 20 00 53 00 53 00 44 00 20 00 38 00 36 00 30 00 20 00 45 00 56 00 4f 00 20 00 31 00 54 00 42 00 00 00 05 01 09 00 02 00 00 00 00 7f ff 04 00 02 01 0c 00 d0 41 03 0a 00 00 00 00 01 01 06 00 02 01 01 01 06 00 00 00 01 01 06 00 00 0a 01 01 06 00 00 00 03 12 0a 00 05 00 ff ff 00 00 7f ff 04 00 01 04 3e 00 ef 47 64 2d c9 3b a0 41 ac 19 4d 51 d0 1b 4c e6 33 00 53 00 38 00 5a 00 42 00 4e 00 4b 00 30 00 35 00 43 00 31 00 31 00 32 00 32 00 20 00 50 00 20 00 20 00 20 00 20 00 00 00 7f ff 04 00 00 00 42 4f
Boot0005* CD/DVD Drive BBS(CDROM,0x0)
dp: 05 01 09 00 03 00 00 00 00 / 7f ff 04 00
data: 00 00 47 4f 00 00 4e 4f c3 00 00 00 01 00 00 00 81 00 41 00 54 00 41 00 50 00 49 00 20 00 20 00 20 00 44 00 56 00 44 00 20 00 41 00 20 00 20 00 44 00 48 00 31 00 36 00 41 00 41 00 53 00 48 00 00 00 05 01 09 00 03 00 00 00 00 7f ff 04 00 02 01 0c 00 d0 41 03 0a 00 00 00 00 01 01 06 00 02 01 01 01 06 00 00 00 01 01 06 00 00 09 01 01 06 00 00 00 03 12 0a 00 01 00 ff ff 00 00 7f ff 04 00 01 04 3e 00 ef 47 64 2d c9 3b a0 41 ac 19 4d 51 d0 1b 4c e6 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 00 00 7f ff 04 00 00 00 42 4f
Boot0006* UEFI OS HD(1,GPT,7adad42f-c0b2-496d-b037-47ea10bf2d00,0x800,0x200000)/\EFI\BOOT\BOOTX64.EFI
dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 00 20 00 00 00 00 00 2f d4 da 7a b2 c0 6d 49 b0 37 47 ea 10 bf 2d 00 02 02 / 04 04 30 00 5c 00 45 00 46 00 49 00 5c 00 42 00 4f 00 4f 00 54 00 5c 00 42 00 4f 00 4f 00 54 00 58 00 36 00 34 00 2e 00 45 00 46 00 49 00 00 00 / 7f ff 04 00
data: 00 00 42 4f

And this just reminded me that I cannot for the life of me find info on how to change the kernel order on boot, so I don’t have to always scroll down to the list to pick the most recent Kernel, and end up in the LTS kernel if I miss it, because I have it as a “just in case” choice.

At least this shows it’s not booting grub. This is systemd-boot. Here is the wiki to show you how to change the boot order. So currently is the system working?

https://discovery.endeavouros.com/installation/systemd-boot/2022/12/

Yeah, the system has been rock solid since!

Hey thanks! Of course I didn’t look for the “How to…” in installation instructions, and I looked for the answer here! Every once in a while you can search high and low with all kinds of ways of asking, only to find nothing, and then you find the answer in a posting with a completely irrelevant title! You would think “systemd, change boot menu” would be a sure hit! :exploding_head: :crazy_face: :partying_face:

Just wait, I’m going to change it, and reboot to get a Windows login screen, even though I haven’t used Windows at all in over a decade, and never had it on any of the drives in this PC!! :sweat_smile:!

2 Likes

Really? :smile: How can you tell that?

The current boot is using the drive default UEFI entry, which can be any boot loader, including Windows, grub or some uki, if it was set by some installer.

As it was just explained, it is very possible that the default disk UEFI entry is an old grub bootloader, from an older system installation, or an OS in parallel (on an other disk drive, even if that other drive does not currently exist).

More facts/info can give more/better answers.

find /boot/  -iname "*.efi" -exec /bin/ls -l {} \;
pacman -Qs grub
lsblk -fo +PARTUUID
grep -vE "\s*#" /etc/fstab | sed 's|\s\+| |g'

Funnily interesting topic :rofl:

1 Like

I’m only going by the output of efibootmgr which shows that it is systemd-boot because it shows /EFI/BOOT/BOOTX64.EFI

I don’t see any reference to grub. :man_shrugging:
Yes it’s true when the issue happened it could have picked up an older entry or from another drive. But again I have no idea what exactly happened. I’m no expert, I only know what i see and it doesn’t look like grub. I do use grub not systemd-boot so I’m somewhat familair with it. :upside_down_face:

But you are right could be …and you have more knowledge than i do. I’m just a newbie! :laughing:

1 Like

I know how to install an OS and how a boot loader gets installed, the difference between the BIOS, and UEFI… and why I absolutely should not see a Grub prompt.

I already said I never had any other boot loader other than Systemd on any of the drives in this system, so what’s your point, because none of that is in question.

How about this: Since the DE is the one showing random problems, like not coming back quite right after waking from sleep, and differently every time, and the crash didn’t cause a hard reboot, could that have come from Plasma, and just an erroneous old entry in one of it’s files, keeping in mind that I normally keep my config files when reinstalling, so I don’t have to change a few hundred settings, but when Plasma 6 came out, I completely formatted the drives and installed it, new configs and all to make sure it wouldn’t cause any issues, so by “one of Plasma’s files” I mean as they came with Plasma 6 out of the box.

Otherwise the only thing I can think of is that the BIOS (pre UEFI) has an old entry in it, because it does have a feature to save boot configurations, and when I rebooted, it somehow tried to call on one?

Any which way I still have the sleep/wake… problems and they vary widely, both in what happens, and when they happen, which so far has been when waking up, and mostly right away, but not always; one time it took a few minutes.

MY PC IS MENTALLY ILL! :scream:

Not sure what you mean here Bios (pre EUFI)? Did you have it installed before in Bios (Mbr)?

Edit: Can you post the whole hardware output? Post the url

inxi -Faz | eos-sendlog

You need to put it through Arch therapy! :laughing:

1 Like

I explained the only scenario that could lead to a grub-rescue prompt.
Can you describe another possibility?
I don’t doubt your experience and your descriptions of what you see, but I prefer hard facts, in case there is some misconception, or wrong assumptions, since I can’t see what you see.
How difficult is it to provide info from terminal commands, as requested previously? How else can anyone help you?
Oh, I forgot to mention that my Magic Crystal Ball :crystal_ball: is on summer vacations currently :wink: .

Just for better understanding, a grub-rescue prompt can only be presented if and only if there is a grub-produced file on some partition, on some drive. It cannot happen in any other way. And this :point_down: is not in play:

I just ran it, and it’s been a whole minute+ and still no output :thinking:

Not difficult at all, but I have a business to run and work to do, so I cannot necessarily get back to reading the comments immediately!

I didn’t ask anyone to drop everything to help me and stay until it’s fixed! If I am not impatient, then why are you? I expect others can’t give me their undivided attention, just glad for what little time anyone contributes.

Also That one time grub prompt isn’t even as important as finding the reason why the DE is having these problems in the first place, and I posted it more because it’s a very strange curiosity I would have never expected, that although may hold the answer, or part of it.

No wonder nothing happened, the sendlog warning popped up under the terminal window, and I couldn’t see it! :crazy_face:

I sent it! Be careful it’s a pastelog, and has paste all over i! I recommend Vinyl gloves! :upside_down_face:

I suppose there is some misunderstanding. I never wanted to rush you, nor am I impatient. My PCs are currently working fine.

In my expert opinion, it could potentially have to do with your other more serious issues.
Take your time, like I do with my time :wink:

Where did you paste it? :crazy_face: