Warning: Could not boot swap does not exist Starting Dracut Emergency shell

After I messed up the logical volume my swap was on I got the following on boot:

Warning: Could not boot

Warning: /dev/vg_server/swap does not exist

Starting Dracut Emergency Shell


I can boot by entering the following on each boot:

dracut:/# cd /usr/lib/dracut/hooks/initqueue/finished/
dracut:/# rm devexists-\x2fdev\x2fby-uuid\x2f$OLD_PARTITION_UUID.sh
dracut:/#  exit

To fix the problem

I tried the following command but it made no difference

# dracut --force --regenerate-all

So then I tried re-installing the kernel rpm package

rpm -e --nodeps kernel-3.10.5-201.fc19.i686
yum install kernel-3.10.5-201.fc19.i686

The remove kernel command above would remove the current initramfs image, and then when installing it again, it makes dracut to create a new one, this time taken into account my fstab changes.  But this still did not fix it. 

Solution - problem solved, last I tried this and it boots normally now.

After booting I tried editing /boot/grub2/grub.cfg, I searched for and removed all references to my vg_server/lv_swap

#vi /boot/grub2/grub.cfg