Merhabalar,
Sunucunuzda update işlemi sonrasında veya disk genişletme işleminden sonra veya ani elektrik kesintisi sonrasında veya migrate işleminden sonra aşağıdaki gibi hata veya hatalar alabilirsiniz. Ancak üzülmenize gerek yok.
kernelopts=root=/dev/mapper/vgfedora-root ro resume=/dev/mapper/fedora-swap rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rd.lvm.lv=fedora/usr rhgb quiet
[ TIME ] Timed out waiting for device /dev/mapper/fedora-swap
[DEPEND] Dependency failed for Resume from hibernation using device /dev/mapper/fedora-swap
dracut-initqueue[296]: Warning: Could not boot.
dracut-initqueue[296]: Warning: /dev/ol/root does not exist
dracut-initqueue[296]: Warning: /dev/ol/swap does not exist
Warning: /dev/mapper/ol-root does not exist
Warning: /dev/ol/root does not exist
Warning: /dev/ol/swap does not exist
Generating "/run/iniramfs/rdsosreport.txt"
Entering emergency mode. Exit the shell to continue.
Type "journalctl" to view system logs
dracut:/#
Dracut Emergency Hatası Çözümü
Sunucumuzu live cd ile başlatalım ve kurtarma moduna alalım. Eğer rescue (kurtarma) moda almayı bilmiyorsanız buraya tıklayabilirsiniz.
komut satırına geçiş yaptıktan sonra aşağıdaki komutları giriyoruz.
dracut -f
dracut --regenerate-all -f && grub2-mkconfig -o /boot/grub2/grub.cfg
Sunucumuzu restart ediyoruz. Hepsi bu kadar