1

I tried boot-repair and followed the steps it asked me and showed everything as ok on completion of the program. I restarted the system and it automatically booted Ubuntu without showing any option for windows. Here is my output before and after running the boot-repair program: http://paste.ubuntu.com/12306439/

P.S. I am a complete newbie in Linux and this is my first attempt at any OS except Windows so I am completely at loss here,

2 Answers2

0

From the file you uploaded at paste.ubuntu.com, I see that you must see GRUB that allow you to select between Ubuntu and windows.

If you can see grub2 during booting, you can select windows from there.

If you don't see GRUB , try pressing Esc key repeatedly just after you turn on your device. This may help you enter the GRUB.

Also try this

  1. Boot into ubuntu. Open terminal by pressing Ctrl+Alt+t.
  2. enter sudo update-grub. press Enter key.
  3. reboot.
kashish
  • 1,342
0

Several points:

  • Your disk uses GPT, and there's evidence of an EFI-mode Windows boot loader. On a GPT disk Windows must boot in EFI mode. This in turn means that, if GRUB controls the boot process, it must be an EFI-mode version of GRUB; the BIOS-mode GRUB will be useless to you.
  • You've got both BIOS-mode and EFI-mode GRUB installations. This makes it hard to tell which GRUB is in control of the boot process. Given the preceding point, if the BIOS-mode GRUB ends up being run, it's Game Over in terms of booting Windows, at least for that particular boot. The best way to ensure that this won't happen is to disable the Compatibility Support Module (CSM), aka legacy-mode boot support, in your firmware setup utility. (Many Ubuntu installation guides provide the bad advice to enable this feature. Doing so creates confusion and problems like yours.)
  • Your EFI System Partition (ESP) is near the end of the disk rather than near the beginning, where it's more commonly found. Your configuration is legal, but the fact that it's unusual could explain the next point....
  • Your grub.cfg file shows no evidence of a Windows entry, which is consistent with what you're reporting. Creating a fresh GRUB configuration file might fix this problem. Typing sudo update-grub in Ubuntu will create a new configuration file; however, whatever problem caused Windows to not be detected before might persist and prevent it from being detected again. Thus, this procedure might be ineffective. Running Boot Repair is a more radical possible solution; this re-installs all of GRUB. Again, it's not guaranteed to do any better, and there's a small chance that it will actually make matters worse.
  • Another approach is to bypass GRUB. There's evidence that you tried my rEFInd, but you don't say whether it worked or why you abandoned it. In any event, rEFInd is usually better at detecting and launching Windows than is GRUB, so it's worth trying (again). You can try rEFInd on a CD-R or USB flash drive as a test if you don't want to (re-)install it on your hard disk, then install it to your disk only if you're satisfied that rEFInd is working.

So in sum, I recommend you try your choice of rEFInd, update-grub, or Boot Repair, in increasing order of riskiness. (rEFInd is least risky if you try it from a USB flash drive or CD-R, and slightly more risky if you install it to your hard disk.) I also strongly recommend you disable your CSM, no matter what other solution you attempt.

Rod Smith
  • 45,120
  • 7
  • 66
  • 108