Error installing grub for ubuntu 12.10

Nils Kassube kassube at gmx.net
Sun Oct 21 08:13:54 UTC 2012


Vedang Patel wrote:
>  I am trying to install ubuntu 12.10. But, somehow there is some
> error while installing grub. So, I am not able to boot into ubuntu.
> I tried repairing it using boot-repair without any success. I also
> tried reinstalling it multiple times. I am using it side by side
> with Windows 7. Previously, I was using ubuntu 11.04 with windows 7
> without any problems. Please help with this issue. Following is the
> link generated by boot-repair.
> 
> http://paste.ubuntu.com/1294057/

I'm not sure, but to me it looks like grub tries to boot from sda1 while
it should boot from sda5:

| ============================= Boot Info Summary: ===============================
| 
|  => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of 
|     the same hard drive for core.img. core.img is at this location and looks 
|     for (,msdos1)/boot/grub on this drive.

I would try the following. Running the live system I would open a
terminal and use these commands:

sudo mount /dev/sda5 /mnt
sudo grub-install --root-directory=/mnt /dev/sda

Then reboot.


Nils




More information about the ubuntu-users mailing list