I installed Ubuntu 14.04 this morning some free space I had partitioned on my Win7 Laptop.

Since then it will only boot into Ubuntu. From all the other posts I've seen it appears to usually be the other way around. I would be far more comfortable keeping and using linux if I knew that I could get back to windows should I need to.

Grub does not present me with any options. The bootinfoscript now returns the following, as I have spent some time trying to make sure i have a menu.lst file and the boot disk )
sda1)

Edit -
ran os-prober and came back with the following results
/dev/sda2:Windows Recovery Environment (loader):Windows:chain
/dev/sda4:Windows Recovery Environment (loader):Windows1:chain

I've run the boot-repair and I now have grub giving me the options for Ubuntu or Windows recovery environment.

I have a partition for boot, 1 for windows, 1 which was used for storage and then 1 for a virtual machine.

Running both os-prober and then sudo grub-mkconfig comes back with the below. I've managed to get the Window Repair environment onto the Grub loader, but it still wont let me boot into Windows. Even the Windows recovery disk isn't letting me in.

Edit the question and add the output of sudo os-prober and sudo grub-mkconfig.
–
BraiamMay 1 '14 at 20:53

It looks like your boot record may be extended across a couple partitions. This could cause problems if it was overwritten. I could be wrong though. You have 7 partitions when running normally?
–
No TimeMay 1 '14 at 23:01

I had 2 partitions as far as i was aware, with a third which was for a virtual machine. 2 for Linux. I think that there are then 2 which was being used for booting. If this is the case, anybody got any ideas what to do?
–
wristarMay 4 '14 at 19:35

Sorry for the huge file and the capitals and bold. I don't mean to come across as rude, just not sure who to take them off when pasting from a file.
–
wristarMay 4 '14 at 19:55

1 Answer
1

So I finally found a resolution to this. Might help anyone else having the same problem.

My Windows operating system required repairing, and although I could not find the idea installation disc for my model of Win 7, I was able to find one. I used that to boot, and also have a "press f4 for recovery" mode on my Bios. Both together finally allowed me to do a windows repair.

After that os-prober was actually able to discover windows, so I used boot-repair and now have the options that I want