I did a fresh installation of Fedora 20 in the free space of my hard drive after failing to upgrade from the older version. Everything seems to be working fine until I deleted the partition containing the older version to free up some space. Upon restarting the computer, I got the following message after waiting for a long time:
Warning: Could not boot
Warning: /dev/fedora_old/swap does not exist
Starting Dracut Emergency Shell
I am still able to boot if I type
exit on dracut prompt. But, that does not solve the root of the problem. There are a few suggestions on the web proposing:
dracut --force --regenerate-all
I am not sure what it does exactly and it doesn't seem to resolve the problem. What is the proper way to sort out the swap partition? It seems that the swap for the older OS was being used when the new OS is being installed despite it having its own swap partition.
And how could I avoid such a problem in the future?
This is what I have for
/dev/mapper/fedora_new-root00 / ext4 defaults 1 1 UUID=somehexdec /boot ext4 defaults 1 2 UUID=someotherhexdec /boot/efi vfat umask=0077,shortname=winnt 0 0 /dev/mapper/fedora_new-home00 /home ext4 defaults 1 2 /dev/mapper/fedora_new-swap swap swap defaults 0 0