Manjaro does not boot after installing a new Kernel-dropped Into emergency shell, for people who think they have a big problem but are actually just noobs

i ran the command

which one? this:
pacman-mirrors --fasttrack 5 && pacman -Syyu

yessir

and did you have any errors?
post again output from:
mhwd-kernel -li

No errors

Currently running: 5.13.19-2-MANJARO (linux513)
The following kernels are installed in your system:
warning: database file for 'core' does not exist (use '-Sy' to download)
warning: database file for 'extra' does not exist (use '-Sy' to download)
warning: database file for 'community' does not exist (use '-Sy' to download)
warning: database file for 'multilib' does not exist (use '-Sy' to download)
   * linux513
warning: database file for 'core' does not exist (use '-Sy' to download)
warning: database file for 'extra' does not exist (use '-Sy' to download)
warning: database file for 'community' does not exist (use '-Sy' to download)
warning: database file for 'multilib' does not exist (use '-Sy' to download)

but its the same right

so close the terminal, open it again and run again this:
sudo manjaro-chroot -a
then run this:
pacman-mirrors --fasttrack 5 && pacman -Syyu
and post output from this command

good, now lets install a kernel:
sudo mhwd-kernel -i linux515

:: Synchronizing package databases...
 core                                                                                   166.6 KiB   980 KiB/s 00:00 [#####################################################################] 100%
 extra                                                                                 1859.8 KiB  16.5 MiB/s 00:00 [#####################################################################] 100%
 community                                                                                7.0 MiB  22.6 MiB/s 00:00 [#####################################################################] 100%
 multilib                                                                               174.5 KiB  7.41 MiB/s 00:00 [#####################################################################] 100%
error: no targets specified (use -h for help)
Currently running: 5.13.19-2-MANJARO (linux513)
The following kernels are installed in your system:
   * linux414

where did the 414 come fromā€¦
and if you install with this:
pacman -S linux515

idk, should i type this

run that command, and see if it installs the kernel

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 linux515-5.15.46-1-x86_64 is up to date
(1/1) checking keys in keyring                                                                                      [#####################################################################] 100%
(1/1) checking package integrity                                                                                    [#####################################################################] 100%
(1/1) loading package files                                                                                         [#####################################################################] 100%
(1/1) checking for file conflicts                                                                                   [#####################################################################] 100%
(1/1) checking available disk space                                                                                 [#####################################################################] 100%
:: Processing package changes...
(1/1) installing linux515                                                                                           [#####################################################################] 100%
Optional dependencies for linux515
    wireless-regdb: to set the correct wireless channels of your country [installed]
:: Running post-transaction hooks...
(1/5) Arming ConditionNeedsUpdate...
(2/5) Updating module dependencies...
(3/5) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux515.preset: 'default'
  -> -k /boot/vmlinuz-5.15-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.15-x86_64.img
==> Starting build: 5.15.46-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.15-x86_64.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux515.preset: 'fallback'
  -> -k /boot/vmlinuz-5.15-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.15-x86_64-fallback.img -S autodetect
==> Starting build: 5.15.46-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: qed
==> WARNING: Possibly missing firmware for module: qla2xxx
==> WARNING: Possibly missing firmware for module: qla1280
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.15-x86_64-fallback.img
==> Image generation successful
(4/5) Refreshing PackageKit...
Error connecting: Could not connect: No such file or directory
error: command failed to execute correctly
(5/5) Updating Grub-Bootmenu
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-5.15-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.15-x86_64.img
Found initrd fallback image: /boot/initramfs-5.15-x86_64-fallback.img
Found linux image: /boot/vmlinuz-4.14-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-4.14-x86_64.img
Found initrd fallback image: /boot/initramfs-4.14-x86_64-fallback.img
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.
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

i dunno, probably did

looks like itā€¦
run these:
exit
systemctl reboot
and hopefully you boot normally

1 Like

Thank you so so much. I mean it. Youā€™re a lifesaver. Have a great day.

so did it worked?
go to system settings/ kernel and uninstall the 4.14 kernel, its too oldā€¦ and install the 5.10LTS as a backup kernel

Do you have a command for that because if I do it manually it just says changes successfully made but itā€™s still installed

you mean the 4.14?
provide output again from:
mhwd-kernel -li

And now I know again how this happened. Exactly like this. I installed it because the newer Kernel didnā€™t work for anything and then I wanted to remove it, but I didnā€™t work. Then the message with the restart and there we were.