Ubuntu – Resolved -Dual boot Windows 8 / Ubuntu 12.04 is not working – boot-repair did not help as well

bootdual-bootgrub2windows 8

since I heard I could have windows 8 and Ubuntu running at the same computer (using the same HD) i was really exited to test, but unfortunately i'm not being luck doing that 🙁

My Computer details:

  • Notebook – Dell Inspiron 15R
  • 8Gb RAM
  • 1 TB HD Sata3
  • 30gb SSD
  • Video Card – ATI Radeon HD7700

I was running windows 8.1 without any problem, so here what I did:

  • I create a partition with 100gb (using windows disk utility)
  • I enable legacy boot (disabled uefi and security boot) and changed the dell smart HD control to AHCI
  • Started the ubuntu installation using ubuntu 12.04 iso
  • I did the default procedure, advanced options -> create 4 partitions (/, /home, /boot, swap)
  • When the installation was done I started the live ubuntu 12.04 and I used boot-repair as the tutorial informed to do.

The linux is running perfect but I can't log in windows anymore 🙁

I can see on grub2 some options, but when I try to load windows 8 i get:

  • Dell recovery screen (the options simple doesn't help me, it says I need to unlock or get permissions of the installation, but the prompt works fine)
  • An screen saying about an unknown issue, some hdx(100,200 blabla bla)
  • I tryied boot repair a lot of times and I don't know how I installed a different boot as well that starts grub
  • Since the prompt works fine I tried the MBR fix procedure and also the boot recovery procedure using disk utility
  • I also tried:
bootrec fixmbr 
bootrec /fixboot
bootrec /scanos
bootrec /rebuildbcd


bcdedit /set {default} device partition=c:
bcdedit /set {default}
osdevice partition=c:
bcdedit /set {bootmgr} device partition=c:

Right now I still can boot windows 8, I know windows 8 is sucks but I really need it since some applications I use only runs on it 🙁

Any idea in how to fix that?

Pastebin I have with me:
http://paste.ubuntu.com/6462192/
http://paste.ubuntu.com/6465662/
ps. I understand it may be a duplicated case, but i expend the last day trying to figured out how to solve but I couldn't, that's why I'm creating and ask with my information – sorry bad english

EDIT:

After the installation I did change the boot mode to UEFI security off (since I didnt choose the boot-repair to create ssh keys with the security boot)

EDIT2:

Error IMAGE:
docs.google.com/file/d/0B8mTxJWMEudkaVowUVd2cS15NHpabEwyYnV2NFdmUldKRE5n/edit

EDIT3:
imgur.com/WHqXCLa -> Gparted ScreenShot

Best Answer

Luckily, there is a fairly easy solution to this, as this is a common problem (in fact, I've had it myself). Here's what you can do:

  1. Boot up Ubuntu and log in
  2. Press Ctrl+Alt+T to start a Terminal emulator (Terminal)
  3. Type sudo update-grub and press Enter
  4. Let the command finish running, then shut down (it is important you don't restart)
  5. Start up your computer again and....voila! You should now have Windows as an option in your boot menu (GRUB2)

In addition, it's probably a good idea to switch back to UEFI mode, since Windows 8 is configured to run in that, so it may not work otherwise. You may not be able to boot Ubuntu, then, but that can be fixed with a simple boot-repair. In general, you can fix being unable to boot Ubuntu with boot-repair and being unable to boot windows with sudo update-grub.

Good luck with your install!