All lvm config files should begin with something like "# Generated by LVM2" so by creating a signature for that type of file I was able to recover my configuration file. Next, I used photorec (another program in the testdisk suite) and a custom signature to scan the disk for my lvm config file. Now, this should be a red flag to you that something is wrong with my partition table but at the time i over looked this detail. Using dd to read the first few sectors of the lvm partition to a file, I should have been able to find the config file. LVM stores a copy of the lvm configuration file in the front of each physical volume. However, testdisk incorrectly placed the linux partition with "unallocated" space on either side. Testdisk correctly (sort of) found four partitions: Boot, recovery, windows, and linux. I was also able recover most of my partition table. The program allowed me to view files in partition and do some navigation through the directories. Using testdisk, I was able to really easily scan my hard disk. TestDisk can be used to collect detailed information about a corrupted drive which can then be sent to a tech for further analysis." - wikipedia It is primarily designed to help recover lost data storage partitions and/or make non-booting disks bootable again when these symptoms are caused by faulty software, certain types of viruses or human error (such as accidentally erasing a partition table). "Test disk is a free data recovery utility. After a few seconds of search and a few hours of research, I found a seemly universally liked program called testdisk.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |