Manjaro boot fails

Hi,

there’s a HP notebook that doesn’t boot anymore.
There was an update running while the battery runs empty.

Before:
The notebook hangs in grub menu, if I select the kernel to boot I got the message:
file /boot/vmlinuz-515xyz-anynumber not found

Now:
I tried to fix it with manjaro-chroot -a, did pacman -Syyu, and grub-install

manjaro-chroot -a
grub-probe: error: cannot find a GRUB drive for /dev/sda1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sda1.  Check your device.map.
==> Mounting (ManjaroLinux) [/dev/nvme0n1p3]
 --> mount: [/mnt]
 --> mount: [/mnt/boot/efi]
 --> mount: [/mnt/home]
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
Installing for x86_64-efi platform.
Installation finished. No error reported.
grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
ERROR: mkdir /var/lock/dmraid
grub-probe: error: cannot find a GRUB drive for /dev/sda1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sda1.  Check your device.map.
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type nvme0n1.
done
efibootmgr -v
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0002,2001,0000,2002,3002,2004
Boot0000* EFI Hard Drive (SK hynix BC501 HFM512GDJTNG-8310A)	PciRoot(0x0)/Pci(0x1d,0x4)/Pci(0x0,0x0)/NVMe(0x1,AC-E4-2E-00-0A-0D-FA-6E)/HD(1,GPT,9578db9d-dee4-8243-829b-74d59bcc201a,0x800,0x96000)RC
      dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 04 1d / 01 01 06 00 00 00 / 03 17 10 00 01 00 00 00 ac e4 2e 00 0a 0d fa 6e / 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 60 09 00 00 00 00 00 9d db 78 95 e4 de 43 82 82 9b 74 d5 9b cc 20 1a 02 02 / 7f ff 04 00
    data: 52 43
Boot0001* USB Hard Drive (UEFI) - Corsair Flash Voyager (Corsair Flash Voyager)PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/HD(1,MBR,0x0,0x75937c,0x2000)RC
      dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 00 14 / 03 05 06 00 00 00 / 04 01 2a 00 01 00 00 00 7c 93 75 00 00 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 01 / 7f ff 04 00
    data: 52 43
Boot0002* manjaro	HD(1,GPT,9578db9d-dee4-8243-829b-74d59bcc201a,0x800,0x96000)/File(\EFI\manjaro\grubx64.efi)
      dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 60 09 00 00 00 00 00 9d db 78 95 e4 de 43 82 82 9b 74 d5 9b cc 20 1a 02 02 / 04 04 36 00 5c 00 45 00 46 00 49 00 5c 00 6d 00 61 00 6e 00 6a 00 61 00 72 00 6f 00 5c 00 67 00 72 00 75 00 62 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
Boot2001* EFI USB Device	RC
      dp: 7f ff 04 00
    data: 52 43
Boot2002* EFI DVD/CDROM	RC
      dp: 7f ff 04 00
    data: 52 43
Boot3002* Internal Hard Disk or Solid State Disk	RC
      dp: 7f ff 04 00
    data: 52 43

Now, at boot, I get no Grub menu.

you reinstalled grub instead of reruning update again and reinstalling the broken kernel:
boot into manjaro live usb, make sure you are connected to internet, open terminal and chroot:
manjaro-chroot -a
rerun update:
pacman-mirrors -f 5 && pacman -Syyu
if there are errors post the output here, if there are no errors and you are up to date, post output from:
mhwd-kernel -li && mhwd -l -li

No, I did the update rerun before.

mhwd-kernel -li && mhwd -l -li
Currently running: 6.1.1-1-MANJARO (linux61)
The following kernels are installed in your system:
   * linux510
   * linux54
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI


Warning: No installed USB configs!
> 0000:01:00.0 (0200:10ec:8168) Network controller Realtek Semiconductor Co., Ltd.:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
         network-r8168            2016.04.20                true            PCI


> 0000:00:02.0 (0300:8086:9b41) Display controller Intel Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI

in the first post you mention 515 kernel, in the mhwd output its not even detected, so reinstall your kernels:
pacman -S linux54 linux510 linux515
if there were errors post them here…

for grub menu being shown during boot:
nano /etc/default/grub
and edit this line to look like this (its the third from top):
GRUB_TIMEOUT_STYLE=menu
save it with: ctrl+x, press ‘Y’, then enter and update grub:
update-grub

exit chroot and reboot

I forgot to say, I tried to install another kernel and removed the 5.15 kernel
I used mhwd-kernel to do this, that doesn’t works.

pacman seems to work

Many thanks, that worked!

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