to fix lvm problems while reinstalling grub ?
I did the following
Live boot > chroot > dnf reinstall grub2-efi > grub2-install
But grub2-install complained about lvmetad so I disabled it in /etc/lvm/lvm.conf now it's stuck in an infinite loop of warnings
File descriptor 4 (/dev/sda4) leaked on vgs invocation. Parent PID 10270: grub2-install
WARNING : Device /dev/loop0/ not initialized in udev database even after waiting 10000000 microseconds
WARNING : Device /dev/sda not initialized in udev database even after waiting 10000000 microseconds
And so on for all my partitions.
Side notes :
- sda4 is my ESP partition
- grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
hangs indefinitely, same for os-probe
- I even tried a fix from the arch wiki : mounting /run/lvm in /mnt/hostlvm and symlink to /run/lvm inside the chroot cage but then it's asked to used arch-chroot which I obviously don't have.
@FNietzsche1844
Little update, I deactivated os prober and successfully ran grub2-mkconfig I rebooted on GRUB console where I tried to boot properly on my system root=(lvm,fedora-root) linux path_to_last_kernel initrd path_to_initframs Now I'm in emergency mode Entering emergency mode. Exit the shell to continue. Type "journalctl" to view system logs. You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick or /boot after mounting them and attach it to a bug report
Обсуждают сегодня