Boot error vmlinuz-5.6

  • 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

3 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 /]#

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:

1 Like

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

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

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.

try manually update-grub

on reboot , remove USB iso
press Esc to see Grub appears
select detail > choose another version kernel

version kernel5.6 is your USB iso manjaro !