Problem using "grub-install /dev/sda" command

Hello guyz

I recently converted my hard disk form MBR to GPT disk style and now am facing problems using the command “grub-install /dev/sda”.

When i run it, i get the following error:

What could be the cause of this problem and how can i solve it.

Thanks for the help in advance.

Sorry for my slowness but here’s the solution for BIOS-GPT setup: before running grub-install create EF02 type partition on /dev/sda (or whatever partition that’ll contain boot record) from 34th to 2047th sectors. This partition should be created last.
Tested on Archlinux, openSUSE and Gentoo.
https://wiki.archlinux.org/index.php/GRUB#GUID_Partition_Table_.28GPT.29_specific_instructions

2 Likes