Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

First, I installed Windows 8 in my desktop PC. (Not pre-installed... I did it by myself). Then I booted the Ubuntu dvd in UEFI mode (Did the same with Windows 8) and installed Ubuntu 12.10 64bit. Everything went perfectly. After rebooting, there's no grub! The system took me directly to Ubuntu! I can't log into Windows 8. Please help! Earlier, I used Boot Repair and it messd up with my Windows EFI files. So I was unable to boot Windows even after removing Ubuntu. I can't use boot repair. Now this is a new fresh install, Please tell me how to boot into both Windows 8 and Ubuntu!

Here is my /etc/defaults/grub :

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)

# Uncomment to disable graphical terminal (grub-pc only)

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux

# Uncomment to disable generation of recovery mode menu entries

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
share|improve this question
Hi there, to have grub menu when booting, please follow this tutorial… – penreturns Mar 20 '13 at 2:54
@penreturn Thanks! It brought back grub. But can't boot to Windows 8. I added it by following this guide… . Now grub gives an error when selecting windows 8 : error: file '/EFI/microsoft/BOOT/bootmgfw.efi' not found. But when checking, through Ubuntu, i can find that file – THpubs Mar 20 '13 at 3:06
I suggest you refer this. . Scroll to bottom on the comment section. – penreturns Mar 20 '13 at 3:09
@penreturn Thanks a lot! It helped! Shall I delete this question because the answer is already there. Or shall I add an answer combining all the answers into one. – THpubs Mar 20 '13 at 3:12
I believe mods will take care about it. Enjoy Ubuntu! – penreturns Mar 20 '13 at 3:14

Run Boot-Repair --> Advanced Options --> tick Restore EFI backups --> Apply , and indicate the new URL that will appear. Reboot, you should get back access to Windows.

share|improve this answer

I recently installed Windows 8 Pro to an extra hard drive on my PC. My system which runs Ubuntu primarily and boots up through GRUB couldn't seem to find the new OS after I installed it. So I searched and read all of these solutions involving manually re-configuring GRUB system files, uninstalling and re-installing Windows, etc. All of these are terrible solutions. The best solution is so, so easy. All you have to do is run this update command for GRUB from a terminal window within your Linux distro:

$ sudo update-grub

It searches your hard drives for new kernels and OSs. Problem Solved. Enjoy!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.