I had installed windows 7 and after that i tried to install ubuntu 14.04 with usb as dual boot. I did the disk partitioning by clicking something else at the installation prompt window. I also left space for swap area. I think that I have made mistake in the mount point since i chose '/'. Now when I restart the pc it directly boots from ubuntu(it doesnt show the grup menu) and at the hard drives it only shows the 30 GB I had saved for ubuntu (it doesn't show my windows hard drives). Are my windows files saved and is it possible to return this action?
Asked
Active
Viewed 81 times
2 Answers
0
Once you login to Ubuntu Linux you should open the terminal(Ctrl+Alt+T) and then issue the following commands
sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair
to install boot-repair and fix this issue.

Ashu
- 3,966
-1
Using Windows installation DVD for Boot repair may do the trick. For details, please see http://www.howtogeek.com/howto/32523/how-to-manually-repair-windows-7-boot-loader-problems/
Hope it will help. Thanks

Arijit Chatterjee
- 1,153
-
Welcome to Ask Ubuntu! I recommend [edit]ing this answer to expand it with specific details about how to do this. (See also How do I write a good answer? for general advice about what sorts of answers are considered most valuable on Ask Ubuntu.) – David Foerster Mar 15 '16 at 23:37
-
sudo lsblk -f
andsudo os-prober
? – David Foerster Mar 15 '16 at 23:36