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
  • 1
    You should be able to repair it from the dracut emergency shell. Mar 5, 2016 at 18:17
  • yes i need to know how can i repair it
    – MTita
    Mar 5, 2016 at 18:34
  • Then change the volume group name back to what it was before. Mar 5, 2016 at 18:36
  • i changed it in the first time from a GUI (cockpit) , I need to know how can i change it back from the emergency shell
    – MTita
    Mar 5, 2016 at 18:39

2 Answers 2


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
  • when trying to rename the volume group the result is lvm vgrename test.anhri.lan fedora_dhcp-192-168-10-190 Read-only locking type set. Write locks are prohibited. can't get lock for fedora_dhcp-192-168-10-190
    – MTita
    Mar 6, 2016 at 9:14

I finally figured it out it was about editing


then renaming the lvgroup back to the old name thanks

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.