Fedora 23 server can't boot after renaming volume group in cockpit

MTita asked:

I’ve installed Fedora 23 as web server and it was working so well for some reason i can’t remember i decided to rename the volume group in storage section in cockpit the name was generated automatically during installation and it was something like


after rebooting it can’t boot and can’t find /root, /swap volumes because it’s still looking for them in the old directory


now I need to restore my system. The error message is

dracut-initqueue[303]: warning

My answer:

In a normal shell, you can rename a volume group with vgrename.

vgrename oldname newname

Embedded environments like the emergency shell may require you to call lvm explicitly:

lvm vgrename oldname newname

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.