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-access


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-access