Ubuntu – Executing ‘grub-install /dev/sda5’ failed. This is a fatal error

dual-bootgrub2kubuntuwindows 7

I apologize in advance for my bad english.
I was trying to dual boot Windows 7 and Kubuntu 11.10, and i get this error 'Executing 'grub-install /dev/sda5' failed. This is a fatal error.'. every time when i try install GRUB on boot partition.Tried this on my desktop and laptop and always get this error.
Hope anyone can help.Thanks!

Best Answer

Grub is installed on the hard drive, not on the partition. I'm assuming you want to create a seperate partition to mount on /boot, but grub-install should be used on a drive (/dev/sda in this particular case), not on a partition.

As long as you set everything right (mountpoints, that is), grub-install will automatically detect your settings and adjust itself accordingly.

Related Question