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've recently installed Ubuntu onto my laptop.

With the intention of dual booting with Windows 7.

On installation Grub wasn't loading, the computer continued to boot straight into windows.

I loaded a live cd, mounted the installed Ubuntu partition (sda6) as /mnt/ and windows boot partition as /mnt/boot

Following the second option here.

Through its entirety, so creating a new grub.cfg file.

chroot /mnt update-grub

Did not find Ubuntu, just Windows 7 and the Windows recovery partition. Thinking this might be a weird quirk that as I was in Ubuntu (all be it a Live CD) it might not list Ubuntu I restarted. Grub loaded but Ubuntu was nowhere to be seen.

How can I add Ubuntu with Grub2? I could have fixed this myself in old grub but I'm pretty much in the dark here.


share|improve this question

This section of the Ubuntu community GRUB 2 documentation lists other methods of reinstalling GRUB2 to your Master Boot Record. One of them will likely be effective. I recommend that you try the Boot-Repair graphical tool.

share|improve this answer
Thank you, this didn't quite work though as this wouldn't allow me to install grub onto the windows boot partition. But I did install it again onto the ubuntu partion and then copied the "grub.cfg" file to the grub install that I'd already achieved on the windows boot partition and it worked perfectly. Might have issues with future kernel updates though, I suspect. – Klaynos Nov 27 '11 at 17:14

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.