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 just installed Ubuntu 14.04 flawlessly -- I'm happy with that.

But when after several restart, I realized something was missing from my grub: It was my windows boot option

How to make it appear again in my grub loader?

share|improve this question
    
Did you select "use entire disk" when you installed Ubuntu? –  Elliott Frisch Apr 18 at 13:25
    
no, if i select "use entire disk" i'll lost all of my partition, and of course i won't be able to see grub, right? –  Ozy Apr 18 at 13:40
    
Good. Well, I don't use Windows and I still see grub. Looking at the answers below, I see your issue appears to be resolved. Please accept an answer. –  Elliott Frisch Apr 18 at 14:28
add comment

3 Answers 3

up vote 1 down vote accepted

After you boot into Ubuntu 14.04, make sure you perform a complete system upgrade (sudo apt-get upgrade followed eventually by sudo apt-get dist-upgrade just in case you have heldback packages).

You can run previously mentioned commands and the next one in a terminal window (press Ctrl+Alt+T for the terminal window to pop-up). If there is no terminal emulator present on your system, you can install one using the Software Center and typing in as keyword terminal.

After you finish updating the system and reboot, you can run this command in the same terminal window:

  sudo update-grub

See whether grub recognizes your Windows OS, and if it does you're good to go, I mean you done half the job for Windows to finally boot-up. Next you should repair your windows installation with your Windows DVD, using the Repair your computer option, and after you finish with this one, you can download Boot Repair CD iso image and burn it on a regular CD or put it on USB key via Unetbootin. I assume you're using Windows 7 ?

Next you should restart your computer with Boot Repair CD in tray and after it finishes loading you can choose the 'Recommended Repair' option to finally fix your dual-boot configuration and be able to boot into both Windows and Ubuntu.

If grub does not see your Windows OS after running sudo update-grub, it could be because you installed grub on the Ubuntu partition, and you should do the same steps, namely repair Windows mbr with your bootable Windows DVD, and then use Boot Repair CD to fix your boot problems.

Almost forgot to mention that you should download the 64bit iso image for Boot Repair CD if you're using a 64bit system, and the 32bit iso image if you're using a 32bit OS.

share|improve this answer
    
ya i just realized that i didn't use this way, thanks :) –  Ozy Apr 18 at 14:30
    
Using grub repair I was able to set MBR as deafult (not sure the terminology is right) and after restarting I could boot straight into Windows. After doing this though, I tried to use boot repair, but again, at the next reboot, I could only see Ubuntu options in grub. Any idea? –  Akmur Apr 19 at 10:38
    
You managed to repair your boot issues, and you can boot into Ubuntu. Run sudo update-grub again and next time you reboot your PC, Windows should be present in the boot menu. I hope you used the Recommended Repair option provided by Boot Repair CD, after you fixed you windows mbr.. –  floppy Apr 19 at 11:18
    
I wasn't paying attention but did you say that you used Boot Repair CD to fix your Windows mbr? You should use Win7 DVD first to fix windows mbr, and only after that you can use Boot Repair CD and choose the Recommended Repair option. –  floppy Apr 19 at 11:22
add comment

I am not sure but this video in the link below may help you. http://m.youtube.com/#/watch?list=PL99ADC865431A3C3E&v=_lL2xc1P8yM

share|improve this answer
    
thank's but finally i can solve it just by updating grup. sudo update-grup -_- thank you very much sir –  Ozy Apr 18 at 13:54
add comment

I upgraded from 13.10 to 14.04 and lost Grub. I could boot into nothing and I could not fix it. I then used Gparted to erase everything (I had a triple boot setup Ubuntu/Win7/PC Linux O/S) and formatted to NTFS. I then reinstalled Windows with all updates and then Ubuntu 14.04 full install.... No Ubuntu. It boots into Windows and if Grub is there, it's ignoring it. I'm going to erase 14.04 and reinstall 13.10 but I don't hold out any hope that Grub will appear and I'm quite sure I'll be installing Windows and 13.10 again :-( This is a pain. I've never had this problem when upgrading before. I won't be using 14.04 anytime soon.

share|improve this answer
add comment

Your Answer

 
discard

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.