0

I know that my question can be a duplicate, but i spent a lot of time with google and askubuntu, but couldnt find answer.

I installed Ubuntu 13.10 alongside Windows 7 (i had C drive of 100GB and D drive of 200GB). While installing,i allocated 80GB for Ubuntu from D drive. So after installation i couldnt boot into windows. Using tools gparted, Ubuntu Boot repair and testdisk i tried to repair boot but (as i guess) removed smth important from SDA...

So after restart i have grub rescue prompt. All partitions are unknown filesystem. I tried to boot into LiveUSB Ubuntu 13.10 ... as i had Windows partition on sda1, and linux-swap on sda2... and 130GB unallocated memory (as i guess its D drive) ... I have a lot of important information on D drive.

So how i can recover partition ?

Any help be appriciated!

bain
  • 12,200
davitp
  • 11

2 Answers2

0

Try:

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

It should detect missing MBR and fix it. It did for me but I do not know if this means it would also restore windows bootability, but that's this app's job so it should.

Note: The ppa only works on supported releases of Ubuntu.

Error404
  • 8,278
  • 3
  • 35
  • 60
tatsu
  • 3,346
0

Boot from a live system, and use the gpart utility to scan for file systems.