Boot error vmlinuz-5.6

Hello, I’m have some issues, my computer froze while updating and I recived “error file ‘/boot/vmlinuz-5.6-x86_64’ not found” on a black command line screen once I booted back up, I’ve gone through the entire troubleshooting wiki page on restoring Grub through terminal commands with no luck, as well as scouring the internet for 5 hours now :skull: any advice?

Did you by accident uninstalled your kernel?

I would suggest booting up a live iso of Manjaro and then chrooting into your broken installation (it will give you shell to fix stuff ) and try installing linux56 or better yet something more recent like linux-latest (or something similarly called).

Chrooting is not as difficult as some people claim.

After booting live iso connect to internet then you open up terminal and attempt

sudo manjaro-chroot -a
and then install
sudo pacman -Sy linux-latest

If it fails with can’t find mount point 0! then you used something like full disk encryption and you better consult here for further guidence if wikipage article is not helping you.

2 Likes
  • does it frozen during update ?
  • you have also lost GUI interface ?
  1. repair with fsck partitions
  2. with USB iso live manjaro
    open a terminal and browser on this topic
sudo manjaro-chroot -a ( type 1 if only one line appears )
pacman -Syy 
pacman -Syu
mhwd-kernel -i linux57
exit ( quit chroot )

if error on update - hook , exit for end chroot
return all error message

2 Likes

Welp, I’ve been doing all of this off my live sd card and already entered chroot, so the other commands give the following:
[manjaro /]# pacman -Syy
:: Synchronizing package databases…
error: failed to update core (unable to lock database)
error: failed to update extra (unable to lock database)
error: failed to update community (unable to lock database)
error: failed to update multilib (unable to lock database)
error: failed to synchronize all databases
[manjaro /]# pacman -Syu
:: Synchronizing package databases…
error: failed to update core (unable to lock database)
error: failed to update extra (unable to lock database)
error: failed to update community (unable to lock database)
error: failed to update multilib (unable to lock database)
error: failed to synchronize all databases
[manjaro /]# mhwd-kernel -i linux57
:: Synchronizing package databases…
error: failed to update core (unable to lock database)
error: failed to update extra (unable to lock database)
error: failed to update community (unable to lock database)
error: failed to update multilib (unable to lock database)
error: failed to synchronize all databases
error: no targets specified (use -h for help)
[manjaro /]#

1 Like

I’ve been issuing all these commands through my live SD card, so I’m already in chroot, so this is that linux latest gives:
[manjaro /]# sudo pacman -Sy linux-latest
:: Synchronizing package databases…
error: failed to update core (unable to lock database)
error: failed to update extra (unable to lock database)
error: failed to update community (unable to lock database)
error: failed to update multilib (unable to lock database)
error: failed to synchronize all databases
[manjaro /]#

From the old forum:

2 Likes

redo chroot

  1. with USB iso live manjaro

open a terminal and browser on this topic

sudo manjaro-chroot -a ( type 1 if only one line appears )
rm -f /var/lib/pacman/db.lck
pacman -Syy 
pacman -Syu
mhwd-kernel -i linux57
exit ( quit chroot )
1 Like


Just putting this up here before reboot in case I need to look back.

I’ve just done this and it looks like the process went through successfully, however on reboot I recive the same original error.
There’s a screenshot below showing the terminal.

From the success of command to update to latest linux, I can only assume it is an error within linux56 which my system is trying to boot from as this might indicate:

[manjaro@manjaro ~]$ sudo manjaro-chroot -a
==> Mounting (ManjaroLinux) [/dev/sda2]
–> mount: [/mnt]
–> mount: [/mnt/boot/efi]
[manjaro /]# pacman -Syy
:: Synchronizing package databases…
core 168.7 KiB 1592 KiB/s 00:00 [##########################################] 100%
extra 2000.2 KiB 2.45 MiB/s 00:01 [##########################################] 100%
community 6.1 MiB 2.28 MiB/s 00:03 [##########################################] 100%
multilib 195.2 KiB 2.51 MiB/s 00:00 [##########################################] 100%
[manjaro /]# pacman -Syu
:: Synchronizing package databases…
core is up to date
extra is up to date
community is up to date
multilib is up to date
:: Starting full system upgrade…
there is nothing to do
[manjaro /]#
[manjaro /]# mhwd-kernel -i linux56
Error: You can’t reinstall your current kernel. Please use ‘pacman -Syu’ instead to update.
[manjaro /]#

Is there any way to remove linux56 entirely or is it still needed?

just add another kernel , you cant remove current

Ok thanks, what would be the keywords to search to find out how to go about doing that?

redo chroot

  1. with USB iso live manjaro

open a terminal and browser on this topic

sudo manjaro-chroot -a ( type 1 if only one line appears )
pacman -Syyu 
mhwd-kernel -i linux57
exit ( quit chroot )

report all message error on adding kernel

exit in all case for leaving chroot

if all is ok you can reboot

Alright going to reboot, had this error at the end, don’t know if it’s a problem.
[manjaro /]# mhwd-kernel -i linux57
:: Synchronizing package databases…
core 168.7 KiB 1125 KiB/s 00:00 [##########################################] 100%
extra 2000.2 KiB 3.31 MiB/s 00:01 [##########################################] 100%
community 6.1 MiB 3.52 MiB/s 00:02 [##########################################] 100%
multilib 195.2 KiB 3.18 MiB/s 00:00 [##########################################] 100%
error: no targets specified (use -h for help)
[manjaro /]# exit
exit
–> umount: [/mnt/boot/efi]
–> umount: [/mnt]
[manjaro@manjaro ~]$

try pacman -Syu linux57 instead of mhwd-kernel -i linux57

1 Like

before doing pacman
under chroot
can you returns

sudo manjaro-chroot -a ( type 1 if only one line appears )
pacman -Syy 
mhwd-kernel -li
exit ( quit chroot )

ok seems to be progress but is now stuck on updating grub:

[manjaro /]# pacman -Syu linux57
:: Synchronizing package databases…
core is up to date
extra is up to date
community is up to date
multilib is up to date
warning: linux57-5.7.14-1 is up to date – reinstalling
:: Starting full system upgrade…
resolving dependencies…
looking for conflicting packages…

Packages (1) linux57-5.7.14-1

Total Installed Size: 145.44 MiB
Net Upgrade Size: 0.00 MiB

:: Proceed with installation? [Y/n] y
(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%
:: Running pre-transaction hooks…
(1/1) Save Linux kernel modules
:: Processing package changes…
(1/1) reinstalling linux57 [##########################################] 100%
:: 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/linux57.preset: ‘default’
-> -k /boot/vmlinuz-5.7-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.7-x86_64.img
==> Starting build: 5.7.14-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: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.7-x86_64.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux57.preset: ‘fallback’
-> -k /boot/vmlinuz-5.7-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.7-x86_64-fallback.img -S autodetect
==> Starting build: 5.7.14-1-MANJARO
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.7-x86_64-fallback.img
==> Image generation successful
(4/5) Updating Grub-Bootmenu

returns:
[manjaro /]# mhwd-kernel -li
Currently running: 5.6.15-1-MANJARO (linux56)
The following kernels are installed in your system:

linux414
linux57
1 Like

then under chroot

mkinitcpio -P
mhwd-kernel -i linux54

wait return
ok exit
error return error ( no exit )

Alright these commands return:
[manjaro@manjaro ~]$ sudo manjaro-chroot -a
==> Mounting (ManjaroLinux) [/dev/sda2]
–> mount: [/mnt]
–> mount: [/mnt/boot/efi]
[manjaro /]# mkinitcpio -P
==> Building image from preset: /etc/mkinitcpio.d/linux414.preset: ‘default’
-> -k /boot/vmlinuz-4.14-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-4.14-x86_64.img
==> Starting build: 4.14.193-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: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-4.14-x86_64.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux414.preset: ‘fallback’
-> -k /boot/vmlinuz-4.14-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-4.14-x86_64-fallback.img -S autodetect
==> Starting build: 4.14.193-1-MANJARO
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-4.14-x86_64-fallback.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux57.preset: ‘default’
-> -k /boot/vmlinuz-5.7-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.7-x86_64.img
==> Starting build: 5.7.14-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: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.7-x86_64.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux57.preset: ‘fallback’
-> -k /boot/vmlinuz-5.7-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.7-x86_64-fallback.img -S autodetect
==> Starting build: 5.7.14-1-MANJARO
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.7-x86_64-fallback.img
==> Image generation successful
[manjaro /]# mhwd-kernel -i linux54
:: Synchronizing package databases…
core 168.7 KiB 1795 KiB/s 00:00 [##########################################] 100%
extra 2000.2 KiB 1813 KiB/s 00:01 [##########################################] 100%
community 6.1 MiB 1610 KiB/s 00:04 [##########################################] 100%
multilib 195.2 KiB 2.89 MiB/s 00:00 [##########################################] 100%
error: no targets specified (use -h for help)
[manjaro /]#

However upon reboot the same original error occurs.