System boots into grub command line after update

Hello,

I’ve recently run into this weird issue that instead of booting into the standard boot menu where I can select from different snapshots my system boots into the grub command prompt. Where I have to run “exit” to get into the normal boot menu.

I’ve changed nothing from stock in the boot settings.

I guess it happened after a update but I am not entirely sure.

If you need any info feel free to ask, I am not entirely sure what infos to post here.

Is this EFI booting? If it is, please post the output from:

efibootmgr -v

YaST is saying systemd Boot.

The Ubuntu partitions are from my previous OS which I deleted but the entries remained.

BootCurrent: 0006
Timeout: 0 seconds
BootOrder: 0000,0004,0001,0002,0003,0006
Boot0000* openSUSE Boot Manager (systemd-boot)  HD(1,GPT,3a2ff127-5ae2-41f1-92c0-a58883d19caf,0x800,0x219800)/File(\EFI\systemd\shim.efi)
      dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 98 21 00 00 00 00 00 27 f1 2f 3a e2 5a f1 41 92 c0 a5 88 83 d1 9c af 02 02 / 04 04 30 00 5c 00 45 00 46 00 49 00 5c 00 73 00 79 00 73 00 74 00 65 00 6d 00 64 00 5c 00 73 00 68 00 69 00 6d 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
Boot0001  USB:          PciRoot(0x0)/Pci(0x14,0x0)4eac0881119f594d850ee21a522c59b20b80000049535048
      dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 00 14 / 7f ff 04 00
    data: 4e ac 08 81 11 9f 59 4d 85 0e e2 1a 52 2c 59 b2 0b 80 00 00 49 53 50 48
Boot0002  Network Boot:IPV4     PciRoot(0x0)/Pci(0x0,0x0)/IPv4(0.0.0.00.0.0.0,0,0)4eac0881119f594d850ee21a522c59b21b90000049535048
      dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 00 00 / 03 0c 1b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 / 7f ff 04 00
    data: 4e ac 08 81 11 9f 59 4d 85 0e e2 1a 52 2c 59 b2 1b 90 00 00 49 53 50 48
Boot0003  Network Boot:IPV6     PciRoot(0x0)/Pci(0x0,0x0)/IPv6([::]:<->[::]:,0,0)4eac0881119f594d850ee21a522c59b21b98000049535048
      dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 00 00 / 03 0d 3c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 / 7f ff 04 00
    data: 4e ac 08 81 11 9f 59 4d 85 0e e2 1a 52 2c 59 b2 1b 98 00 00 49 53 50 48
Boot0004* Ubuntu        HD(1,GPT,3a2ff127-5ae2-41f1-92c0-a58883d19caf,0x800,0x219800)/File(\EFI\ubuntu\shimx64.efi) File(.)
      dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 98 21 00 00 00 00 00 27 f1 2f 3a e2 5a f1 41 92 c0 a5 88 83 d1 9c af 02 02 / 04 04 34 00 5c 00 45 00 46 00 49 00 5c 00 75 00 62 00 75 00 6e 00 74 00 75 00 5c 00 73 00 68 00 69 00 6d 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
    data: 04 00 00 00 49 53 50 48
Boot0005* Ubuntu        HD(1,GPT,3a2ff127-5ae2-41f1-92c0-a58883d19caf,0x800,0x219800)/File(\EFI\ubuntu\shimx64.efi)
      dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 98 21 00 00 00 00 00 27 f1 2f 3a e2 5a f1 41 92 c0 a5 88 83 d1 9c af 02 02 / 04 04 34 00 5c 00 45 00 46 00 49 00 5c 00 75 00 62 00 75 00 6e 00 74 00 75 00 5c 00 73 00 68 00 69 00 6d 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
Boot0006* openSUSE Boot Manager HD(1,GPT,3a2ff127-5ae2-41f1-92c0-a58883d19caf,0x800,0x219800)/File(\EFI\systemd\shim.efi)
      dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 98 21 00 00 00 00 00 27 f1 2f 3a e2 5a f1 41 92 c0 a5 88 83 d1 9c af 02 02 / 04 04 30 00 5c 00 45 00 46 00 49 00 5c 00 73 00 79 00 73 00 74 00 65 00 6d 00 64 00 5c 00 73 00 68 00 69 00 6d 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00

When removing an OS you need to manually remove the BIOS entries. Just deleting or re-purposing partitions does nothing tot the BIOS settings.

You can try removing them, with:

efibootmgr -b 0004 -B
efibootmgr -b 0005 -B

Whether that works will depend on your BIOS.

From the symptoms you describe in the first post, it looks as if the boot order might need adjusting. However, it looks okay if you are using “systemd-boot”.

1 Like

Maybe the firmware (BIOS) has a different opinion, so worth looking at it entering the BIOS menu and checking.

1 Like

Okay for some reason it seems my Bios disabled the OpenSuse Boot manager I have no idea why that happened but enabling it again worked.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.