I accidentally deleted my LVM partition inside /dev/md1. The good thing that my linux root partition and swap inside this LVM are still mounted. I was able to copy all data to my backup HDD, and was able to do a dd copy of my LVM root partition.
Now gparted on /dev/md1 shows that all space is unlocated. If I reboot my pc I will loose ability to boot it again. Is there any way to quickly recover partition table without reinstalling system? Keep in mind that LVM still knows the partition table, I am able to read and write to that non-existent partitions.
Thanks