0

I had an old Ubuntu installation (version 13), which had a partitioned drive, with /home mounted on a partition, and /data on another partition which I used to store my files. I wanted to install Ubuntu 14.04, but I accidently clicked on the "Erase entire disk" option, and now the old partitions are gone. I didn't proceed with the installation, so I except it to be recoverable. How can I recover what I had on /data?

Note that unlike a previous question, I'm not sure what filesystem /data was. It could have been NTFS, but more probably it was ext4.

Thanks.

a06e
  • 14,233

1 Answers1

0

Boot Ubuntu 14.04 using a live media like USB stick or DVD then open terminal and execute following commands one by one :

sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair

Then use recommended repair and see if problem is solved, if it does not solve you problem, then upload boot-info summary result into your question.

Faizan Akram Dar
  • 4,569
  • 1
  • 25
  • 31