You are not logged in.

#1 2022-10-27 01:49:07

BlurryFlurry
Member
Registered: 2022-10-13
Posts: 3

[Solved] no systemd-boot menu showing up at the startup

As I say hello to the arch community I'm gonna tell you the full story.
I'm new to the arch but I've been using Manjaro for a while just to grease up some wheels before I go fully arch

The system was running smoothly with windows, Linux, and Linux LTS in the startup boot menu until a stupid power failure, which led to some bios problems, then again I realized there was a bios update. so I downloaded this ridiculous bios update (7C39v142(Beta version) from MSI)
which I regretted a lot after that bios update deleted the boot entry somehow. I'm not sure how windows survived and managed to boot up but it only showed the windows boot manager in bios boot settings (Maybe windows replaced some default entry without giving a damn about other operating systems in some kinda startup repair process, I really have no idea but that can be the case)

then again, I opened a command prompt in administrator and mounted the EFI partition just to see what was in there, and I saw there are still Linux files in the boot partition.


So, I booted the system with Archlinux iso, and did this:

# mount -o subvol=@ /dev/sdc2 /mnt
# mount /dev/sdc1 /mnt/boot
# arch-chroot /mnt
# bootctl install
# reboot

It allowed me to boot up into the Arch, and it seems like Arch has become the default, which is what I want, but still, I want to be able to select which one to boot at the boot menu entries at startup, but there is none (system boots into arch immediately without letting me make a choice).

Then I re-installed the lts kernel (sudo pacman -S linux-lts) but still no luck

I have no idea how to get these entries back, I need your help with this, please.

$ bootctl status
System:
     Firmware: UEFI 2.70 (American Megatrends 5.12)
  Secure Boot: disabled (setup)
 TPM2 Support: yes
 Boot into FW: supported

Current Boot Loader:
      Product: systemd-boot 251.6-2-arch
     Features: ✓ Boot counting
               ✓ Menu timeout control
               ✓ One-shot menu timeout control
               ✓ Default entry control
               ✓ One-shot entry control
               ✓ Support for XBOOTLDR partition
               ✓ Support for passing random seed to OS
               ✓ Load drop-in drivers
               ✓ Boot loader sets ESP information
          ESP: /dev/disk/by-partuuid/492762ab-0978-4099-a146-a8bc9d67a6f8
         File: └─/EFI/SYSTEMD/SYSTEMD-BOOTX64.EFI

Random Seed:
 Passed to OS: yes
 System Token: set
       Exists: yes

Available Boot Loaders on ESP:
          ESP: /boot (/dev/disk/by-partuuid/492762ab-0978-4099-a146-a8bc9d67a6f8)
         File: └─/EFI/systemd/systemd-bootx64.efi (systemd-boot 251.6-2-arch)
         File: └─/EFI/BOOT/BOOTX64.EFI (systemd-boot 251.6-2-arch)

Boot Loaders Listed in EFI Variables:
        Title: Linux Boot Manager
           ID: 0x0000
       Status: active, boot-order
    Partition: /dev/disk/by-partuuid/492762ab-0978-4099-a146-a8bc9d67a6f8
         File: └─/EFI/SYSTEMD/SYSTEMD-BOOTX64.EFI

        Title: Windows Boot Manager
           ID: 0x0002
       Status: active, boot-order
    Partition: /dev/disk/by-partuuid/492762ab-0978-4099-a146-a8bc9d67a6f8
         File: └─/EFI/MICROSOFT/BOOT/BOOTMGFW.EFI

Boot Loader Entries:
        $BOOT: /boot (/dev/disk/by-partuuid/492762ab-0978-4099-a146-a8bc9d67a6f8)
$ bootctl list
Boot Loader Entries:
         type: Boot Loader Specification Type #1 (.conf)
        title: Arch Linux (linux) (default) (selected)
           id: 2022-10-17_07-35-54_linux.conf
       source: /boot/loader/entries/2022-10-17_07-35-54_linux.conf
        linux: /vmlinuz-linux
       initrd: /intel-ucode.img
               /initramfs-linux.img
      options: root=PARTUUID=eafb741e-2171-47b7-bde9-d0862ad5e63e zswap.enabled=0 rootflags=subvol=@ rw intel_pstate=no_hwp rootfstype=btrfs

         type: Boot Loader Specification Type #1 (.conf)
        title: Arch Linux (LTS)
           id: arch-lts.conf
       source: /boot/loader/entries/arch-lts.conf
        linux: /vmlinuz-linux-lts
       initrd: /intel-ucode.img
               /initramfs-linux-lts.img
      options: root=PARTUUID=eafb741e-2171-47b7-bde9-d0862ad5e63e zswap.enabled=0 rootflags=subvol=@ rw intel_pstate=no_hwp rootfstype=btrfs

         type: Automatic
        title: Windows Boot Manager
           id: auto-windows
       source: /sys/firmware/efi/efivars/LoaderEntries-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f

         type: Automatic
        title: Reboot Into Firmware Interface
           id: auto-reboot-to-firmware-setup
       source: /sys/firmware/efi/efivars/LoaderEntries-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f
cat /boot/loader/loader.conf
timeout 2
#console-mode keep
$ cat /boot/loader/entries/arch-lts.conf
# Created by: archinstall
# Created on: 2022-10-17_07-35-54
title Arch Linux (LTS)
linux /vmlinuz-linux-lts
initrd /intel-ucode.img
initrd /initramfs-linux-lts.img
options root=PARTUUID=eafb741e-2171-47b7-bde9-d0862ad5e63e zswap.enabled=0 rootflags=subvol=@ rw intel_pstate=no_hwp rootfstype=btrfs
$ cat /boot/loader/entries/2022-10-17_07-35-54_linux.conf
# Created by: archinstall
# Created on: 2022-10-17_07-35-54
title Arch Linux (linux)
linux /vmlinuz-linux
initrd /intel-ucode.img
initrd /initramfs-linux.img
options root=PARTUUID=eafb741e-2171-47b7-bde9-d0862ad5e63e zswap.enabled=0 rootflags=subvol=@ rw intel_pstate=no_hwp rootfstype=btrfs
# cd /boot
# find . | sed -e "s/[^-][^\/]*\// |/g" -e "s/|\([^ ]\)/|-\1/"
.
 |-intel-ucode.img
 |-vmlinuz-linux
 |-initramfs-linux.img
 |-initramfs-linux-fallback.img
 |-EFI
 | |-systemd
 | | |-systemd-bootx64.efi
 | |-BOOT
 | | |-BOOTX64.EFI
 | |-Linux
 | |-Microsoft
 | | |-Boot
 | | | |-BCD
 | | | |-BCD.LOG
 | | | |-BCD.LOG1
 | | | |-BCD.LOG2
 | | | |-bg-BG
 | | | | |-bootmgfw.efi.mui
 | | | | |-bootmgr.efi.mui
 | | | |-memtest.efi
 | | | |-boot.stl
 | | | |-bootmgfw.efi
 | | | |-CIPolicies
 | | | | |-Active
 | | | | | |-{5DAC656C-21AD-4A02-AB49-649917162E70}.cip
 | | | | | |-{82443e1e-8a39-4b4a-96a8-f40ddc00b9f3}.cip
 | | | | | |-{CDD5CB55-DB68-4D71-AA38-3DF2B6473A52}.cip
 | | | |-cs-CZ
 | | | | |-bootmgfw.efi.mui
 | | | | |-bootmgr.efi.mui
 | | | | |-memtest.efi.mui
 | | | |-da-DK
 | | | | |-bootmgfw.efi.mui
 | | | | |-bootmgr.efi.mui
 | | | | |-memtest.efi.mui
 | | | |-de-DE
 | | | | |-bootmgfw.efi.mui
 | | | | |-bootmgr.efi.mui
 | | | | |-memtest.efi.mui
 | | | |-el-GR
 | | | | |-bootmgfw.efi.mui
 | | | | |-bootmgr.efi.mui
 | | | | |-memtest.efi.mui
 | | | |-en-GB
 | | | | |-bootmgfw.efi.mui
 | | | | |-bootmgr.efi.mui
 | | | |-en-US
 | | | | |-bootmgfw.efi.mui
 | | | | |-bootmgr.efi.mui
 | | | | |-memtest.efi.mui
 | | | |-es-ES
 | | | | |-bootmgfw.efi.mui
 | | | | |-bootmgr.efi.mui
 | | | | |-memtest.efi.mui
 | | | |-es-MX
 | | | | |-bootmgfw.efi.mui
 | | | | |-bootmgr.efi.mui
 | | | |-et-EE
 | | | | |-bootmgfw.efi.mui
 | | | | |-bootmgr.efi.mui
 | | | |-fi-FI
 | | | | |-bootmgfw.efi.mui
 | | | | |-bootmgr.efi.mui
 | | | | |-memtest.efi.mui
 | | | |-fr-CA
 | | | | |-bootmgfw.efi.mui
 | | | | |-bootmgr.efi.mui
 | | | |-fr-FR
 | | | | |-bootmgfw.efi.mui
 | | | | |-bootmgr.efi.mui
 | | | | |-memtest.efi.mui
 | | | |-hr-HR
 | | | | |-bootmgfw.efi.mui
 | | | | |-bootmgr.efi.mui
 | | | |-hu-HU
 | | | | |-bootmgfw.efi.mui
 | | | | |-bootmgr.efi.mui
 | | | | |-memtest.efi.mui
 | | | |-it-IT
 | | | | |-bootmgfw.efi.mui
 | | | | |-bootmgr.efi.mui
 | | | | |-memtest.efi.mui
 | | | |-ja-JP
 | | | | |-bootmgfw.efi.mui
 | | | | |-bootmgr.efi.mui
 | | | | |-memtest.efi.mui
 | | | |-winsipolicy.p7b
 | | | |-bootmgr.efi
 | | | |-kdnet_uart16550.dll
 | | | |-kdstub.dll
 | | | |-kd_02_10df.dll
 | | | |-kd_02_10ec.dll
 | | | |-kd_02_1137.dll
 | | | |-kd_02_14e4.dll
 | | | |-kd_02_15b3.dll
 | | | |-kd_02_1969.dll
 | | | |-kd_02_19a2.dll
 | | | |-kd_02_1af4.dll
 | | | |-kd_02_8086.dll
 | | | |-ko-KR
 | | | | |-bootmgfw.efi.mui
 | | | | |-bootmgr.efi.mui
 | | | | |-memtest.efi.mui
 | | | |-lt-LT
 | | | | |-bootmgfw.efi.mui
 | | | | |-bootmgr.efi.mui
 | | | |-lv-LV
 | | | | |-bootmgfw.efi.mui
 | | | | |-bootmgr.efi.mui
 | | | |-nb-NO
 | | | | |-bootmgfw.efi.mui
 | | | | |-bootmgr.efi.mui
 | | | | |-memtest.efi.mui
 | | | |-nl-NL
 | | | | |-bootmgfw.efi.mui
 | | | | |-bootmgr.efi.mui
 | | | | |-memtest.efi.mui
 | | | |-pl-PL
 | | | | |-bootmgfw.efi.mui
 | | | | |-bootmgr.efi.mui
 | | | | |-memtest.efi.mui
 | | | |-pt-BR
 | | | | |-bootmgfw.efi.mui
 | | | | |-bootmgr.efi.mui
 | | | | |-memtest.efi.mui
 | | | |-pt-PT
 | | | | |-bootmgfw.efi.mui
 | | | | |-bootmgr.efi.mui
 | | | | |-memtest.efi.mui
 | | | |-qps-ploc
 | | | | |-memtest.efi.mui
 | | | |-ro-RO
 | | | | |-bootmgfw.efi.mui
 | | | | |-bootmgr.efi.mui
 | | | |-ru-RU
 | | | | |-bootmgfw.efi.mui
 | | | | |-bootmgr.efi.mui
 | | | | |-memtest.efi.mui
 | | | |-sk-SK
 | | | | |-bootmgfw.efi.mui
 | | | | |-bootmgr.efi.mui
 | | | |-sl-SI
 | | | | |-bootmgfw.efi.mui
 | | | | |-bootmgr.efi.mui
 | | | |-sr-Latn-RS
 | | | | |-bootmgfw.efi.mui
 | | | | |-bootmgr.efi.mui
 | | | |-sv-SE
 | | | | |-bootmgfw.efi.mui
 | | | | |-bootmgr.efi.mui
 | | | | |-memtest.efi.mui
 | | | |-tr-TR
 | | | | |-bootmgfw.efi.mui
 | | | | |-bootmgr.efi.mui
 | | | | |-memtest.efi.mui
 | | | |-uk-UA
 | | | | |-bootmgfw.efi.mui
 | | | | |-bootmgr.efi.mui
 | | | |-kd_07_1415.dll
 | | | |-zh-CN
 | | | | |-bootmgfw.efi.mui
 | | | | |-bootmgr.efi.mui
 | | | | |-memtest.efi.mui
 | | | |-zh-TW
 | | | | |-bootmgfw.efi.mui
 | | | | |-bootmgr.efi.mui
 | | | | |-memtest.efi.mui
 | | | |-BOOTSTAT.DAT
 | | | |-Fonts
 | | | | |-segmono_boot.ttf
 | | | | |-segoen_slboot.ttf
 | | | | |-segoe_slboot.ttf
 | | | | |-chs_boot.ttf
 | | | | |-cht_boot.ttf
 | | | | |-jpn_boot.ttf
 | | | | |-kor_boot.ttf
 | | | | |-malgunn_boot.ttf
 | | | | |-malgun_boot.ttf
 | | | | |-meiryon_boot.ttf
 | | | | |-meiryo_boot.ttf
 | | | | |-msjhn_boot.ttf
 | | | | |-msjh_boot.ttf
 | | | | |-msyhn_boot.ttf
 | | | | |-msyh_boot.ttf
 | | | | |-wgl4_boot.ttf
 | | | |-Resources
 | | | | |-en-US
 | | | | | |-bootres.dll.mui
 | | | | |-bootres.dll
 | | | |-kd_0C_8086.dll
 | | |-Recovery
 | | | |-BCD
 | | | |-BCD.LOG
 | | | |-BCD.LOG1
 | | | |-BCD.LOG2
 |-loader
 | |-entries
 | | |-2022-10-17_07-35-54_linux.conf
 | | |-arch-lts.conf
 | |-loader.conf
 | |-random-seed
 | |-entries.srel
 |-vmlinuz-linux-lts
 |-initramfs-linux-lts.img
 |-initramfs-linux-lts-fallback.img
$ uname -r
6.0.2-arch1-1

Edit:
I'm not sure how this got fixed.
I changed the timeout from 3 to 0, and then again changed it back to 3 and it just got fixed automatically.

Now I changed the timeout back to 0 and when I hold the spacebar, it appears the bootmenu so I can make my choice.

So strange, but now the problem is solved.

Last edited by BlurryFlurry (2022-11-07 12:51:30)

Offline

#2 2022-11-02 10:49:24

philo
Member
Registered: 2015-01-26
Posts: 212

Re: [Solved] no systemd-boot menu showing up at the startup

Then please your thread title as [SOLVED).

Offline

#3 2022-11-07 12:52:04

BlurryFlurry
Member
Registered: 2022-10-13
Posts: 3

Re: [Solved] no systemd-boot menu showing up at the startup

philo wrote:

Then please your thread title as [SOLVED).

Sorry for the delay. Done that and thank you for the response.

Offline

Board footer

Powered by FluxBB