Unable to access/boot into openSUSE Tumbleweed

Hello fellow members,

Problem: Unable to boot into the OS
Error: invalid file name 'efi/boot/initrd-5.13.4-1-default followed by another screen that says “Kernel panic - not syncing:VFS:Unable to mount root fs on unknown-block(0,0)”(unable to append screenshot here)
Background: I use a dual boot system - MANJARO KDE (installed first) and OPENSUSE KDE. Have created 2 different boot/efi partitions for the respective OS. This problem persists since the beginning i.e since openSUSE was installed.

Looking forward to some help.

I’m not that knowledgeable in recovering broken boot configs, but a starting point might be to use the TW install media. It has an option More -> Boot Linux System which appears to identify what systems/root-partitions are present. This can be used to boot into the desired system, then once booted, the YAST boot tool can be used to create/update the actual boot configuration.

You can also use the installation media to boot into a shell and have a look around (and even to fix things, but it would be more complicated, using bind-mounts, chroot, etc).

If Manjaro is still bootable, it may also be able to create a multi-boot option that includes TW. Once TW is booted, YAST could then again be used to fix up the TW boot.

If i understand your post correctly then you have two Linux systems installed each with its own ESP.

Do both Linux systems use GRUB as bootloader?

If so, is os-prober enabled on both Linux systems?

Does your UEFI have two NVRAM-entries eacht pointig to (a different) one of your ESPs?

Do you switch between these NVRAM-entries in order to switch between the different Linux systems or do you just use one NVRAM-Entry (and therefor just one GRUB2-Installation) to boot any of your systems?

Regards

susejunky

Hello friend,

Well you have understood it rightly. Both have their own ESPs, both use GRUB loader and OS prober is enabled. openSUSE has NVRAM entries pointing to its own ESp but im not sure about Manjaro. Not sure how to check that, though I shall google a bit and figure out.

I know close to nothing about Manjaro so all my following comments refer to openSUSE (although they may work with Manjaro as well):

efibootmgr -v

(run as “root”) will show you the entries in your UEFIs NVRAM so that you should be able to compare them.

The ESP created by openSUSE should show at least two directories one called boot and another one called opensuse. In the latter there should be a file **grub.cfg **with

search --fs-uuid --set=root UUID_OF_OPENSUSE_ROOT_DIRECTORY
set prefix=(${root})/boot/grub2
source "${prefix}/grub.cfg"

Manjaro might as well create a directory boot in its ESP but it should not create a directory **opensuse.

**Using several GRUB-installations will work but needs very careful handling. It is much easier to have just one GRUB-installation (in your case either Manjaro OR openSUSE).

Regards

susejunky

Not exactly:

# grep CPE /etc/os-release
CPE_NAME="cpe:/o:opensuse:tumbleweed:20210805"
# grep DIST /etc/default/grub
GRUB_DISTRIBUTOR="opensusetw"
# tree -d /boot
/boot
├── efi
│   ├── EFI
│   │   ├── BOOT
│   │   ├── debian11
│   │   ├── opensuse152
│   │   ├── opensuse153
│   │   ├── opensusetw
│   │   └── tubuntu
│   └── grub2
└── grub2
    ├── fonts
    ├── locale
    └── x86_64-efi

13 directories
#

An opensuse directory in /boot/efi/EFI/ is not needed if GRUB_DISTRIBUTOR= has been customized, and consequently, may not be present.

Note too that a dir, ls or tree listing will show BOOT only in uppercase.

That is not a conventional location for an initrd. Normal location is /boot/.

followed by another screen that says “Kernel panic - not syncing:VFS:Unable to mount root fs on unknown-block(0,0)”
This is a typical response to a defective Grub stanza, or a grub.cfg lacking filesystem support for the filesystem where the kernel and initrd are expected to be found.

Background: I use a dual boot system - MANJARO KDE (installed first) and OPENSUSE KDE. Have created 2 different boot/efi partitions for the respective OS.
While multiple ESP partitions are supportable, they are not needed. Most in excess of one are a grossly underutilized waste of space. All my UEFI PCs have only one (320MB) ESP, even though I have upwards of 10 distros installed on each PC. On my currently booted UEFI PC, with 12 installed distros, freespace on the ESP is 309MB, 11MB/3.4375% consumed.

This problem persists since the beginning i.e since openSUSE was installed.
I cannot imagine a scenario that could have caused this on an installation to a system with no operating system already on the system when openSUSE was installed. Something must have gone badly wrong with that installation.