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

I installed Ubutnu 12.04 last night, Go to boot into windows and grub only shows the option to boot into Ubuntu. Most of last night and most of this morning I have been doing research and trying different things to attempt to get Win 7 back.

Boot Info:

share|improve this question

Boot into ubuntu and then do

sudo os-prober

If os prober is not installed, before executing above command install it by doing,

sudo apt-get install os-prober

and then run the first command. If os prober shows that you have windows along side ubuntu then do,

sudo update-grub

and reboot. If os prober do not show windows then something is messed up with windows.

share|improve this answer
Doesn't help, but when I reboot I hit shift so grub pops up but doesn't, if this helps heres the output from terminal: matthewvz@Matthewvz:~$ sudo os-prober matthewvz@Matthewvz:~$ sudo update-grub Generating grub.cfg ... Found linux image: /boot/vmlinuz-3.2.0-35-generic Found initrd image: /boot/initrd.img-3.2.0-35-generic Found linux image: /boot/vmlinuz-3.2.0-29-generic Found initrd image: /boot/initrd.img-3.2.0-29-generic Found memtest86+ image: /boot/memtest86+.bin done matthewvz@Matthewvz:~$ – Matthew Vz Dec 25 '12 at 17:41
What are you doing man? your sudo os-prober do not output anything? It should output something. Atleast give the name of ubuntu. You are doing something wrong. ALso explain what is 'Doesn't Help' ? What doesnt help? WHat is the expected behaviour? What is the occured unexpected behaviour? – Abhijit Navale Dec 25 '12 at 17:45
Wait. Do not post the same comment again and again. Read the manual for os prober. It should show an output similar to this: os-prober /dev/sda5:Ubuntu 12.10 (12.10):Ubuntu:linux – Abhijit Navale Dec 25 '12 at 17:53
I repeated the steps again in terminal with your instructions that time but os-prober shows nothing. – Matthew Vz Dec 25 '12 at 17:55
That probably means you do not have another operating system on that machine. That means your windows has damaged. Also when you repeat the command and get the exact same output you do not copy paste the same output again and again you just type that you are getting the very exact same output as you got in first attempt. Was the windows working fine before installing ubuntu? Downlaod supergrub from here burn it to usb drive or cd and then boot into live mode and see if it detects your windows. If it does detect the windows try to boot into windows. – Abhijit Navale Dec 25 '12 at 18:00

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.