I just installed Ubuntu 12.10 on my new computer alongside my previous Windows 7 installation. Upon booting for the first time (post install) my boot menu only lists Ubuntu.
I installed using a liveCD, I had to set up my partitions myself because my Windows wasn't being detected (I set up the new partition out of free space on the drive.). I know Ubuntu did not overwrite my Windows because I can mount the Windows drive and access the files from here.
I also tried running boot-repair, as was recommended for people who didn't have Ubuntu showing up in the menu, but now I just have two different Ubuntu options. Still no Windows.
(If you require any additional data [logs, etc.], could you tell me how to find it, I am a bit new to this.
Any help is greatly appreciated.
The Boot Repair option worked perfectly for me. Installed 12.10 after windows 8, the install did not recognize win8, using the boot repair utility found the windows partition and successfully added it.
Boot into Windows with the installation disk, then install EasyBCD. (I don't think there is a linux version). If set up right, you can pick a os from their menu before hitting grub.
Try updating Grub using the steps below and hopefully it will restore your windows to boot menu
- Press Ctrl+Alt+T to open the terminal.
- Now type on terminal window
- Enter your password, wait and restart.
I noticed the same thing.
I also didn't have a Windows CD to fix the MBR but found a useful utility that sorted everything out quicksticks.
- Open terminal and paste the following commands:
sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
- After the update, install Boot Repair:
sudo apt-get install -y boot-repair
- You can run it via the menu or by entering:
I used the recommended repair and my boot was back to normal.
You can check out the community documentation at: http://help.ubuntu.com/community/Boot-Repair
Kinda sounds like some windows files are corrupt by the way you say that you can't boot from the disk and the Ubuntu installer could not even detect Windows. If you had installed Ubuntu to a separate drive, then I would say, disconnect it and boot into Windows and try to repair Windows from there. But if they are on the same drive, then uninstall Ubuntu and then repair Windows. Put in the Ubuntu disk, boot from your cd drive and install Ubuntu. Ensure the installer can detect Windows before continuing.
I asked about this on the Ubuntu forums as well and got some really good feedback from the maker of the Boot-Repair utility. I'm pasting their instructions here which worked perfectly for me in case someone else has the same problem.
This case is rare. You have no original /EFI/Microsoft/Boot/bootmgfw.efi . (presence of /EFI/Microsoft/Boot/bootmgfw.efi.grb indicates that B-R created a dummy /EFI/Microsoft/Boot/bootmgfw.efi ). I will update B-R for this case. Meanwhile, you can do this:
Please : 1) boot an Ubuntu CD, choose "Try Ubuntu" 2) open a terminal and type the following commands one by one:
sudo mount /dev/sda1 /mnt
sudo rm /mnt/EFI/Microsoft/Boot/bootmgfw.efi*
sudo cp /mnt/EFI/Boot/bootx64.efi.bkp /mnt/EFI/Microsoft/Boot/bootmgfw.efi
3) run Boot-Repair --> Recommended Repair , indicate us the new URL that will appear 4) then reboot the pc without CD, and tell us what you observe