Dracut-initqueue swap does not exist during system boot
Dracut-initqueue swap does not exist during system boot
APPLIES TO
Operating System - Oracle Linux Server 7.4
SYMPTOMS
[198.935138] dracut-initqueue[310]: Warning: Could not boot.
[198.971675] dracut-initqueue[310]: Warning: /dev/ol/swap does not exist
Starting Dracut Emergency Shell...
Warning: /dev/ol/swap does not exist

CAUSE
The logical volume /dev/ol/swap was lost or not exist.
SOLUTION
- Method 1
-
Type
blkidto list device information.
-
Mount
sysroot.
-
Mount
boot.
-
Changing the default boot entry.

-
Chanaging the the grub.cfg file.


-
Reboot system.
dracut:/# init 6
- Method 2 (Recommended)
-
Reboot system.
dracut:/# init 6
-
Press
eto modify grub menu entries.
-
Remove
rd.lvm.lv=ol/swapparameter in thelinux16line

-
Press
Crtl-xto boot system. -
Make a backup for grub file.
cp -a /etc/default/grub{,.bak}
cp -a /boot/grub2/grub.cfg{,.bak} -
Changing the default boot entry, and rebuilding the grub.cfg file.

-
Reboot system.
systemctl reboot
All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.
