Error , you need to load kernel first

I was installing some updats and the computer went to a blank screen with jusr a curser is the top left but it wouldnt type . after a whike i had to hold powet button to turn it off and now at rhe grub menu i get " you must load kernal first " it wont boot into linux .
Can this be saved ?

2 Likes

Yes.
Boot using the USB you installed the system with - or any other - and chroot (manjaro-chroot) and then finish the update.

2 Likes

Thank you , i folowed the info . now i get welcone to grub for a second then it goes straight to memory testing ā€¦

i ran update grub and this is the output i got

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/sdc1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdc1.  Check your device.map.
Adding boot menu entry for UEFI Firmware Settings ...
Root filesystem isn't btrfs
If you think an error has occurred, please file a bug report at "https://github.com/Antynea/grub-btrfs"
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
[manja
mkinitcpio -P && update-grub
1 Like

after chroot manjaro -a ?

1 Like

You did not run the unfinished update again.
You are still missing a kernel entirely.

If the update does not pull one in - which would surprise me - install one explicitly:

mhwd-kernel -li
to list what is available

mhwd-kernel -i
to install one of them

but first run the update:

pacman -Syu

yes - all of this afterwards - from within chroot

2 Likes

i followed the post above and this is the final output

:: Starting full system upgrade...
 there is nothing to do
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.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
Adding boot menu entry for UEFI Firmware Settings ...
Root filesystem isn't btrfs
If you think an error has occurred, please file a bug report at "https://github.com/Antynea/grub-btrfs"
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
exit
 --> umount: [/mnt]

you definitely did not:

At the start of the update, the kernel and initrd is removed.
When the update does not finish, you end up with no kernel and therefore canā€™t boot,
because the new kernel is only installed at the very end of the update.

The output will look similar to this at the end of the update:
update-grub
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-6.6-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-6.6-x86_64.img
Found linux image: /boot/vmlinuz-5.15-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.15-x86_64.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.
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type vda.

Note the mention of:

Found linux image:
and
Found initrd image:

1 Like

the one posted by megavolt

ok
can we back up, i just ran update pacman its running now

showes one version of manjaro installed .
seems grub is missing and needs to be reinstalled

show us what you see when you run
update-grub

see the last line on my previous post - it expands on click
it should look like this

whatever makes you think that - itā€™s probably unneccessary but you can do that if you want

1 Like
[manjaro manjaro]# update-grub
/usr/bin/grub-probe: error: failed to get canonical path of `overlay'.

That is only the last line.
Donā€™t be stingy with information. :sunglasses:

ā€¦ you where in chroot when you ran the command?
I suspect you where not.

Everything you do needs to be from within chroot.

i was not , thought i was .

[manjaro /]# update-grub
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/sdb1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
Adding boot menu entry for UEFI Firmware Settings ...
Root filesystem isn't btrfs
If you think an error has occurred, please file a bug report at "https://github.com/Antynea/grub-btrfs"
Found memtest86+ image: /boot/memtest86+/memtest.bin
done

There is still no sign of any installed kernel / initrd.

[manjaro /]# mhwd-kernel -li
Currently running: 6.6.25-1-MANJARO (linux66)
The following kernels are installed in your system:
   * linux515


install it again - the result of
update-grub
does not show any kernel - just the memtest