Why does update-grub not find ubuntu 11.10?

Posted by Klaynos on Ask Ubuntu See other posts from Ask Ubuntu or by Klaynos
Published on 2011-11-26T00:14:30Z Indexed on 2011/11/26 2:08 UTC
Read the original article Hit count: 263

Filed under:
|
|
|

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 partion (sda6) as /mnt/ and windows boot partition as /mnt/boot

Following the second option here: http://ubuntuguide.net/how-to-restore-grub-2-after-reinstalling-windows-xpvistawin7

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

© Ask Ubuntu or respective owner

Related posts about 11.10

Related posts about grub