Article 5C3QW Error attempting renistall Grub2 bootloader from Opensuse Leap 15.2 Rescue Consolel

Error attempting renistall Grub2 bootloader from Opensuse Leap 15.2 Rescue Consolel

by
cmt29
from LinuxQuestions.org on (#5C3QW)
Following a recent problematic patch my Opensuse Leap 15.2 system stalled during boot, then landed me at the grub prompt. So I booted to the rescue console and attempted to chroot to reinstall the bootloader.

I followed the instructions from the Opensuse docs here: [1].
My harddrive setup is (from lsblk):

Code:nvme0n1
-nvme0n1p1
-nvme0n1p2
--vgopensuse-root
--vgopensuse-swap_1When I run yast bootlodaer I receive the following error:

Code:Error
Execution of command "[["/usr/bin/grub2-editenv", "list"]]" failed.
Exit code: 1
Error output: /usr/bin/grub2-editenv: error: unknown filesystem.When I run grub2-install -v I get the following error before it quits:

Code:...
grub2-install: info: /dev/mapper/vgopensuse-root is not present.
grub2-install: error: unknown filesystem.Output of ls -l /dev/mapper/vgopensuse-root:

Code:lrwxrwxrwx 1 root root 7 Dec 26 20:27 /dev/mapper/vgopensuse-root -> ../dm-0Any ideas?

[1]: https://doc.opensuse.org/documentati...-rescue-accesslatest?d=yIl2AUoC8zA latest?i=EZbOteGlqmM:-l62qAR4w8s:F7zBnMy latest?i=EZbOteGlqmM:-l62qAR4w8s:V_sGLiP latest?d=qj6IDK7rITs latest?i=EZbOteGlqmM:-l62qAR4w8s:gIN9vFwEZbOteGlqmM
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments