Aborting Linux installation midway

Blake12Stars12

Commendable
Dec 30, 2016
3
0
1,510
I was installing kali Linux on my PC and i merged two of my hard disk partitions using some logical volume stuff and set one of my partitions as the target drive for installation. But i had to quit the installation midway as there was a power cut and i didn't have any backup in my UPS. now, when i reboot my pc, it said "operating system missing ". I installed a new copy of win7 but (out of my 4 hard disk partitions) only one was allowing me to install windows 7. It was the partition with which i hadn't messed at all. Now i have my os back with only one hard disk partition. Please help me in recovering my lost or corrupted hard disk partitions
 
Solution
If there's important stuff on the disk that isn't backed up, then you need to stop what you are doing right away!
Many linux distros erase the target install partition by default. You should never mess around with partitions without first backing up all of your data.

You should be able to boot into linux using the CD or USB that you created for the installation. From there, check to see if you can find your stuff on your drive. It should be able to read it. If you can't find you stuff, there is a good chance that you've already erased it. Depending on how valuable your stuff is, you may want to consider a data recovery service. Don't install or make any changes to the disk until you've backed up everything important.

Blake12Stars12

Commendable
Dec 30, 2016
3
0
1,510
are u sure this will work? as the installation never went to completion so, i dont think that the partitions might have converted into logical volumes, and, i dont wanna lose out on my remaining functional hard disk partition

 
Creating partitions is about the first thing the installer actually does. If there isn't any important data on the drive, I would just reformat the partitions you want when you run the installer. The installer shouldn't mess with partitions unless you direct it to.
 

Blake12Stars12

Commendable
Dec 30, 2016
3
0
1,510
Wait up until i try your method... And just letting u know, that my lost hard disk partitions have the photographs of me and my family of the past 8 years... So i can't afford to lose the data in those partitions
 
If there's important stuff on the disk that isn't backed up, then you need to stop what you are doing right away!
Many linux distros erase the target install partition by default. You should never mess around with partitions without first backing up all of your data.

You should be able to boot into linux using the CD or USB that you created for the installation. From there, check to see if you can find your stuff on your drive. It should be able to read it. If you can't find you stuff, there is a good chance that you've already erased it. Depending on how valuable your stuff is, you may want to consider a data recovery service. Don't install or make any changes to the disk until you've backed up everything important.
 
Solution