Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I installed Windows 8 on my laptop, partitioned the disc, and then installed Ubuntu 12.10. The grub didn't show up, so I installed it. After that it comes up but it shows only Ubuntu and no Windows (I can't boot into Windows). I tried some tutorials from Internet, but nothing worked. If you know how to fix this problem, please post it step-by-step.

share|improve this question
Please edit your question and give the output of sudo fdisk -l and add some more information about what did you do(also where did install grub). –  arhimed Oct 31 '12 at 13:02
If your system was an uefi system before you installed Ubuntu, did you follow these steps in order to install Ubuntu? –  Nil Apr 20 '13 at 2:11
add comment

2 Answers 2

Ok...try this. Run the following commands:

sudo gedit /etc/grub.d/40_custom

(Edit this file rather than grub config file directly and create the file if it does not exist). Then add the following entry:

  menuentry "Windows 8" {
  set root = "(hd0,msdos1)"
  chainloader +1

Then save the file and type

sudo update-grub

This should solve the problem.

share|improve this answer
You can not guess what partition his windows is installed to. I believe the config depends on the disk and partition to which windows is installed. –  Mahesh Nov 10 '12 at 5:12
add comment

In Ubuntu, try running:

 sudo update-grub 

It should rescan for the different partitions.

share|improve this answer
add comment

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.