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'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.

Thanks

share|improve this question

1 Answer 1

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

 
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.