Hello,
Due to I was researching how to put HDDs to sleep when they are not used, I came to a post where it was indicated to change a line in the file /etc/lvm/lvm.conf.
That line was apparently incorrect and that has meant that when restarting, proxmox no longer starts. The specific error is a misuse of a regex expression. Then I get an alert that it can't load /dev/mapper/pve-root and throws me to an "initramfs" console
In this terminal I have modified "lvm.conf" to leave it as the original but when it restarts the same error appears since the file seems not to be saved permanently.
What possible solution do I have without having to reinstall proxmox?
Thank you so much!!
[EDIT]
I did some "repair":
1- With initramfs console repair file /etc/lvm/lvm.conf
2- Go to lvm console and activate pve volume group with vgchange -ay
3- exit command from lvm
4- exit command from initramfs
Now can access proxmox and all of VM or CT with GUI or console. If I access to /etc/lvm/lvm.conf now I see a good one file BUT if I reboot the system I get old file with bad format and cannot boot.
How is this posible?
Thanks
[SOLVED]
Execute this command before reboot
update-initramfs -u -k all
Due to I was researching how to put HDDs to sleep when they are not used, I came to a post where it was indicated to change a line in the file /etc/lvm/lvm.conf.
That line was apparently incorrect and that has meant that when restarting, proxmox no longer starts. The specific error is a misuse of a regex expression. Then I get an alert that it can't load /dev/mapper/pve-root and throws me to an "initramfs" console
In this terminal I have modified "lvm.conf" to leave it as the original but when it restarts the same error appears since the file seems not to be saved permanently.
What possible solution do I have without having to reinstall proxmox?
Thank you so much!!
[EDIT]
I did some "repair":
1- With initramfs console repair file /etc/lvm/lvm.conf
2- Go to lvm console and activate pve volume group with vgchange -ay
3- exit command from lvm
4- exit command from initramfs
Now can access proxmox and all of VM or CT with GUI or console. If I access to /etc/lvm/lvm.conf now I see a good one file BUT if I reboot the system I get old file with bad format and cannot boot.
How is this posible?
Thanks
[SOLVED]
Execute this command before reboot
update-initramfs -u -k all
Last edited: